Repository navigation
Expand file tree
/
Copy pathbiome.json
More file actions
281 lines (281 loc) · 12 KB
/
Copy pathbiome.json
File metadata and controls
281 lines (281 loc) · 12 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
{
"$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"client/app/**/*.js",
"client/app/**/*.jsx",
"client/app/**/*.ts",
"client/app/**/*.tsx",
"client/visual-tests/**/*.ts",
"client/e2e/**/*.ts",
"client/e2e/**/*.js",
"viz-lib/src/**/*.ts",
"viz-lib/src/**/*.tsx",
"viz-lib/src/**/*.js",
"viz-lib/src/**/*.jsx"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"semicolons": "always",
"trailingCommas": "es5",
"arrowParentheses": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"quoteProperties": "asNeeded"
}
},
"linter": {
"enabled": true,
"rules": {
"preset": "none",
"a11y": {
"noAccessKey": "warn",
"noAmbiguousAnchorText": "off",
"noAriaUnsupportedElements": "warn",
"noAutofocus": "off",
"noDistractingElements": "warn",
"noHeaderScope": "warn",
"noInteractiveElementToNoninteractiveRole": "error",
"noLabelWithoutControl": "error",
"noNoninteractiveElementInteractions": "off",
"noNoninteractiveElementToInteractiveRole": "error",
"noNoninteractiveTabindex": "error",
"noPositiveTabindex": "error",
"noRedundantAlt": "warn",
"noRedundantRoles": "error",
"noStaticElementInteractions": "off",
"useAltText": "warn",
"useAnchorContent": "warn",
"useAriaActivedescendantWithTabindex": "warn",
"useAriaPropsForRole": "warn",
"useAriaPropsSupportedByRole": "warn",
"useFocusableInteractive": "error",
"useHeadingContent": "warn",
"useHtmlLang": "error",
"useIframeTitle": "warn",
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "error",
"useMediaCaption": "error",
"useValidAnchor": "off",
"useValidAriaProps": "warn",
"useValidAriaRole": {
"level": "warn",
"options": {
"ignoreNonDom": true
}
},
"useValidAriaValues": "warn",
"useValidAutocomplete": "error"
},
"complexity": {
"noAdjacentSpacesInRegex": "warn",
"noCommaOperator": "warn",
"noUselessConstructor": "warn",
"noUselessEscapeInRegex": "warn",
"noUselessLabel": "warn",
"noUselessLoneBlockStatements": "warn",
"noUselessRename": "warn",
"noUselessStringConcat": "warn",
"useLiteralKeys": "warn"
},
"correctness": {
"noConstAssign": "warn",
"noEmptyCharacterClassInRegex": "warn",
"noEmptyPattern": "warn",
"noGlobalObjectCalls": "warn",
"noInvalidUseBeforeDeclaration": "warn",
"noSelfAssign": "warn",
"noUndeclaredVariables": "error",
"noUnreachable": "warn",
"noUnreachableSuper": "warn",
"noUnusedLabels": "warn",
"noUnusedVariables": "warn",
"useExhaustiveDependencies": {
"level": "warn",
"options": {
"reportUnnecessaryDependencies": false
}
},
"useHookAtTopLevel": "error",
"useIsNan": "warn",
"useValidTypeof": "warn",
"useYield": "warn"
},
"security": {
"noBlankTarget": "warn",
"noDangerouslySetInnerHtmlWithChildren": "warn",
"noGlobalEval": "warn",
"noScriptUrl": "warn"
},
"style": {
"noMultilineString": "warn",
"noNestedTernary": "off",
"noRestrictedGlobals": {
"level": "error",
"options": {
"deniedGlobals": {
"addEventListener": "Use window.addEventListener instead; the bare global is easy to use by mistake.",
"blur": "Use window.blur instead; the bare global is easy to use by mistake.",
"close": "Use window.close instead; the bare global is easy to use by mistake.",
"closed": "Use window.closed instead; the bare global is easy to use by mistake.",
"confirm": "Use window.confirm instead; the bare global is easy to use by mistake.",
"defaultStatus": "Use window.defaultStatus instead; the bare global is easy to use by mistake.",
"defaultstatus": "Use window.defaultstatus instead; the bare global is easy to use by mistake.",
"event": "Use window.event instead; the bare global is easy to use by mistake.",
"external": "Use window.external instead; the bare global is easy to use by mistake.",
"find": "Use window.find instead; the bare global is easy to use by mistake.",
"focus": "Use window.focus instead; the bare global is easy to use by mistake.",
"frameElement": "Use window.frameElement instead; the bare global is easy to use by mistake.",
"frames": "Use window.frames instead; the bare global is easy to use by mistake.",
"history": "Use window.history instead; the bare global is easy to use by mistake.",
"innerHeight": "Use window.innerHeight instead; the bare global is easy to use by mistake.",
"innerWidth": "Use window.innerWidth instead; the bare global is easy to use by mistake.",
"length": "Use window.length instead; the bare global is easy to use by mistake.",
"location": "Use window.location instead; the bare global is easy to use by mistake.",
"locationbar": "Use window.locationbar instead; the bare global is easy to use by mistake.",
"menubar": "Use window.menubar instead; the bare global is easy to use by mistake.",
"moveBy": "Use window.moveBy instead; the bare global is easy to use by mistake.",
"moveTo": "Use window.moveTo instead; the bare global is easy to use by mistake.",
"name": "Use window.name instead; the bare global is easy to use by mistake.",
"onblur": "Use window.onblur instead; the bare global is easy to use by mistake.",
"onerror": "Use window.onerror instead; the bare global is easy to use by mistake.",
"onfocus": "Use window.onfocus instead; the bare global is easy to use by mistake.",
"onload": "Use window.onload instead; the bare global is easy to use by mistake.",
"onresize": "Use window.onresize instead; the bare global is easy to use by mistake.",
"onunload": "Use window.onunload instead; the bare global is easy to use by mistake.",
"open": "Use window.open instead; the bare global is easy to use by mistake.",
"opener": "Use window.opener instead; the bare global is easy to use by mistake.",
"opera": "Use window.opera instead; the bare global is easy to use by mistake.",
"outerHeight": "Use window.outerHeight instead; the bare global is easy to use by mistake.",
"outerWidth": "Use window.outerWidth instead; the bare global is easy to use by mistake.",
"pageXOffset": "Use window.pageXOffset instead; the bare global is easy to use by mistake.",
"pageYOffset": "Use window.pageYOffset instead; the bare global is easy to use by mistake.",
"parent": "Use window.parent instead; the bare global is easy to use by mistake.",
"print": "Use window.print instead; the bare global is easy to use by mistake.",
"removeEventListener": "Use window.removeEventListener instead; the bare global is easy to use by mistake.",
"resizeBy": "Use window.resizeBy instead; the bare global is easy to use by mistake.",
"resizeTo": "Use window.resizeTo instead; the bare global is easy to use by mistake.",
"screen": "Use window.screen instead; the bare global is easy to use by mistake.",
"screenLeft": "Use window.screenLeft instead; the bare global is easy to use by mistake.",
"screenTop": "Use window.screenTop instead; the bare global is easy to use by mistake.",
"screenX": "Use window.screenX instead; the bare global is easy to use by mistake.",
"screenY": "Use window.screenY instead; the bare global is easy to use by mistake.",
"scroll": "Use window.scroll instead; the bare global is easy to use by mistake.",
"scrollBy": "Use window.scrollBy instead; the bare global is easy to use by mistake.",
"scrollTo": "Use window.scrollTo instead; the bare global is easy to use by mistake.",
"scrollX": "Use window.scrollX instead; the bare global is easy to use by mistake.",
"scrollY": "Use window.scrollY instead; the bare global is easy to use by mistake.",
"scrollbars": "Use window.scrollbars instead; the bare global is easy to use by mistake.",
"self": "Use window.self instead; the bare global is easy to use by mistake.",
"status": "Use window.status instead; the bare global is easy to use by mistake.",
"statusbar": "Use window.statusbar instead; the bare global is easy to use by mistake.",
"stop": "Use window.stop instead; the bare global is easy to use by mistake.",
"toolbar": "Use window.toolbar instead; the bare global is easy to use by mistake.",
"top": "Use window.top instead; the bare global is easy to use by mistake."
}
}
},
"noRestrictedImports": {
"level": "error",
"options": {
"paths": {
"antd": "Please use 'import XXX from antd/lib/XXX' import instead.",
"antd/lib": "Please use 'import XXX from antd/lib/XXX' import instead."
}
}
},
"useArrayLiterals": "warn",
"useBlockStatements": "off",
"useConsistentBuiltinInstantiation": "warn",
"useDefaultSwitchClause": "off",
"useThrowOnlyError": "warn"
},
"suspicious": {
"noAssignInExpressions": "warn",
"noCatchAssign": "warn",
"noCommentText": "warn",
"noConfusingLabels": "warn",
"noConsole": {
"level": "warn",
"options": {
"allow": ["warn", "error"]
}
},
"noControlCharactersInRegex": "warn",
"noDebugger": "error",
"noDoubleEquals": "warn",
"noDuplicateCase": "warn",
"noDuplicateClassMembers": "warn",
"noDuplicateJsxProps": "warn",
"noDuplicateObjectKeys": "warn",
"noDuplicateParameters": "warn",
"noFallthroughSwitchClause": "warn",
"noFunctionAssign": "warn",
"noGlobalAssign": "warn",
"noLabelVar": "warn",
"noOctalEscape": "warn",
"noRedeclare": "warn",
"noSelfCompare": "warn",
"noShadowRestrictedNames": "off",
"noSparseArray": "warn",
"noTemplateCurlyInString": "warn",
"noUnsafeNegation": "warn",
"noUnusedExpressions": "error",
"noWith": "warn",
"useGetterReturn": "warn",
"useIterableCallbackReturn": {
"level": "warn",
"options": {}
},
"noFocusedTests": "error",
"noDuplicateTestHooks": "error",
"noExportsInTest": "error"
}
}
},
"assist": {
"enabled": false
},
"overrides": [
{
"includes": ["**/*.ts", "**/*.tsx"],
"linter": {
"rules": {
"complexity": {
"noUselessConstructor": "error"
},
"suspicious": {
"noExplicitAny": "off"
}
}
}
},
{
"includes": ["**/*.test.*", "**/__tests__/**", "**/tests/**"],
"javascript": {
"globals": ["describe", "test", "it", "expect", "jest", "beforeEach", "beforeAll", "afterEach", "afterAll"]
}
},
{
"includes": ["viz-lib/**"],
"linter": {
"enabled": false
}
}
]
}