-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbiome.json
More file actions
118 lines (118 loc) · 3.25 KB
/
biome.json
File metadata and controls
118 lines (118 loc) · 3.25 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"ignore": [
".next",
"node_modules",
"src/static",
".mypy_cache",
"openai-chat"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"formatWithErrors": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noAriaHiddenOnFocusable": "off",
"noAutofocus": "off",
"noBlankTarget": "error",
"noNoninteractiveElementToInteractiveRole": "off",
"noNoninteractiveTabindex": "off",
"noPositiveTabindex": "off",
"noSvgWithoutTitle": "off",
"useAltText": "off",
"useButtonType": "off",
"useHtmlLang": "off",
"useIframeTitle": "off",
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "off",
"useValidAnchor": "off"
},
"complexity": {
"noBannedTypes": "off",
"noExtraBooleanCast": "error",
"noForEach": "off",
"noStaticOnlyClass": "error",
"noUselessCatch": "error",
"noUselessConstructor": "error",
"noUselessFragments": "off",
"noUselessRename": "error",
"noUselessSwitchCase": "error",
"useArrowFunction": "error",
"useLiteralKeys": "off",
"useOptionalChain": "error"
},
"correctness": {
"noConstantCondition": "error",
"noEmptyPattern": "error",
"noSwitchDeclarations": "error",
"noUnreachable": "error",
"noUnsafeOptionalChaining": "error",
"useExhaustiveDependencies": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
},
"security": {
"noDangerouslySetInnerHtml": "error"
},
"style": {
"noCommaOperator": "error",
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"useConst": "error",
"useDefaultParameterLast": "off",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"useTemplate": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noAssignInExpressions": "error",
"noAsyncPromiseExecutor": "error",
"noConfusingVoidType": "off",
"noControlCharactersInRegex": "error",
"noDoubleEquals": "error",
"noDuplicateJsxProps": "error",
"noDuplicateObjectKeys": "error",
"noEmptyInterface": "error",
"noExplicitAny": "off",
"noFallthroughSwitchClause": "error",
"noGlobalIsNan": "error",
"noImplicitAnyLet": "off",
"noPrototypeBuiltins": "error",
"noRedeclare": "error",
"noRedundantUseStrict": "error",
"noSelfCompare": "error",
"noShadowRestrictedNames": "off",
"useDefaultSwitchClauseLast": "error",
"useValidTypeof": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"lineEnding": "lf"
}
}
}