Skip to content

Commit

Permalink
chore: eslint to biome
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward committed Jun 7, 2024
1 parent c93fd3d commit df801b7
Show file tree
Hide file tree
Showing 11 changed files with 409 additions and 1,687 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
- name: npm ci
run: |
npm ci
- name: npm lint
- name: npm check
run: |
npm run lint
npm run check
38 changes: 38 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
"files": {
"ignore": [
"src/lsp_ext.ts"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"useLiteralKeys": "off"
},
"style": {
"useNumberNamespace": "off",
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "off"
}
}
}
}
Loading

0 comments on commit df801b7

Please sign in to comment.