Skip to content

Commit

Permalink
chore: tweak Biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Apr 8, 2024
1 parent 9bee6c6 commit 35a7faf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: lts/*
- run: npm ci
- run: npm run check
- run: npx biome ci .

test-types:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
Expand Down
4 changes: 4 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
}
},

"organizeImports": {
"enabled": true
},

"overrides": [
{
"include": ["test/**"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"index.js"
],
"scripts": {
"check": "biome check .",
"check": "biome check . --apply",
"format": "biome format . --write",
"test": "mocha",
"test:coverage": "c8 --config c8.config.json npm run test",
Expand Down

0 comments on commit 35a7faf

Please sign in to comment.