Skip to content

Commit 33d2c5a

Browse files
committed
Replace eslint with biome
1 parent d549814 commit 33d2c5a

File tree

4 files changed

+275
-1337
lines changed

4 files changed

+275
-1337
lines changed

.eslintrc.js

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

biome.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.0.0/schema.json",
3+
"formatter": {
4+
"indentStyle": "space",
5+
"indentWidth": 2
6+
},
7+
"javascript": {
8+
"formatter": {
9+
"trailingComma": "es5"
10+
}
11+
},
12+
"linter": {
13+
"enabled": true,
14+
"rules": {
15+
"a11y": {
16+
"useAltText": "off",
17+
"useMediaCaption": "off",
18+
"noSvgWithoutTitle": "off"
19+
},
20+
"performance": {
21+
"noAccumulatingSpread": "off"
22+
},
23+
"suspicious": {
24+
"noArrayIndexKey": "off",
25+
"noExplicitAny": "off"
26+
},
27+
"complexity": {
28+
"useOptionalChain": "off"
29+
}
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)