-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbiome.jsonc
More file actions
99 lines (99 loc) · 2.8 KB
/
biome.jsonc
File metadata and controls
99 lines (99 loc) · 2.8 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
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["ultracite/biome/core"],
"linter": {
"enabled": true,
"includes": ["**"],
"rules": {
"recommended": true,
"suspicious": {
"noShadowRestrictedNames": "off",
"useGuardForIn": "off",
"noRedeclare": "off",
"noEmptyBlockStatements": "off",
"useIterableCallbackReturn": "off",
"useAwait": "off",
"noExplicitAny": "off",
"noTemplateCurlyInString": "off",
"noArrayIndexKey": "off",
"noDocumentCookie": "off",
"noControlCharactersInRegex": "off"
},
"style": {
"noUnusedTemplateLiteral": "off",
"useCollapsedIf": "off",
"useDefaultSwitchClause": "off",
"noParameterAssign": "off",
"useBlockStatements": "off",
"useCollapsedElseIf": "off",
"useTemplate": "off",
"useDefaultParameterLast": "off",
"noUselessElse": "off",
"noNonNullAssertion": "off",
"noParameterProperties": "off",
"noNestedTernary": "off",
"useAsConstAssertion": "off",
"useEnumInitializers": "off",
"useSelfClosingElements": "off",
"useSingleVarDeclarator": "off",
"useNumberNamespace": "off",
"noInferrableTypes": "off",
"useForOf": "off",
"noExportedImports": "off",
"noNamespace": "off",
"useFilenamingConvention": "off"
},
"correctness": {
"noUndeclaredDependencies": "off",
"noUndeclaredVariables": "off",
"noUnusedVariables": "off",
"noUnusedFunctionParameters": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useButtonType": "off",
"useFocusableInteractive": "off",
"useSemanticElements": "off",
"useAriaPropsForRole": "off"
},
"performance": {
"useTopLevelRegex": "off",
"noBarrelFile": "off",
"noNamespaceImport": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"complexity": {
"noForEach": "off",
"noCommaOperator": "off",
"noUselessStringConcat": "off",
"noExcessiveCognitiveComplexity": "off",
"noBannedTypes": "off",
"noUselessLoneBlockStatements": "off",
"useOptionalChain": "off",
"noUselessStringRaw": "off",
"noVoid": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"attributePosition": "auto",
"formatWithErrors": true,
"lineEnding": "lf",
"indentWidth": 2,
"lineWidth": 100
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteStyle": "double"
},
"globals": ["React", "Bun"],
"parser": {
"unsafeParameterDecoratorsEnabled": true
}
}
}