Skip to content

Commit 7ac16a6

Browse files
committed
chore: Switch from eslint to biome
1 parent 07c66c3 commit 7ac16a6

File tree

7 files changed

+14787
-18281
lines changed

7 files changed

+14787
-18281
lines changed

.eslintcache

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm ci
20-
- run: npm run lint:errors
20+
- run: npm run lint:ci
2121
- run: npm run build
2222
- run: npm run test
2323
env:

biome.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": ["__fixtures__"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true,
23+
"suspicious": {
24+
"noImplicitAnyLet": "off",
25+
"noExplicitAny": "off"
26+
},
27+
"complexity": {
28+
"noForEach": "off"
29+
},
30+
"performance": {
31+
"noDelete": "off"
32+
}
33+
}
34+
},
35+
"javascript": {
36+
"formatter": {
37+
"quoteStyle": "double"
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)