-
-
Notifications
You must be signed in to change notification settings - Fork 839
Expand file tree
/
Copy pathbiome.json
More file actions
199 lines (199 loc) · 7.59 KB
/
biome.json
File metadata and controls
199 lines (199 loc) · 7.59 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
{
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useSemanticElements": "off",
"useKeyWithClickEvents": "off",
"noStaticElementInteractions": "off"
},
"correctness": {
"noUnsafeOptionalChaining": "off",
"useExhaustiveDependencies": "off",
"noUnusedImports": "warn",
"useJsxKeyInIterable": "off",
"useHookAtTopLevel": "off",
"noUnusedFunctionParameters": "off",
"noUnusedVariables": "warn"
},
"complexity": {
"noBannedTypes": "off",
"noUselessConstructor": "off",
"useOptionalChain": "warn",
"noStaticOnlyClass": "off",
"noForEach": "off",
"noUselessFragments": "off"
},
"style": {
"noNonNullAssertion": "off",
"noInferrableTypes": "off",
"noUnusedTemplateLiteral": "off",
"useSingleVarDeclarator": "off",
"noUselessElse": "off",
"useNodejsImportProtocol": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noExtraNonNullAssertion": "off",
"noRedeclare": "off",
"noPrototypeBuiltins": "off",
"noConfusingVoidType": "off",
"noArrayIndexKey": "off",
"noThenProperty": "off",
"noExportsInTest": "off",
"noNonNullAssertedOptionalChain": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
}
}
},
"assist": { "actions": { "source": { "organizeImports": "off" } } },
"formatter": {
"indentStyle": "space",
"indentWidth": 4
},
"javascript": {
"formatter": {
"semicolons": "always",
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"indentWidth": 4
}
},
"json": {
"formatter": {
"indentWidth": 2
}
},
"overrides": [
{
"linter": {
"rules": {
"correctness": {
"useHookAtTopLevel": "off"
}
}
}
},
{
"includes": [
"frontend/**",
"!frontend/src/component/**",
"frontend/src/component/banners/**",
"frontend/src/component/featureTypes/**",
"frontend/src/component/feedbackNew/**",
"frontend/src/component/loginHistory/**",
"frontend/src/component/maintenance/**",
"frontend/src/component/menu/**",
"frontend/src/component/signup/**",
"frontend/src/component/tags/**",
"frontend/src/component/unknownFlags/**",
"frontend/src/component/feature/CopyFeature/**",
"frontend/src/component/feature/CreateFeatureButton/**",
"frontend/src/component/feature/EditFeature/**",
"frontend/src/component/feature/FeatureForm/**",
"frontend/src/component/feature/FeatureNamingPatternInfo/**",
"frontend/src/component/feature/FeatureStrategy/FeatureStrategyConstraints/**",
"frontend/src/component/feature/hooks/**",
"frontend/src/component/events/EventCard/**",
"frontend/src/component/events/EventDiff/**",
"frontend/src/component/events/EventJson/**",
"frontend/src/component/events/EventPage/**",
"frontend/src/component/admin/apiToken/**",
"frontend/src/component/admin/auth/**",
"frontend/src/component/admin/cors/**",
"frontend/src/component/admin/enterprise-edge/**",
"frontend/src/component/admin/instance-admin/**",
"frontend/src/component/admin/instance-privacy/**",
"frontend/src/component/admin/license/**",
"frontend/src/component/admin/maintenance/**",
"frontend/src/component/admin/changeRequest/ChangeRequestConfirmDialog/**",
"frontend/src/component/admin/changeRequest/ChangeRequestOverview/**",
"frontend/src/component/admin/changeRequest/ChangeRequestSidebar/**",
"frontend/src/component/admin/changeRequest/ChangeRequestStatusBadge/**",
"frontend/src/component/admin/changeRequest/ChangeRequests/**",
"frontend/src/component/admin/changeRequest/ModifiedInChangeRequestStatusBadge/**",
"frontend/src/component/common/**",
"!frontend/src/component/common/Announcer/**",
"!frontend/src/component/common/ApiTokenTable/**",
"!frontend/src/component/common/ConstraintsList/**",
"!frontend/src/component/common/ExperimentalFeedback/**",
"!frontend/src/component/common/FeatureArchiveDialog/**",
"!frontend/src/component/common/FilterDateItem/**",
"!frontend/src/component/common/InstanceStatus/**",
"!frontend/src/component/common/ReleaseTemplatesBanner/**",
"!frontend/src/component/common/Search/**",
"!frontend/src/component/common/Sticky/**",
"!frontend/src/component/common/Table/**",
"!frontend/src/component/common/TimeAgo/**",
"!frontend/src/component/common/ToastRenderer/**",
"!frontend/src/component/common/Truncator/**",
"frontend/src/component/project/ProjectCard/**",
"frontend/src/component/project/ProjectId/**",
"frontend/src/component/project/Project/ArchiveProject/**",
"frontend/src/component/project/Project/DeleteProject/**",
"frontend/src/component/project/Project/HiddenProjectIconWithTooltip/**",
"frontend/src/component/project/Project/ProjectForm/**",
"frontend/src/component/project/Project/ProjectInfo/**",
"frontend/src/component/project/Project/ProjectLog/**",
"frontend/src/component/project/Project/ProjectStats/**",
"frontend/src/component/project/Project/ProjectStatus/**",
"frontend/src/component/project/Project/hooks/**",
"frontend/src/component/project/Project/ProjectSettings/ProjectApiAccess/**",
"frontend/src/component/project/Project/ProjectSettings/ProjectSegments/**",
"frontend/src/hooks/api/actions/**",
"!frontend/src/hooks/api/actions/useApi/**",
"!frontend/src/hooks/api/actions/useDependentFeaturesApi/**",
"!frontend/src/hooks/api/actions/useFavoriteFeaturesApi/**",
"!frontend/src/hooks/api/actions/useFavoriteProjectsApi/**",
"!frontend/src/hooks/api/actions/useFeatureLinkApi/**",
"!frontend/src/hooks/api/actions/useImpactMetricsApi/**",
"frontend/src/hooks/api/getters/**",
"!frontend/src/hooks/api/getters/useApi/**",
"!frontend/src/hooks/api/getters/useDependentFeaturesApi/**",
"!frontend/src/hooks/api/getters/useFavoriteFeaturesApi/**",
"!frontend/src/hooks/api/getters/useFavoriteProjectsApi/**",
"!frontend/src/hooks/api/getters/useFeatureLinkApi/**",
"!frontend/src/hooks/api/getters/useImpactMetricsApi/**",
"!frontend/src/hooks/api/getters/useTrafficBundles/**",
"!frontend/src/hooks/api/getters/useFeatureSearch/**",
"!frontend/src/hooks/api/getters/useEventSearch/**",
"!frontend/src/hooks/api/getters/useConstraintsValidation/**",
"!frontend/src/hooks/api/getters/useAddons/**",
"!frontend/src/hooks/*"
],
"linter": {
"rules": {
"correctness": {
"useExhaustiveDependencies": "warn"
}
}
}
}
],
"files": {
"includes": [
"**",
"!**/node_modules",
"!**/docker",
"!**/bundle.js",
"!**/website",
"!**/setupJest.js",
"!**/dist",
"!**/build",
"!**/src/migrations/**/*.js",
"!**/src/test/examples/**/*.json",
"!**/.docusaurus",
"!**/coverage",
"!**/CHANGELOG.md",
"!package.json",
"!frontend/package.json",
"!src/migrations/package.json",
"!**/.vite"
]
}
}