-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbiome.json
More file actions
153 lines (153 loc) · 5.18 KB
/
Copy pathbiome.json
File metadata and controls
153 lines (153 loc) · 5.18 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
{
"$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
"root": true,
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": ["**"]
}
}
}
}
},
"linter": {
"enabled": true,
"domains": {
"project": "recommended",
"test": "recommended"
},
"rules": {
"recommended": true,
"performance": {
"noDelete": "error",
"noBarrelFile": "error",
"noAccumulatingSpread": "error",
"useTopLevelRegex": "error",
"noDynamicNamespaceImportAccess": "error",
"noNamespaceImport": "error",
"noReExportAll": "error"
},
"a11y": {
"recommended": true
},
"security": {
"recommended": true,
"noSecrets": "off"
},
"nursery": {
"useExplicitType": "off",
"useSortedClasses": { "level": "on", "fix": "safe", "options": {} }
},
"correctness": {
"useImportExtensions": "off",
"noUnusedImports": { "level": "error", "fix": "safe", "options": {} }
},
"style": {
"noImplicitBoolean": "off",
"useDefaultSwitchClause": "off",
"useNamingConvention": {
"level": "warn",
"options": {
"strictCase": true,
"requireAscii": false,
"conventions": [
{ "selector": { "kind": "enumMember" }, "formats": ["CONSTANT_CASE"] },
{
"selector": { "kind": "function", "scope": "global" },
"formats": ["camelCase", "PascalCase", "CONSTANT_CASE"]
},
{ "selector": { "kind": "function" }, "formats": ["camelCase", "PascalCase"] },
{ "selector": { "kind": "class" }, "formats": ["PascalCase"] },
{ "selector": { "kind": "interface" }, "formats": ["PascalCase"] },
{ "selector": { "kind": "typeAlias" }, "formats": ["PascalCase"] },
{ "selector": { "kind": "typeParameter" }, "formats": ["PascalCase"] },
{
"selector": { "kind": "const", "scope": "global" },
"formats": ["CONSTANT_CASE", "camelCase", "PascalCase"]
},
{ "selector": { "kind": "const" }, "formats": ["camelCase", "PascalCase"] },
{ "selector": { "kind": "enum" }, "formats": ["PascalCase"] },
{ "selector": { "kind": "catchParameter" }, "formats": ["camelCase"] },
{ "selector": { "kind": "classMember" }, "formats": ["camelCase"] },
{ "selector": { "kind": "typeMember" }, "formats": ["camelCase"] },
{ "selector": { "kind": "functionParameter" }, "formats": ["camelCase"] },
{ "selector": { "kind": "namespaceLike" }, "formats": ["PascalCase"] },
{ "selector": { "kind": "importAlias" }, "formats": ["PascalCase", "camelCase", "CONSTANT_CASE"] },
{ "selector": { "kind": "any" }, "formats": ["camelCase"] }
]
}
},
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useComponentExportOnlyModules": "off",
"noEnum": "off",
"useConsistentMemberAccessibility": "off",
"useConsistentCurlyBraces": "off"
},
"suspicious": {
"noConsole": { "level": "warn", "options": { "allow": ["debug", "info", "warn", "error"] } },
"noReactSpecificProps": "off",
"noEmptyBlockStatements": "warn",
"noFocusedTests": "error",
"noImportCycles": "off"
},
"complexity": {
"useSimplifiedLogicExpression": "error",
"noExcessiveCognitiveComplexity": { "level": "warn", "options": { "maxAllowedComplexity": 25 } },
"noUselessFragments": { "level": "on", "fix": "safe", "options": {} }
}
}
},
"formatter": { "enabled": true, "lineWidth": 120, "indentStyle": "space" },
"javascript": {
"formatter": { "enabled": true, "quoteStyle": "single", "arrowParentheses": "always", "bracketSameLine": false },
"linter": { "enabled": true }
},
"json": {
"formatter": {
"enabled": true,
"trailingCommas": "none",
"indentStyle": "space",
"lineWidth": 120,
"indentWidth": 2,
"bracketSpacing": true,
"expand": "auto",
"lineEnding": "lf"
},
"linter": { "enabled": true },
"assist": { "enabled": true }
},
"css": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120,
"indentWidth": 2,
"lineEnding": "lf",
"quoteStyle": "double"
},
"linter": { "enabled": true },
"assist": { "enabled": true }
},
"files": {
"includes": ["**", "!**/*.css", "!**/dist", "!**/.next"]
}
}