Skip to content

Commit

Permalink
🩹 chore(ci): Use biome check instead of biome format
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Sep 20, 2023
1 parent a18120a commit 1f233d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
run: pnpm run lint:check

- name: Check order in package.json
if: success() || failure() # Run even if linting fails
if: success() || failure() # Run even if the previous step fails
run: pnpm run sort-package-json:check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"scripts": {
"build": "turbo build",
"preinstall": "npx only-allow pnpm",
"lint": "biome format . --write",
"lint": "biome check . --apply",
"lint:check": "biome check .",
"lint:unsafe": "biome check . --apply-unsafe",
"prepare": "husky install",
"sort-package-json": "sort-package-json 'package.json' 'packages/*/package.json' 'examples/*/package.json'",
"sort-package-json:check": "sort-package-json 'package.json' 'packages/*/package.json' 'examples/*/package.json' --check"
Expand Down

0 comments on commit 1f233d5

Please sign in to comment.