-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbiome.json
More file actions
153 lines (153 loc) · 4.49 KB
/
Copy pathbiome.json
File metadata and controls
153 lines (153 loc) · 4.49 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": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
"includes": ["**", "!!**/dist", "!!**/node_modules", "!!package.json"]
},
"formatter": { "enabled": true, "indentStyle": "space" },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noAdjacentSpacesInRegex": "error",
"noExtraBooleanCast": "error",
"noUselessCatch": "error",
"noUselessContinue": "error",
"noUselessEscapeInRegex": "error",
"noUselessTypeConstraint": "error",
"useOptionalChain": "error",
"noUselessSwitchCase": "off",
"useLiteralKeys": "off",
"noBannedTypes": "off"
},
"correctness": {
"noConstAssign": "error",
"noConstantCondition": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "error",
"noGlobalObjectCalls": "error",
"noInvalidBuiltinInstantiation": "error",
"noInvalidConstructorSuper": "error",
"noNonoctalDecimalEscape": "error",
"noPrecisionLoss": "error",
"noSelfAssign": "error",
"noSetterReturn": "error",
"noSwitchDeclarations": "error",
"noUndeclaredVariables": "error",
"noUnreachable": "error",
"noUnreachableSuper": "error",
"noUnsafeFinally": "error",
"noUnsafeOptionalChaining": "error",
"noUnusedLabels": "error",
"noUnusedPrivateClassMembers": "error",
"noUnusedVariables": "error",
"useIsNan": "error",
"useValidForDirection": "error",
"useValidTypeof": "error",
"useYield": "error"
},
"security": {
"noSecrets": {
"level": "error",
"options": {
"entropyThreshold": 60
}
}
},
"style": {
"noCommonJs": "error",
"noNamespace": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "off",
"useConst": "error",
"noNonNullAssertion": "off",
"useImportType": "off",
"useNodejsImportProtocol": "error",
"useTemplate": "off"
},
"suspicious": {
"noAlert": "error",
"noAsyncPromiseExecutor": "error",
"noCatchAssign": "error",
"noClassAssign": "error",
"noCompareNegZero": "error",
"noConsole": "warn",
"noConstantBinaryExpressions": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateElseIf": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "error",
"noExplicitAny": "error",
"noExtraNonNullAssertion": "error",
"noFallthroughSwitchClause": "error",
"noFunctionAssign": "error",
"noGlobalAssign": "error",
"noImportAssign": "error",
"noIrregularWhitespace": "error",
"noMisleadingCharacterClass": "error",
"noMisleadingInstantiator": "error",
"noNonNullAssertedOptionalChain": "error",
"noPrototypeBuiltins": "error",
"noRedeclare": "error",
"noShadowRestrictedNames": "error",
"noSparseArray": "error",
"noUnsafeDeclarationMerging": "error",
"noUnsafeNegation": "error",
"noUselessRegexBackrefs": "error",
"noVar": "error",
"noWith": "error",
"useGetterReturn": "error",
"useNamespaceKeyword": "error",
"useIterableCallbackReturn": "error",
"noDoubleEquals": "error",
"noImplicitAnyLet": "error",
"noGlobalIsNan": "error",
"noTsIgnore": "error"
},
"a11y": "off"
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"lineEnding": "lf",
"semicolons": "always",
"indentStyle": "space"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["**/tools/load-testing/**/*.ts"],
"linter": {
"rules": {
"suspicious": {
"noConsole": "off"
}
}
}
},
{
"includes": ["**/tools/load-testing/k6/**/*.js"],
"linter": {
"rules": {
"correctness": {
"noUndeclaredVariables": "off"
}
}
}
}
]
}