-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbiome.json
68 lines (68 loc) · 1.79 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"formatter": {
"lineWidth": 80,
"indentWidth": 2,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
},
"files": {
"ignore": ["node_modules", "public", "helpers", "*.js"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"noBannedTypes": "warn",
"useOptionalChain": "warn",
"noUselessFragments": "warn",
"noStaticOnlyClass": "warn",
"noThisInStatic": "warn",
"noUselessSwitchCase": "warn",
"noUselessConstructor": "warn",
"useFlatMap": "warn",
"useArrowFunction": "warn"
},
"performance": {
"noAccumulatingSpread": "warn",
"noDelete": "warn"
},
"suspicious": {
"noImplicitAnyLet": "warn",
"noExplicitAny": "warn",
"noArrayIndexKey": "warn",
"noShadowRestrictedNames": "warn",
"noAsyncPromiseExecutor": "warn",
"noAssignInExpressions": "warn",
"noEmptyInterface": "warn",
"noConfusingVoidType": "warn"
},
"correctness": {
"useExhaustiveDependencies": "warn"
},
"style": {
"noArguments": "warn",
"noNonNullAssertion": "warn",
"noParameterAssign": "warn",
"useEnumInitializers": "warn",
"noUnusedTemplateLiteral": "warn",
"useSelfClosingElements": "warn"
},
"a11y": {
"useValidAnchor": "warn",
"useAnchorContent": "warn",
"noSvgWithoutTitle": "warn",
"useKeyWithClickEvents": "warn",
"noBlankTarget": "warn",
"useIframeTitle": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
}
}
}
}