Skip to content

Commit

Permalink
Merge pull request #19 from smikitky/biome
Browse files Browse the repository at this point in the history
Use Biome for Linter/Formatter
  • Loading branch information
smikitky authored Apr 4, 2024
2 parents ba1cb68 + 3d5a3fe commit 589855c
Show file tree
Hide file tree
Showing 15 changed files with 502 additions and 138 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run ci
- run: npm run build
27 changes: 27 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"formatter": {
"formatWithErrors": true
},
"json": {
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
},
"javascript": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"quoteStyle": "single",
"arrowParentheses": "asNeeded",
"trailingComma": "none"
}
},
"organizeImports": {
"enabled": true,
"include": [
"src/**/*.ts"
]
}
}
Loading

0 comments on commit 589855c

Please sign in to comment.