-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
biome.json
49 lines (49 loc) · 935 Bytes
/
biome.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"$schema": "https://biomejs.dev/schemas/1.4.0/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": [
"**/*.js",
"install.ztnet/**/*",
".devcontainer/**/*"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 90,
"ignore": [
"src/locales/**/*.json"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useSelfClosingElements": "off",
"noNonNullAssertion": "off"
},
"a11y": {
"noNoninteractiveTabindex": "off",
"useButtonType": "off",
"noSvgWithoutTitle": "off",
"useValidAnchor": "off",
"useKeyWithMouseEvents": "off",
"useKeyWithClickEvents": "off"
},
"suspicious": {
"noCommentText": "warn",
"noConsoleLog": "error",
"noExplicitAny": "error"
},
"correctness": {
"noUnusedVariables": "error"
}
}
}
}