@ethang/eslint-config 19.0.11 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/build/update-readme.js +107 -31
- package/build/update-rules.js +86 -26
- package/eslint.config.js +1695 -1664
- package/package.json +6 -1
- package/setup/json.js +7 -0
- package/setup/markdown.js +7 -0
package/eslint.config.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import parser from "@typescript-eslint/parser";
|
|
1
|
+
import { ignores } from "./constants.js";
|
|
3
2
|
import a11y from "eslint-plugin-jsx-a11y/lib/index.js";
|
|
4
|
-
import n from "eslint-plugin-n";
|
|
5
|
-
import unicorn from "eslint-plugin-unicorn";
|
|
6
|
-
import tseslint from "typescript-eslint";
|
|
7
|
-
import sonar from "eslint-plugin-sonarjs";
|
|
8
|
-
import tanstack from "@tanstack/eslint-plugin-query";
|
|
9
|
-
import perfectionist from "eslint-plugin-perfectionist";
|
|
10
|
-
import depend from "eslint-plugin-depend";
|
|
11
3
|
import barrel from "eslint-plugin-barrel-files";
|
|
12
4
|
import compat from "eslint-plugin-compat";
|
|
5
|
+
import depend from "eslint-plugin-depend";
|
|
6
|
+
import json from "@eslint/json";
|
|
13
7
|
import lodashConfig from "eslint-plugin-lodash";
|
|
14
|
-
import
|
|
8
|
+
import markdown from "@eslint/markdown";
|
|
9
|
+
import n from "eslint-plugin-n";
|
|
10
|
+
import parser from "@typescript-eslint/parser";
|
|
11
|
+
import perfectionist from "eslint-plugin-perfectionist";
|
|
12
|
+
import sonar from "eslint-plugin-sonarjs";
|
|
15
13
|
import stylistic from "@stylistic/eslint-plugin";
|
|
16
|
-
import
|
|
14
|
+
import tailwind from "eslint-plugin-tailwindcss";
|
|
15
|
+
import tanstack from "@tanstack/eslint-plugin-query";
|
|
16
|
+
import tseslint from "typescript-eslint";
|
|
17
|
+
import unicorn from "eslint-plugin-unicorn";
|
|
17
18
|
|
|
18
19
|
export const languageOptions = {
|
|
19
20
|
parser,
|
|
@@ -23,1658 +24,1688 @@ export const languageOptions = {
|
|
|
23
24
|
},
|
|
24
25
|
};
|
|
25
26
|
|
|
26
|
-
export default tseslint.config(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
export default tseslint.config(
|
|
28
|
+
{
|
|
29
|
+
files: ["**/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts}"],
|
|
30
|
+
ignores,
|
|
31
|
+
languageOptions,
|
|
32
|
+
plugins: {
|
|
33
|
+
"@tanstack/query": tanstack,
|
|
34
|
+
"@typescript-eslint": tseslint.plugin,
|
|
35
|
+
a11y,
|
|
36
|
+
barrel,
|
|
37
|
+
compat,
|
|
38
|
+
depend,
|
|
39
|
+
lodash: lodashConfig,
|
|
40
|
+
n,
|
|
41
|
+
perfectionist,
|
|
42
|
+
sonar,
|
|
43
|
+
stylistic,
|
|
44
|
+
tailwind,
|
|
45
|
+
unicorn,
|
|
46
|
+
},
|
|
47
|
+
rules: {
|
|
48
|
+
"depend/ban-dependencies": ["error", { allowed: ["lodash"] }],
|
|
49
|
+
"barrel/avoid-barrel-files": "error",
|
|
50
|
+
"barrel/avoid-importing-barrel-files": "error",
|
|
51
|
+
"barrel/avoid-namespace-import": "error",
|
|
52
|
+
"barrel/avoid-re-export-all": "error",
|
|
53
|
+
"compat/compat": "error",
|
|
54
|
+
"accessor-pairs": "error",
|
|
55
|
+
"array-callback-return": "error",
|
|
56
|
+
"arrow-body-style": ["error", "always"],
|
|
57
|
+
"block-scoped-var": "error",
|
|
58
|
+
camelcase: "off",
|
|
59
|
+
"capitalized-comments": "off",
|
|
60
|
+
"class-methods-use-this": "off",
|
|
61
|
+
complexity: "off",
|
|
62
|
+
"consistent-return": "off",
|
|
63
|
+
"consistent-this": "off",
|
|
64
|
+
"constructor-super": "error",
|
|
65
|
+
curly: "off",
|
|
66
|
+
"default-case": "off",
|
|
67
|
+
"default-case-last": "off",
|
|
68
|
+
"default-param-last": "off",
|
|
69
|
+
"dot-notation": "off",
|
|
70
|
+
eqeqeq: "error",
|
|
71
|
+
"for-direction": "error",
|
|
72
|
+
"func-name-matching": "error",
|
|
73
|
+
"func-names": "off",
|
|
74
|
+
"func-style": ["error", "declaration", { allowArrowFunctions: true }],
|
|
75
|
+
"getter-return": "error",
|
|
76
|
+
"grouped-accessor-pairs": "error",
|
|
77
|
+
"guard-for-in": "error",
|
|
78
|
+
"id-denylist": "off",
|
|
79
|
+
"id-length": "off",
|
|
80
|
+
"id-match": "off",
|
|
81
|
+
"init-declarations": "off",
|
|
82
|
+
"logical-assignment-operators": "error",
|
|
83
|
+
"max-classes-per-file": "error",
|
|
84
|
+
"max-depth": "error",
|
|
85
|
+
"max-lines": "off",
|
|
86
|
+
"max-lines-per-function": "off",
|
|
87
|
+
"max-nested-callbacks": "error",
|
|
88
|
+
"max-params": "off",
|
|
89
|
+
"max-statements": "error",
|
|
90
|
+
"new-cap": "off",
|
|
91
|
+
"no-alert": "error",
|
|
92
|
+
"no-array-constructor": "off",
|
|
93
|
+
"no-async-promise-executor": "error",
|
|
94
|
+
"no-await-in-loop": "error",
|
|
95
|
+
"no-bitwise": "error",
|
|
96
|
+
"no-caller": "error",
|
|
97
|
+
"no-case-declarations": "error",
|
|
98
|
+
"no-class-assign": "error",
|
|
99
|
+
"no-compare-neg-zero": "error",
|
|
100
|
+
"no-cond-assign": "error",
|
|
101
|
+
"no-console": "error",
|
|
102
|
+
"no-const-assign": "error",
|
|
103
|
+
"no-constant-binary-expression": "error",
|
|
104
|
+
"no-constant-condition": "error",
|
|
105
|
+
"no-constructor-return": "error",
|
|
106
|
+
"no-continue": "error",
|
|
107
|
+
"no-control-regex": "error",
|
|
108
|
+
"no-debugger": "error",
|
|
109
|
+
"no-delete-var": "error",
|
|
110
|
+
"no-div-regex": "error",
|
|
111
|
+
"no-dupe-args": "error",
|
|
112
|
+
"no-dupe-class-members": "error",
|
|
113
|
+
"no-dupe-else-if": "error",
|
|
114
|
+
"no-dupe-keys": "error",
|
|
115
|
+
"no-duplicate-case": "error",
|
|
116
|
+
"no-duplicate-imports": "off",
|
|
117
|
+
"no-else-return": "error",
|
|
118
|
+
"no-empty": "error",
|
|
119
|
+
"no-empty-character-class": "error",
|
|
120
|
+
"no-empty-function": "off",
|
|
121
|
+
"no-empty-pattern": "error",
|
|
122
|
+
"no-empty-static-block": "error",
|
|
123
|
+
"no-eq-null": "error",
|
|
124
|
+
"no-eval": "error",
|
|
125
|
+
"no-ex-assign": "error",
|
|
126
|
+
"no-extend-native": "error",
|
|
127
|
+
"no-extra-bind": "error",
|
|
128
|
+
"no-extra-boolean-cast": "error",
|
|
129
|
+
"no-extra-label": "error",
|
|
130
|
+
"no-fallthrough": "error",
|
|
131
|
+
"no-func-assign": "error",
|
|
132
|
+
"no-global-assign": "error",
|
|
133
|
+
"no-implicit-coercion": "error",
|
|
134
|
+
"no-implicit-globals": "off",
|
|
135
|
+
"no-implied-eval": "off",
|
|
136
|
+
"no-import-assign": "error",
|
|
137
|
+
"no-inline-comments": "off",
|
|
138
|
+
"no-inner-declarations": "error",
|
|
139
|
+
"no-invalid-regexp": "error",
|
|
140
|
+
"no-invalid-this": "error",
|
|
141
|
+
"no-irregular-whitespace": "error",
|
|
142
|
+
"no-iterator": "error",
|
|
143
|
+
"no-label-var": "error",
|
|
144
|
+
"no-labels": "error",
|
|
145
|
+
"no-lone-blocks": "error",
|
|
146
|
+
"no-lonely-if": "error",
|
|
147
|
+
"no-loop-func": "error",
|
|
148
|
+
"no-loss-of-precision": "error",
|
|
149
|
+
"no-magic-numbers": "off",
|
|
150
|
+
"no-misleading-character-class": "error",
|
|
151
|
+
"no-multi-assign": "error",
|
|
152
|
+
"no-multi-str": "error",
|
|
153
|
+
"no-negated-condition": "error",
|
|
154
|
+
"no-nested-ternary": "error",
|
|
155
|
+
"no-new": "error",
|
|
156
|
+
"no-new-func": "error",
|
|
157
|
+
"no-new-native-nonconstructor": "error",
|
|
158
|
+
"no-new-wrappers": "error",
|
|
159
|
+
"no-nonoctal-decimal-escape": "error",
|
|
160
|
+
"no-obj-calls": "error",
|
|
161
|
+
"no-object-constructor": "error",
|
|
162
|
+
"no-octal": "error",
|
|
163
|
+
"no-octal-escape": "error",
|
|
164
|
+
"no-param-reassign": "error",
|
|
165
|
+
"no-plusplus": "error",
|
|
166
|
+
"no-promise-executor-return": "error",
|
|
167
|
+
"no-proto": "error",
|
|
168
|
+
"no-prototype-builtins": "error",
|
|
169
|
+
"no-redeclare": "off",
|
|
170
|
+
"no-regex-spaces": "error",
|
|
171
|
+
"no-restricted-exports": "off",
|
|
172
|
+
"no-restricted-globals": "off",
|
|
173
|
+
"no-restricted-imports": "off",
|
|
174
|
+
"no-restricted-properties": "off",
|
|
175
|
+
"no-restricted-syntax": "off",
|
|
176
|
+
"no-return-assign": "error",
|
|
177
|
+
"no-script-url": "error",
|
|
178
|
+
"no-self-assign": "error",
|
|
179
|
+
"no-self-compare": "error",
|
|
180
|
+
"no-sequences": "error",
|
|
181
|
+
"no-setter-return": "error",
|
|
182
|
+
"no-shadow": "off",
|
|
183
|
+
"no-shadow-restricted-names": "error",
|
|
184
|
+
"no-sparse-arrays": "error",
|
|
185
|
+
"no-template-curly-in-string": "off",
|
|
186
|
+
"no-ternary": "off",
|
|
187
|
+
"no-this-before-super": "error",
|
|
188
|
+
"no-throw-literal": "off",
|
|
189
|
+
"no-undef": "off",
|
|
190
|
+
"no-undef-init": "error",
|
|
191
|
+
"no-undefined": "off",
|
|
192
|
+
"no-underscore-dangle": "off",
|
|
193
|
+
"no-unexpected-multiline": "off",
|
|
194
|
+
"no-unmodified-loop-condition": "error",
|
|
195
|
+
"no-unneeded-ternary": "error",
|
|
196
|
+
"no-unreachable": "error",
|
|
197
|
+
"no-unreachable-loop": "error",
|
|
198
|
+
"no-unsafe-finally": "error",
|
|
199
|
+
"no-unsafe-negation": "error",
|
|
200
|
+
"no-unsafe-optional-chaining": [
|
|
201
|
+
"error",
|
|
202
|
+
{ disallowArithmeticOperators: true },
|
|
203
|
+
],
|
|
204
|
+
"no-unused-expressions": "off",
|
|
205
|
+
"no-unused-labels": "error",
|
|
206
|
+
"no-unused-private-class-members": "error",
|
|
207
|
+
"no-unused-vars": "off",
|
|
208
|
+
"no-use-before-define": "off",
|
|
209
|
+
"no-useless-assignment": "off",
|
|
210
|
+
"no-useless-backreference": "error",
|
|
211
|
+
"no-useless-call": "error",
|
|
212
|
+
"no-useless-catch": "error",
|
|
213
|
+
"no-useless-computed-key": "error",
|
|
214
|
+
"no-useless-concat": "error",
|
|
215
|
+
"no-useless-constructor": "off",
|
|
216
|
+
"no-useless-escape": "error",
|
|
217
|
+
"no-useless-rename": "error",
|
|
218
|
+
"no-useless-return": "error",
|
|
219
|
+
"no-var": "error",
|
|
220
|
+
"no-void": "error",
|
|
221
|
+
"no-warning-comments": "off",
|
|
222
|
+
"no-with": "error",
|
|
223
|
+
"object-shorthand": "error",
|
|
224
|
+
"one-var": "off",
|
|
225
|
+
"operator-assignment": "error",
|
|
226
|
+
"prefer-arrow-callback": "error",
|
|
227
|
+
"prefer-const": "error",
|
|
228
|
+
"prefer-destructuring": "off",
|
|
229
|
+
"prefer-exponentiation-operator": "error",
|
|
230
|
+
"prefer-named-capture-group": "error",
|
|
231
|
+
"prefer-numeric-literals": "error",
|
|
232
|
+
"prefer-object-has-own": "error",
|
|
233
|
+
"prefer-object-spread": "error",
|
|
234
|
+
"prefer-promise-reject-errors": "off",
|
|
235
|
+
"prefer-regex-literals": "error",
|
|
236
|
+
"prefer-rest-params": "error",
|
|
237
|
+
"prefer-spread": "error",
|
|
238
|
+
"prefer-template": "error",
|
|
239
|
+
radix: "error",
|
|
240
|
+
"require-atomic-updates": "error",
|
|
241
|
+
"require-await": "off",
|
|
242
|
+
"require-unicode-regexp": "error",
|
|
243
|
+
"require-yield": "error",
|
|
244
|
+
"sort-imports": "off",
|
|
245
|
+
"sort-keys": "off",
|
|
246
|
+
"sort-vars": "error",
|
|
247
|
+
strict: "error",
|
|
248
|
+
"symbol-description": "error",
|
|
249
|
+
"unicode-bom": "error",
|
|
250
|
+
"use-isnan": "error",
|
|
251
|
+
"valid-typeof": "error",
|
|
252
|
+
"vars-on-top": "error",
|
|
253
|
+
yoda: ["error", "always"],
|
|
254
|
+
"n/callback-return": "off",
|
|
255
|
+
"n/exports-style": ["error", "exports"],
|
|
256
|
+
"n/file-extension-in-import": "off",
|
|
257
|
+
"n/global-require": "off",
|
|
258
|
+
"n/handle-callback-err": "error",
|
|
259
|
+
"n/no-callback-literal": "off",
|
|
260
|
+
"n/no-deprecated-api": "error",
|
|
261
|
+
"n/no-exports-assign": "error",
|
|
262
|
+
"n/no-extraneous-import": "error",
|
|
263
|
+
"n/no-extraneous-require": "error",
|
|
264
|
+
"n/no-missing-import": "off",
|
|
265
|
+
"n/no-missing-require": "error",
|
|
266
|
+
"n/no-mixed-requires": "off",
|
|
267
|
+
"n/no-new-require": "off",
|
|
268
|
+
"n/no-path-concat": "error",
|
|
269
|
+
"n/no-process-env": "off",
|
|
270
|
+
"n/no-process-exit": "off",
|
|
271
|
+
"n/no-restricted-import": "off",
|
|
272
|
+
"n/no-restricted-require": "off",
|
|
273
|
+
"n/no-sync": "off",
|
|
274
|
+
"n/no-unpublished-bin": "error",
|
|
275
|
+
"n/no-unpublished-import": "off",
|
|
276
|
+
"n/no-unpublished-require": "off",
|
|
277
|
+
"n/no-unsupported-features/es-builtins": "error",
|
|
278
|
+
"n/no-unsupported-features/es-syntax": "error",
|
|
279
|
+
"n/no-unsupported-features/node-builtins": "error",
|
|
280
|
+
"n/prefer-global/buffer": "error",
|
|
281
|
+
"n/prefer-global/console": "error",
|
|
282
|
+
"n/prefer-global/process": "error",
|
|
283
|
+
"n/prefer-global/text-decoder": "error",
|
|
284
|
+
"n/prefer-global/text-encoder": "error",
|
|
285
|
+
"n/prefer-global/url-search-params": "error",
|
|
286
|
+
"n/prefer-global/url": "error",
|
|
287
|
+
"n/prefer-node-protocol": "error",
|
|
288
|
+
"n/prefer-promises/dns": "off",
|
|
289
|
+
"n/prefer-promises/fs": "off",
|
|
290
|
+
"n/process-exit-as-throw": "off",
|
|
291
|
+
"n/hashbang": "off",
|
|
292
|
+
"n/no-hide-core-modules": "off",
|
|
293
|
+
"n/shebang": "off",
|
|
294
|
+
"@typescript-eslint/adjacent-overload-signatures": "off",
|
|
295
|
+
"@typescript-eslint/array-type": "error",
|
|
296
|
+
"@typescript-eslint/await-thenable": "error",
|
|
297
|
+
"@typescript-eslint/ban-ts-comment": "error",
|
|
298
|
+
"@typescript-eslint/ban-tslint-comment": "error",
|
|
299
|
+
"@typescript-eslint/class-literal-property-style": "error",
|
|
300
|
+
"@typescript-eslint/class-methods-use-this": "off",
|
|
301
|
+
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
302
|
+
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
303
|
+
"@typescript-eslint/consistent-return": "off",
|
|
304
|
+
"@typescript-eslint/consistent-type-assertions": "error",
|
|
305
|
+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
306
|
+
"@typescript-eslint/consistent-type-exports": "error",
|
|
307
|
+
"@typescript-eslint/consistent-type-imports": "error",
|
|
308
|
+
"@typescript-eslint/default-param-last": "error",
|
|
309
|
+
"@typescript-eslint/dot-notation": "error",
|
|
310
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
311
|
+
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
312
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
313
|
+
"@typescript-eslint/init-declarations": "off",
|
|
314
|
+
"@typescript-eslint/max-params": "off",
|
|
315
|
+
"@typescript-eslint/member-ordering": "off",
|
|
316
|
+
"@typescript-eslint/method-signature-style": "error",
|
|
317
|
+
"@typescript-eslint/naming-convention": "off",
|
|
318
|
+
"@typescript-eslint/no-array-constructor": "error",
|
|
319
|
+
"@typescript-eslint/no-array-delete": "error",
|
|
320
|
+
"@typescript-eslint/no-base-to-string": "error",
|
|
321
|
+
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
322
|
+
"@typescript-eslint/no-confusing-void-expression": "error",
|
|
323
|
+
"@typescript-eslint/no-dupe-class-members": "off",
|
|
324
|
+
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
325
|
+
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
326
|
+
"@typescript-eslint/no-dynamic-delete": "error",
|
|
327
|
+
"@typescript-eslint/no-empty-function": "error",
|
|
328
|
+
"@typescript-eslint/no-empty-interface": "off",
|
|
329
|
+
"@typescript-eslint/no-empty-object-type": "error",
|
|
330
|
+
"@typescript-eslint/no-explicit-any": "error",
|
|
331
|
+
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
332
|
+
"@typescript-eslint/no-extraneous-class": "error",
|
|
333
|
+
"@typescript-eslint/no-floating-promises": "error",
|
|
334
|
+
"@typescript-eslint/no-for-in-array": "error",
|
|
335
|
+
"@typescript-eslint/no-implied-eval": "error",
|
|
336
|
+
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
337
|
+
"@typescript-eslint/no-inferrable-types": "error",
|
|
338
|
+
"@typescript-eslint/no-invalid-this": "off",
|
|
339
|
+
"@typescript-eslint/no-invalid-void-type": "error",
|
|
340
|
+
"@typescript-eslint/no-loop-func": "error",
|
|
341
|
+
"@typescript-eslint/no-loss-of-precision": "off",
|
|
342
|
+
"@typescript-eslint/no-magic-numbers": "off",
|
|
343
|
+
"@typescript-eslint/no-meaningless-void-operator": "error",
|
|
344
|
+
"@typescript-eslint/no-misused-new": "error",
|
|
345
|
+
"@typescript-eslint/no-misused-promises": "error",
|
|
346
|
+
"@typescript-eslint/no-mixed-enums": "error",
|
|
347
|
+
"@typescript-eslint/no-namespace": "error",
|
|
348
|
+
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
349
|
+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
350
|
+
"@typescript-eslint/no-non-null-assertion": "error",
|
|
351
|
+
"@typescript-eslint/no-redeclare": "off",
|
|
352
|
+
"@typescript-eslint/no-redundant-type-constituents": "error",
|
|
353
|
+
"@typescript-eslint/no-require-imports": "error",
|
|
354
|
+
"@typescript-eslint/no-restricted-imports": "error",
|
|
355
|
+
"@typescript-eslint/no-restricted-types": "error",
|
|
356
|
+
"@typescript-eslint/no-shadow": "error",
|
|
357
|
+
"@typescript-eslint/no-this-alias": "error",
|
|
358
|
+
"@typescript-eslint/no-type-alias": "off",
|
|
359
|
+
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
360
|
+
"@typescript-eslint/no-unnecessary-condition": "error",
|
|
361
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
362
|
+
"error",
|
|
363
|
+
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
364
|
+
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
365
|
+
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
366
|
+
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
367
|
+
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
368
|
+
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
369
|
+
"@typescript-eslint/no-unsafe-argument": "error",
|
|
370
|
+
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
371
|
+
"@typescript-eslint/no-unsafe-call": "error",
|
|
372
|
+
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
373
|
+
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
374
|
+
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
375
|
+
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
376
|
+
"@typescript-eslint/no-unsafe-return": "error",
|
|
377
|
+
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
378
|
+
"@typescript-eslint/no-unused-expressions": "error",
|
|
379
|
+
"@typescript-eslint/no-unused-vars": [
|
|
380
|
+
"error",
|
|
381
|
+
{
|
|
382
|
+
args: "all",
|
|
383
|
+
argsIgnorePattern: "^_",
|
|
384
|
+
caughtErrors: "all",
|
|
385
|
+
caughtErrorsIgnorePattern: "^_",
|
|
386
|
+
destructuredArrayIgnorePattern: "^_",
|
|
387
|
+
ignoreRestSiblings: true,
|
|
388
|
+
varsIgnorePattern: "^_",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
392
|
+
"@typescript-eslint/no-useless-constructor": "error",
|
|
393
|
+
"@typescript-eslint/no-useless-empty-export": "error",
|
|
394
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
395
|
+
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
396
|
+
"@typescript-eslint/non-nullable-type-assertion-style": "error",
|
|
397
|
+
"@typescript-eslint/only-throw-error": "error",
|
|
398
|
+
"@typescript-eslint/parameter-properties": "off",
|
|
399
|
+
"@typescript-eslint/prefer-as-const": "error",
|
|
400
|
+
"@typescript-eslint/prefer-destructuring": "error",
|
|
401
|
+
"@typescript-eslint/prefer-enum-initializers": "error",
|
|
402
|
+
"@typescript-eslint/prefer-find": "error",
|
|
403
|
+
"@typescript-eslint/prefer-for-of": "error",
|
|
404
|
+
"@typescript-eslint/prefer-function-type": "error",
|
|
405
|
+
"@typescript-eslint/prefer-includes": "error",
|
|
406
|
+
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
407
|
+
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
408
|
+
"@typescript-eslint/prefer-nullish-coalescing": "error",
|
|
409
|
+
"@typescript-eslint/prefer-optional-chain": "error",
|
|
410
|
+
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
411
|
+
"@typescript-eslint/prefer-readonly": "error",
|
|
412
|
+
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
413
|
+
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
414
|
+
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
415
|
+
"@typescript-eslint/prefer-return-this-type": "error",
|
|
416
|
+
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
417
|
+
"@typescript-eslint/prefer-ts-expect-error": "off",
|
|
418
|
+
"@typescript-eslint/promise-function-async": "error",
|
|
419
|
+
"@typescript-eslint/require-array-sort-compare": "error",
|
|
420
|
+
"@typescript-eslint/require-await": "error",
|
|
421
|
+
"@typescript-eslint/restrict-plus-operands": "error",
|
|
422
|
+
"@typescript-eslint/restrict-template-expressions": "error",
|
|
423
|
+
"@typescript-eslint/return-await": "error",
|
|
424
|
+
"@typescript-eslint/sort-type-constituents": "off",
|
|
425
|
+
"@typescript-eslint/strict-boolean-expressions": "error",
|
|
426
|
+
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
427
|
+
"@typescript-eslint/triple-slash-reference": "error",
|
|
428
|
+
"@typescript-eslint/typedef": "off",
|
|
429
|
+
"@typescript-eslint/unbound-method": "error",
|
|
430
|
+
"@typescript-eslint/unified-signatures": "error",
|
|
431
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
432
|
+
"unicorn/better-regex": "error",
|
|
433
|
+
"unicorn/catch-error-name": "error",
|
|
434
|
+
"unicorn/consistent-destructuring": "error",
|
|
435
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
436
|
+
"unicorn/consistent-function-scoping": "error",
|
|
437
|
+
"unicorn/custom-error-definition": "error",
|
|
438
|
+
"unicorn/empty-brace-spaces": "off",
|
|
439
|
+
"unicorn/error-message": "error",
|
|
440
|
+
"unicorn/escape-case": "error",
|
|
441
|
+
"unicorn/expiring-todo-comments": "error",
|
|
442
|
+
"unicorn/explicit-length-check": "off",
|
|
443
|
+
"unicorn/filename-case": "error",
|
|
444
|
+
"unicorn/import-style": "error",
|
|
445
|
+
"unicorn/new-for-builtins": "error",
|
|
446
|
+
"unicorn/no-abusive-eslint-disable": "error",
|
|
447
|
+
"unicorn/no-anonymous-default-export": "error",
|
|
448
|
+
"unicorn/no-array-callback-reference": "error",
|
|
449
|
+
"unicorn/no-array-for-each": "error",
|
|
450
|
+
"unicorn/no-array-method-this-argument": "error",
|
|
451
|
+
"unicorn/no-array-push-push": "error",
|
|
452
|
+
"unicorn/no-array-reduce": "error",
|
|
453
|
+
"unicorn/no-await-expression-member": "error",
|
|
454
|
+
"unicorn/no-await-in-promise-methods": "error",
|
|
455
|
+
"unicorn/no-console-spaces": "error",
|
|
456
|
+
"unicorn/no-document-cookie": "error",
|
|
457
|
+
"unicorn/no-empty-file": "error",
|
|
458
|
+
"unicorn/no-for-loop": "error",
|
|
459
|
+
"unicorn/no-hex-escape": "error",
|
|
460
|
+
"unicorn/no-instanceof-array": "error",
|
|
461
|
+
"unicorn/no-invalid-fetch-options": "error",
|
|
462
|
+
"unicorn/no-invalid-remove-event-listener": "error",
|
|
463
|
+
"unicorn/no-keyword-prefix": "off",
|
|
464
|
+
"unicorn/no-length-as-slice-end": "error",
|
|
465
|
+
"unicorn/no-lonely-if": "error",
|
|
466
|
+
"unicorn/no-magic-array-flat-depth": "error",
|
|
467
|
+
"unicorn/no-negated-condition": "error",
|
|
468
|
+
"unicorn/no-negation-in-equality-check": "error",
|
|
469
|
+
"unicorn/no-nested-ternary": "off",
|
|
470
|
+
"unicorn/no-new-array": "error",
|
|
471
|
+
"unicorn/no-new-buffer": "error",
|
|
472
|
+
"unicorn/no-null": "off",
|
|
473
|
+
"unicorn/no-object-as-default-parameter": "error",
|
|
474
|
+
"unicorn/no-process-exit": "error",
|
|
475
|
+
"unicorn/no-single-promise-in-promise-methods": "error",
|
|
476
|
+
"unicorn/no-static-only-class": "error",
|
|
477
|
+
"unicorn/no-thenable": "error",
|
|
478
|
+
"unicorn/no-this-assignment": "error",
|
|
479
|
+
"unicorn/no-typeof-undefined": "error",
|
|
480
|
+
"unicorn/no-unnecessary-await": "error",
|
|
481
|
+
"unicorn/no-unnecessary-polyfills": "error",
|
|
482
|
+
"unicorn/no-unreadable-array-destructuring": "error",
|
|
483
|
+
"unicorn/no-unreadable-iife": "error",
|
|
484
|
+
"unicorn/no-unused-properties": "error",
|
|
485
|
+
"unicorn/no-useless-fallback-in-spread": "error",
|
|
486
|
+
"unicorn/no-useless-length-check": "error",
|
|
487
|
+
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
488
|
+
"unicorn/no-useless-spread": "error",
|
|
489
|
+
"unicorn/no-useless-switch-case": "error",
|
|
490
|
+
"unicorn/no-useless-undefined": "error",
|
|
491
|
+
"unicorn/no-zero-fractions": "error",
|
|
492
|
+
"unicorn/number-literal-case": "off",
|
|
493
|
+
"unicorn/numeric-separators-style": "error",
|
|
494
|
+
"unicorn/prefer-add-event-listener": "error",
|
|
495
|
+
"unicorn/prefer-array-find": "error",
|
|
496
|
+
"unicorn/prefer-array-flat-map": "error",
|
|
497
|
+
"unicorn/prefer-array-flat": "error",
|
|
498
|
+
"unicorn/prefer-array-index-of": "error",
|
|
499
|
+
"unicorn/prefer-array-some": "error",
|
|
500
|
+
"unicorn/prefer-at": "error",
|
|
501
|
+
"unicorn/prefer-blob-reading-methods": "error",
|
|
502
|
+
"unicorn/prefer-code-point": "error",
|
|
503
|
+
"unicorn/prefer-date-now": "error",
|
|
504
|
+
"unicorn/prefer-default-parameters": "error",
|
|
505
|
+
"unicorn/prefer-dom-node-append": "error",
|
|
506
|
+
"unicorn/prefer-dom-node-dataset": "error",
|
|
507
|
+
"unicorn/prefer-dom-node-remove": "error",
|
|
508
|
+
"unicorn/prefer-dom-node-text-content": "error",
|
|
509
|
+
"unicorn/prefer-event-target": "error",
|
|
510
|
+
"unicorn/prefer-export-from": "error",
|
|
511
|
+
"unicorn/prefer-includes": "error",
|
|
512
|
+
"unicorn/prefer-json-parse-buffer": "error",
|
|
513
|
+
"unicorn/prefer-keyboard-event-key": "error",
|
|
514
|
+
"unicorn/prefer-logical-operator-over-ternary": "error",
|
|
515
|
+
"unicorn/prefer-math-trunc": "error",
|
|
516
|
+
"unicorn/prefer-modern-dom-apis": "error",
|
|
517
|
+
"unicorn/prefer-modern-math-apis": "error",
|
|
518
|
+
"unicorn/prefer-module": "error",
|
|
519
|
+
"unicorn/prefer-native-coercion-functions": "error",
|
|
520
|
+
"unicorn/prefer-negative-index": "error",
|
|
521
|
+
"unicorn/prefer-node-protocol": "error",
|
|
522
|
+
"unicorn/prefer-number-properties": "error",
|
|
523
|
+
"unicorn/prefer-object-from-entries": "error",
|
|
524
|
+
"unicorn/prefer-optional-catch-binding": "error",
|
|
525
|
+
"unicorn/prefer-prototype-methods": "error",
|
|
526
|
+
"unicorn/prefer-query-selector": "error",
|
|
527
|
+
"unicorn/prefer-reflect-apply": "error",
|
|
528
|
+
"unicorn/prefer-regexp-test": "error",
|
|
529
|
+
"unicorn/prefer-set-has": "error",
|
|
530
|
+
"unicorn/prefer-set-size": "error",
|
|
531
|
+
"unicorn/prefer-spread": "error",
|
|
532
|
+
"unicorn/prefer-string-raw": "error",
|
|
533
|
+
"unicorn/prefer-string-replace-all": "error",
|
|
534
|
+
"unicorn/prefer-string-slice": "error",
|
|
535
|
+
"unicorn/prefer-string-starts-ends-with": "error",
|
|
536
|
+
"unicorn/prefer-string-trim-start-end": "error",
|
|
537
|
+
"unicorn/prefer-structured-clone": "error",
|
|
538
|
+
"unicorn/prefer-switch": "error",
|
|
539
|
+
"unicorn/prefer-ternary": "error",
|
|
540
|
+
"unicorn/prefer-top-level-await": "error",
|
|
541
|
+
"unicorn/prefer-type-error": "error",
|
|
542
|
+
"unicorn/prevent-abbreviations": "error",
|
|
543
|
+
"unicorn/relative-url-style": "error",
|
|
544
|
+
"unicorn/require-array-join-separator": "error",
|
|
545
|
+
"unicorn/require-number-to-fixed-digits-argument": "error",
|
|
546
|
+
"unicorn/require-post-message-target-origin": "error",
|
|
547
|
+
"unicorn/string-content": "error",
|
|
548
|
+
"unicorn/switch-case-braces": "error",
|
|
549
|
+
"unicorn/template-indent": "off",
|
|
550
|
+
"unicorn/text-encoding-identifier-case": "error",
|
|
551
|
+
"unicorn/throw-new-error": "error",
|
|
552
|
+
"unicorn/import-index": "off",
|
|
553
|
+
"unicorn/no-array-instanceof": "off",
|
|
554
|
+
"unicorn/no-fn-reference-in-iterator": "off",
|
|
555
|
+
"unicorn/no-reduce": "off",
|
|
556
|
+
"unicorn/no-unsafe-regex": "off",
|
|
557
|
+
"unicorn/prefer-dataset": "off",
|
|
558
|
+
"unicorn/prefer-event-key": "off",
|
|
559
|
+
"unicorn/prefer-exponentiation-operator": "off",
|
|
560
|
+
"unicorn/prefer-flat-map": "off",
|
|
561
|
+
"unicorn/prefer-node-append": "off",
|
|
562
|
+
"unicorn/prefer-node-remove": "off",
|
|
563
|
+
"unicorn/prefer-object-has-own": "off",
|
|
564
|
+
"unicorn/prefer-replace-all": "off",
|
|
565
|
+
"unicorn/prefer-starts-ends-with": "off",
|
|
566
|
+
"unicorn/prefer-text-content": "off",
|
|
567
|
+
"unicorn/prefer-trim-start-end": "off",
|
|
568
|
+
"unicorn/regex-shorthand": "off",
|
|
569
|
+
"lodash/callback-binding": "error",
|
|
570
|
+
"lodash/chain-style": ["error", "as-needed"],
|
|
571
|
+
"lodash/chaining": "error",
|
|
572
|
+
"lodash/collection-method-value": "error",
|
|
573
|
+
"lodash/collection-ordering": "error",
|
|
574
|
+
"lodash/collection-return": "error",
|
|
575
|
+
"lodash/consistent-compose": ["error", "flow"],
|
|
576
|
+
"lodash/identity-shorthand": ["error", "always"],
|
|
577
|
+
"lodash/import-scope": ["error", "method"],
|
|
578
|
+
"lodash/matches-prop-shorthand": ["error", "always"],
|
|
579
|
+
"lodash/matches-shorthand": ["error", "always", 3],
|
|
580
|
+
"lodash/no-commit": "error",
|
|
581
|
+
"lodash/no-double-unwrap": "error",
|
|
582
|
+
"lodash/no-extra-args": "error",
|
|
583
|
+
"lodash/no-unbound-this": "error",
|
|
584
|
+
"lodash/path-style": ["error", "array"],
|
|
585
|
+
"lodash/prefer-compact": "error",
|
|
586
|
+
"lodash/prefer-constant": "error",
|
|
587
|
+
"lodash/prefer-filter": "error",
|
|
588
|
+
"lodash/prefer-find": "error",
|
|
589
|
+
"lodash/prefer-flat-map": "error",
|
|
590
|
+
"lodash/prefer-get": "error",
|
|
591
|
+
"lodash/prefer-immutable-method": "error",
|
|
592
|
+
"lodash/prefer-includes": ["error", { includeNative: true }],
|
|
593
|
+
"lodash/prefer-invoke-map": "error",
|
|
594
|
+
"lodash/prefer-is-nil": "error",
|
|
595
|
+
"lodash/prefer-lodash-chain": "error",
|
|
596
|
+
"lodash/prefer-lodash-method": "error",
|
|
597
|
+
"lodash/prefer-lodash-typecheck": "error",
|
|
598
|
+
"lodash/prefer-map": "error",
|
|
599
|
+
"lodash/prefer-matches": "error",
|
|
600
|
+
"lodash/prefer-noop": "error",
|
|
601
|
+
"lodash/prefer-over-quantifier": "error",
|
|
602
|
+
"lodash/prefer-reject": "error",
|
|
603
|
+
"lodash/prefer-some": ["error", { includeNative: true }],
|
|
604
|
+
"lodash/prefer-startswith": "error",
|
|
605
|
+
"lodash/prefer-thru": "error",
|
|
606
|
+
"lodash/prefer-times": "error",
|
|
607
|
+
"lodash/prefer-wrapper-method": "error",
|
|
608
|
+
"lodash/preferred-alias": "error",
|
|
609
|
+
"lodash/prop-shorthand": ["error", "always"],
|
|
610
|
+
"lodash/unwrap": "error",
|
|
611
|
+
"sonar/S100": "off",
|
|
612
|
+
"sonar/S101": "off",
|
|
613
|
+
"sonar/S103": "off",
|
|
614
|
+
"sonar/S104": "off",
|
|
615
|
+
"sonar/S105": "off",
|
|
616
|
+
"sonar/S106": "off",
|
|
617
|
+
"sonar/S1066": "off",
|
|
618
|
+
"sonar/S1067": "off",
|
|
619
|
+
"sonar/S1068": "off",
|
|
620
|
+
"sonar/S107": "off",
|
|
621
|
+
"sonar/S1077": "off",
|
|
622
|
+
"sonar/S108": "off",
|
|
623
|
+
"sonar/S1082": "off",
|
|
624
|
+
"sonar/S109": "off",
|
|
625
|
+
"sonar/S1090": "off",
|
|
626
|
+
"sonar/S1105": "off",
|
|
627
|
+
"sonar/S1110": "off",
|
|
628
|
+
"sonar/S1116": "off",
|
|
629
|
+
"sonar/S1117": "off",
|
|
630
|
+
"sonar/S1119": "off",
|
|
631
|
+
"sonar/S1121": "off",
|
|
632
|
+
"sonar/S1125": "off",
|
|
633
|
+
"sonar/S1126": "off",
|
|
634
|
+
"sonar/S1128": "off",
|
|
635
|
+
"sonar/S113": "off",
|
|
636
|
+
"sonar/S1131": "off",
|
|
637
|
+
"sonar/S1134": "off",
|
|
638
|
+
"sonar/S1135": "off",
|
|
639
|
+
"sonar/S1143": "off",
|
|
640
|
+
"sonar/S1154": "off",
|
|
641
|
+
"sonar/S117": "off",
|
|
642
|
+
"sonar/S1172": "off",
|
|
643
|
+
"sonar/S1186": "off",
|
|
644
|
+
"sonar/S1192": "off",
|
|
645
|
+
"sonar/S1199": "off",
|
|
646
|
+
"sonar/S121": "off",
|
|
647
|
+
"sonar/S1219": "off",
|
|
648
|
+
"sonar/S122": "off",
|
|
649
|
+
"sonar/S1226": "off",
|
|
650
|
+
"sonar/S124": "off",
|
|
651
|
+
"sonar/S125": "off",
|
|
652
|
+
"sonar/S126": "off",
|
|
653
|
+
"sonar/S1264": "off",
|
|
654
|
+
"sonar/S128": "off",
|
|
655
|
+
"sonar/S1301": "off",
|
|
656
|
+
"sonar/S131": "off",
|
|
657
|
+
"sonar/S1313": "off",
|
|
658
|
+
"sonar/S1314": "off",
|
|
659
|
+
"sonar/S1321": "off",
|
|
660
|
+
"sonar/S134": "off",
|
|
661
|
+
"sonar/S135": "off",
|
|
662
|
+
"sonar/S138": "off",
|
|
663
|
+
"sonar/S139": "off",
|
|
664
|
+
"sonar/S1438": "off",
|
|
665
|
+
"sonar/S1439": "off",
|
|
666
|
+
"sonar/S1440": "off",
|
|
667
|
+
"sonar/S1441": "off",
|
|
668
|
+
"sonar/S1442": "off",
|
|
669
|
+
"sonar/S1444": "off",
|
|
670
|
+
"sonar/S1451": "off",
|
|
671
|
+
"sonar/S1472": "off",
|
|
672
|
+
"sonar/S1479": "off",
|
|
673
|
+
"sonar/S1481": "off",
|
|
674
|
+
"sonar/S1488": "off",
|
|
675
|
+
"sonar/S1515": "off",
|
|
676
|
+
"sonar/S1516": "off",
|
|
677
|
+
"sonar/S1523": "off",
|
|
678
|
+
"sonar/S1525": "off",
|
|
679
|
+
"sonar/S1526": "off",
|
|
680
|
+
"sonar/S1527": "off",
|
|
681
|
+
"sonar/S1528": "off",
|
|
682
|
+
"sonar/S1529": "off",
|
|
683
|
+
"sonar/S1530": "off",
|
|
684
|
+
"sonar/S1533": "off",
|
|
685
|
+
"sonar/S1534": "off",
|
|
686
|
+
"sonar/S1535": "off",
|
|
687
|
+
"sonar/S1536": "off",
|
|
688
|
+
"sonar/S1537": "off",
|
|
689
|
+
"sonar/S1539": "off",
|
|
690
|
+
"sonar/S1541": "off",
|
|
691
|
+
"sonar/S1656": "off",
|
|
692
|
+
"sonar/S1751": "off",
|
|
693
|
+
"sonar/S1763": "off",
|
|
694
|
+
"sonar/S1764": "off",
|
|
695
|
+
"sonar/S1774": "off",
|
|
696
|
+
"sonar/S1788": "off",
|
|
697
|
+
"sonar/S1821": "off",
|
|
698
|
+
"sonar/S1848": "off",
|
|
699
|
+
"sonar/S1854": "off",
|
|
700
|
+
"sonar/S1862": "off",
|
|
701
|
+
"sonar/S1871": "off",
|
|
702
|
+
"sonar/S1874": "off",
|
|
703
|
+
"sonar/S1940": "off",
|
|
704
|
+
"sonar/S1994": "off",
|
|
705
|
+
"sonar/S2004": "off",
|
|
706
|
+
"sonar/S2068": "off",
|
|
707
|
+
"sonar/S2077": "off",
|
|
708
|
+
"sonar/S2092": "off",
|
|
709
|
+
"sonar/S2094": "off",
|
|
710
|
+
"sonar/S2123": "off",
|
|
711
|
+
"sonar/S2137": "off",
|
|
712
|
+
"sonar/S2138": "off",
|
|
713
|
+
"sonar/S2187": "off",
|
|
714
|
+
"sonar/S2189": "off",
|
|
715
|
+
"sonar/S2201": "off",
|
|
716
|
+
"sonar/S2208": "off",
|
|
717
|
+
"sonar/S2234": "off",
|
|
718
|
+
"sonar/S2245": "off",
|
|
719
|
+
"sonar/S2251": "off",
|
|
720
|
+
"sonar/S2255": "off",
|
|
721
|
+
"sonar/S2259": "off",
|
|
722
|
+
"sonar/S2310": "off",
|
|
723
|
+
"sonar/S2376": "off",
|
|
724
|
+
"sonar/S2392": "off",
|
|
725
|
+
"sonar/S2424": "off",
|
|
726
|
+
"sonar/S2427": "off",
|
|
727
|
+
"sonar/S2430": "off",
|
|
728
|
+
"sonar/S2432": "off",
|
|
729
|
+
"sonar/S2428": "off",
|
|
730
|
+
"sonar/S2486": "off",
|
|
731
|
+
"sonar/S2589": "off",
|
|
732
|
+
"sonar/S2598": "off",
|
|
733
|
+
"sonar/S2612": "off",
|
|
734
|
+
"sonar/S2639": "off",
|
|
735
|
+
"sonar/S2681": "off",
|
|
736
|
+
"sonar/S2685": "off",
|
|
737
|
+
"sonar/S2688": "off",
|
|
738
|
+
"sonar/S2692": "off",
|
|
739
|
+
"sonar/S2699": "off",
|
|
740
|
+
"sonar/S2703": "off",
|
|
741
|
+
"sonar/S2737": "off",
|
|
742
|
+
"sonar/S2755": "off",
|
|
743
|
+
"sonar/S2757": "off",
|
|
744
|
+
"sonar/S2814": "off",
|
|
745
|
+
"sonar/S2817": "off",
|
|
746
|
+
"sonar/S2819": "off",
|
|
747
|
+
"sonar/S2870": "off",
|
|
748
|
+
"sonar/S2871": "off",
|
|
749
|
+
"sonar/S2933": "off",
|
|
750
|
+
"sonar/S2966": "off",
|
|
751
|
+
"sonar/S2970": "off",
|
|
752
|
+
"sonar/S2990": "off",
|
|
753
|
+
"sonar/S2999": "off",
|
|
754
|
+
"sonar/S3001": "off",
|
|
755
|
+
"sonar/S3003": "off",
|
|
756
|
+
"sonar/S3257": "off",
|
|
757
|
+
"sonar/S3317": "off",
|
|
758
|
+
"sonar/S3330": "off",
|
|
759
|
+
"sonar/S3353": "off",
|
|
760
|
+
"sonar/S3358": "off",
|
|
761
|
+
"sonar/S3402": "off",
|
|
762
|
+
"sonar/S3403": "off",
|
|
763
|
+
"sonar/S3415": "off",
|
|
764
|
+
"sonar/S3498": "off",
|
|
765
|
+
"sonar/S3499": "off",
|
|
766
|
+
"sonar/S3500": "off",
|
|
767
|
+
"sonar/S3504": "off",
|
|
768
|
+
"sonar/S3512": "off",
|
|
769
|
+
"sonar/S3513": "off",
|
|
770
|
+
"sonar/S3514": "off",
|
|
771
|
+
"sonar/S3516": "off",
|
|
772
|
+
"sonar/S3523": "off",
|
|
773
|
+
"sonar/S3524": "off",
|
|
774
|
+
"sonar/S3525": "off",
|
|
775
|
+
"sonar/S3531": "off",
|
|
776
|
+
"sonar/S3533": "off",
|
|
777
|
+
"sonar/S3579": "off",
|
|
778
|
+
"sonar/S3616": "off",
|
|
779
|
+
"sonar/S3626": "off",
|
|
780
|
+
"sonar/S3686": "off",
|
|
781
|
+
"sonar/S3696": "off",
|
|
782
|
+
"sonar/S3699": "off",
|
|
783
|
+
"sonar/S3758": "off",
|
|
784
|
+
"sonar/S3723": "off",
|
|
785
|
+
"sonar/S3735": "off",
|
|
786
|
+
"sonar/S3757": "off",
|
|
787
|
+
"sonar/S3760": "off",
|
|
788
|
+
"sonar/S3776": "off",
|
|
789
|
+
"sonar/S3782": "off",
|
|
790
|
+
"sonar/S3785": "off",
|
|
791
|
+
"sonar/S3786": "off",
|
|
792
|
+
"sonar/S3796": "off",
|
|
793
|
+
"sonar/S3798": "off",
|
|
794
|
+
"sonar/S3799": "off",
|
|
795
|
+
"sonar/S3800": "off",
|
|
796
|
+
"sonar/S3801": "off",
|
|
797
|
+
"sonar/S3812": "off",
|
|
798
|
+
"sonar/S3827": "off",
|
|
799
|
+
"sonar/S3834": "off",
|
|
800
|
+
"sonar/S3854": "off",
|
|
801
|
+
"sonar/S3863": "off",
|
|
802
|
+
"sonar/S3923": "off",
|
|
803
|
+
"sonar/S3972": "off",
|
|
804
|
+
"sonar/S3973": "off",
|
|
805
|
+
"sonar/S3981": "off",
|
|
806
|
+
"sonar/S3984": "off",
|
|
807
|
+
"sonar/S4023": "off",
|
|
808
|
+
"sonar/S4030": "off",
|
|
809
|
+
"sonar/S4036": "off",
|
|
810
|
+
"sonar/S4043": "off",
|
|
811
|
+
"sonar/S4084": "off",
|
|
812
|
+
"sonar/S4123": "off",
|
|
813
|
+
"sonar/S4124": "off",
|
|
814
|
+
"sonar/S4125": "off",
|
|
815
|
+
"sonar/S4136": "off",
|
|
816
|
+
"sonar/S4137": "off",
|
|
817
|
+
"sonar/S4138": "off",
|
|
818
|
+
"sonar/S4139": "off",
|
|
819
|
+
"sonar/S4140": "off",
|
|
820
|
+
"sonar/S4143": "off",
|
|
821
|
+
"sonar/S4144": "off",
|
|
822
|
+
"sonar/S4156": "off",
|
|
823
|
+
"sonar/S4157": "off",
|
|
824
|
+
"sonar/S4158": "off",
|
|
825
|
+
"sonar/S4165": "off",
|
|
826
|
+
"sonar/S4204": "off",
|
|
827
|
+
"sonar/S4275": "off",
|
|
828
|
+
"sonar/S4322": "off",
|
|
829
|
+
"sonar/S4323": "off",
|
|
830
|
+
"sonar/S4324": "off",
|
|
831
|
+
"sonar/S4325": "off",
|
|
832
|
+
"sonar/S4326": "off",
|
|
833
|
+
"sonar/S4327": "off",
|
|
834
|
+
"sonar/S4328": "off",
|
|
835
|
+
"sonar/S4335": "off",
|
|
836
|
+
"sonar/S4423": "off",
|
|
837
|
+
"sonar/S4426": "off",
|
|
838
|
+
"sonar/S4502": "off",
|
|
839
|
+
"sonar/S4507": "off",
|
|
840
|
+
"sonar/S4524": "off",
|
|
841
|
+
"sonar/S4619": "off",
|
|
842
|
+
"sonar/S4621": "off",
|
|
843
|
+
"sonar/S4622": "off",
|
|
844
|
+
"sonar/S4623": "off",
|
|
845
|
+
"sonar/S4624": "off",
|
|
846
|
+
"sonar/S4634": "off",
|
|
847
|
+
"sonar/S4721": "off",
|
|
848
|
+
"sonar/S4782": "off",
|
|
849
|
+
"sonar/S4784": "off",
|
|
850
|
+
"sonar/S4787": "off",
|
|
851
|
+
"sonar/S4790": "off",
|
|
852
|
+
"sonar/S4798": "off",
|
|
853
|
+
"sonar/S4817": "off",
|
|
854
|
+
"sonar/S4818": "off",
|
|
855
|
+
"sonar/S4822": "off",
|
|
856
|
+
"sonar/S4823": "off",
|
|
857
|
+
"sonar/S4829": "off",
|
|
858
|
+
"sonar/S4830": "off",
|
|
859
|
+
"sonar/S5042": "off",
|
|
860
|
+
"sonar/S5122": "off",
|
|
861
|
+
"sonar/S5148": "off",
|
|
862
|
+
"sonar/S5247": "off",
|
|
863
|
+
"sonar/S5254": "off",
|
|
864
|
+
"sonar/S5256": "off",
|
|
865
|
+
"sonar/S5257": "off",
|
|
866
|
+
"sonar/S5260": "off",
|
|
867
|
+
"sonar/S5264": "off",
|
|
868
|
+
"sonar/S5332": "off",
|
|
869
|
+
"sonar/S5443": "off",
|
|
870
|
+
"sonar/S5527": "off",
|
|
871
|
+
"sonar/S5542": "off",
|
|
872
|
+
"sonar/S5547": "off",
|
|
873
|
+
"sonar/S5604": "off",
|
|
874
|
+
"sonar/S5659": "off",
|
|
875
|
+
"sonar/S5689": "off",
|
|
876
|
+
"sonar/S5691": "off",
|
|
877
|
+
"sonar/S5693": "off",
|
|
878
|
+
"sonar/S5725": "off",
|
|
879
|
+
"sonar/S5728": "off",
|
|
880
|
+
"sonar/S5730": "off",
|
|
881
|
+
"sonar/S5732": "off",
|
|
882
|
+
"sonar/S5734": "off",
|
|
883
|
+
"sonar/S5736": "off",
|
|
884
|
+
"sonar/S5739": "off",
|
|
885
|
+
"sonar/S5742": "off",
|
|
886
|
+
"sonar/S5743": "off",
|
|
887
|
+
"sonar/S5757": "off",
|
|
888
|
+
"sonar/S5759": "off",
|
|
889
|
+
"sonar/S5842": "off",
|
|
890
|
+
"sonar/S5843": "off",
|
|
891
|
+
"sonar/S5850": "off",
|
|
892
|
+
"sonar/S5852": "off",
|
|
893
|
+
"sonar/S5856": "off",
|
|
894
|
+
"sonar/S5860": "off",
|
|
895
|
+
"sonar/S5863": "off",
|
|
896
|
+
"sonar/S5867": "off",
|
|
897
|
+
"sonar/S5868": "off",
|
|
898
|
+
"sonar/S5869": "off",
|
|
899
|
+
"sonar/S5876": "off",
|
|
900
|
+
"sonar/S5958": "off",
|
|
901
|
+
"sonar/S5973": "off",
|
|
902
|
+
"sonar/S6019": "off",
|
|
903
|
+
"sonar/S6035": "off",
|
|
904
|
+
"sonar/S6079": "off",
|
|
905
|
+
"sonar/S6080": "off",
|
|
906
|
+
"sonar/S6092": "off",
|
|
907
|
+
"sonar/S6245": "off",
|
|
908
|
+
"sonar/S6249": "off",
|
|
909
|
+
"sonar/S6252": "off",
|
|
910
|
+
"sonar/S6265": "off",
|
|
911
|
+
"sonar/S6268": "off",
|
|
912
|
+
"sonar/S6270": "off",
|
|
913
|
+
"sonar/S6275": "off",
|
|
914
|
+
"sonar/S6281": "off",
|
|
915
|
+
"sonar/S6299": "off",
|
|
916
|
+
"sonar/S6302": "off",
|
|
917
|
+
"sonar/S6303": "off",
|
|
918
|
+
"sonar/S6304": "off",
|
|
919
|
+
"sonar/S6308": "off",
|
|
920
|
+
"sonar/S6317": "off",
|
|
921
|
+
"sonar/S6319": "off",
|
|
922
|
+
"sonar/S6321": "off",
|
|
923
|
+
"sonar/S6323": "off",
|
|
924
|
+
"sonar/S6324": "off",
|
|
925
|
+
"sonar/S6325": "off",
|
|
926
|
+
"sonar/S6326": "off",
|
|
927
|
+
"sonar/S6327": "off",
|
|
928
|
+
"sonar/S6328": "off",
|
|
929
|
+
"sonar/S6329": "off",
|
|
930
|
+
"sonar/S6330": "off",
|
|
931
|
+
"sonar/S6331": "off",
|
|
932
|
+
"sonar/S6332": "off",
|
|
933
|
+
"sonar/S6333": "off",
|
|
934
|
+
"sonar/S6351": "off",
|
|
935
|
+
"sonar/S6353": "off",
|
|
936
|
+
"sonar/S6397": "off",
|
|
937
|
+
"sonar/S6426": "off",
|
|
938
|
+
"sonar/S6435": "off",
|
|
939
|
+
"sonar/S6438": "off",
|
|
940
|
+
"sonar/S6439": "off",
|
|
941
|
+
"sonar/S6440": "off",
|
|
942
|
+
"sonar/S6441": "off",
|
|
943
|
+
"sonar/S6442": "off",
|
|
944
|
+
"sonar/S6443": "off",
|
|
945
|
+
"sonar/S6477": "off",
|
|
946
|
+
"sonar/S6478": "off",
|
|
947
|
+
"sonar/S6479": "off",
|
|
948
|
+
"sonar/S6480": "off",
|
|
949
|
+
"sonar/S6481": "off",
|
|
950
|
+
"sonar/S6486": "off",
|
|
951
|
+
"sonar/S6509": "off",
|
|
952
|
+
"sonar/S6522": "off",
|
|
953
|
+
"sonar/S6523": "off",
|
|
954
|
+
"sonar/S6534": "off",
|
|
955
|
+
"sonar/S6535": "off",
|
|
956
|
+
"sonar/S6544": "off",
|
|
957
|
+
"sonar/S6550": "off",
|
|
958
|
+
"sonar/S6551": "off",
|
|
959
|
+
"sonar/S6557": "off",
|
|
960
|
+
"sonar/S6564": "off",
|
|
961
|
+
"sonar/S6565": "off",
|
|
962
|
+
"sonar/S6568": "off",
|
|
963
|
+
"sonar/S6569": "off",
|
|
964
|
+
"sonar/S6571": "off",
|
|
965
|
+
"sonar/S6572": "off",
|
|
966
|
+
"sonar/S6578": "off",
|
|
967
|
+
"sonar/S6582": "off",
|
|
968
|
+
"sonar/S6583": "off",
|
|
969
|
+
"sonar/S6590": "off",
|
|
970
|
+
"sonar/S6594": "off",
|
|
971
|
+
"sonar/S6598": "off",
|
|
972
|
+
"sonar/S6606": "off",
|
|
973
|
+
"sonar/S6635": "off",
|
|
974
|
+
"sonar/S6637": "off",
|
|
975
|
+
"sonar/S6638": "off",
|
|
976
|
+
"sonar/S6643": "off",
|
|
977
|
+
"sonar/S6644": "off",
|
|
978
|
+
"sonar/S6645": "off",
|
|
979
|
+
"sonar/S6647": "off",
|
|
980
|
+
"sonar/S6650": "off",
|
|
981
|
+
"sonar/S6653": "off",
|
|
982
|
+
"sonar/S6654": "off",
|
|
983
|
+
"sonar/S6657": "off",
|
|
984
|
+
"sonar/S6660": "off",
|
|
985
|
+
"sonar/S6661": "off",
|
|
986
|
+
"sonar/S6666": "off",
|
|
987
|
+
"sonar/S6671": "off",
|
|
988
|
+
"sonar/S6676": "off",
|
|
989
|
+
"sonar/S6679": "off",
|
|
990
|
+
"sonar/S6746": "off",
|
|
991
|
+
"sonar/S6747": "off",
|
|
992
|
+
"sonar/S6748": "off",
|
|
993
|
+
"sonar/S6749": "off",
|
|
994
|
+
"sonar/S6750": "off",
|
|
995
|
+
"sonar/S6754": "off",
|
|
996
|
+
"sonar/S6756": "off",
|
|
997
|
+
"sonar/S6757": "off",
|
|
998
|
+
"sonar/S6759": "off",
|
|
999
|
+
"sonar/S6761": "off",
|
|
1000
|
+
"sonar/S6763": "off",
|
|
1001
|
+
"sonar/S6766": "off",
|
|
1002
|
+
"sonar/S6767": "off",
|
|
1003
|
+
"sonar/S6770": "off",
|
|
1004
|
+
"sonar/S6772": "off",
|
|
1005
|
+
"sonar/S6774": "off",
|
|
1006
|
+
"sonar/S6775": "off",
|
|
1007
|
+
"sonar/S6788": "off",
|
|
1008
|
+
"sonar/S6789": "off",
|
|
1009
|
+
"sonar/S6790": "off",
|
|
1010
|
+
"sonar/S6791": "off",
|
|
1011
|
+
"sonar/S6793": "off",
|
|
1012
|
+
"sonar/S6807": "off",
|
|
1013
|
+
"sonar/S6811": "off",
|
|
1014
|
+
"sonar/S6819": "off",
|
|
1015
|
+
"sonar/S6821": "off",
|
|
1016
|
+
"sonar/S6822": "off",
|
|
1017
|
+
"sonar/S6823": "off",
|
|
1018
|
+
"sonar/S6824": "off",
|
|
1019
|
+
"sonar/S6825": "off",
|
|
1020
|
+
"sonar/S6827": "off",
|
|
1021
|
+
"sonar/S6836": "off",
|
|
1022
|
+
"sonar/S6840": "off",
|
|
1023
|
+
"sonar/S6841": "off",
|
|
1024
|
+
"sonar/S6842": "off",
|
|
1025
|
+
"sonar/S6843": "off",
|
|
1026
|
+
"sonar/S6844": "off",
|
|
1027
|
+
"sonar/S6845": "off",
|
|
1028
|
+
"sonar/S6846": "off",
|
|
1029
|
+
"sonar/S6847": "off",
|
|
1030
|
+
"sonar/S6848": "off",
|
|
1031
|
+
"sonar/S6850": "off",
|
|
1032
|
+
"sonar/S6851": "off",
|
|
1033
|
+
"sonar/S6852": "off",
|
|
1034
|
+
"sonar/S6853": "off",
|
|
1035
|
+
"sonar/S6859": "off",
|
|
1036
|
+
"sonar/S6861": "off",
|
|
1037
|
+
"sonar/S6957": "off",
|
|
1038
|
+
"sonar/S6958": "off",
|
|
1039
|
+
"sonar/S6959": "off",
|
|
1040
|
+
"sonar/S878": "off",
|
|
1041
|
+
"sonar/S881": "off",
|
|
1042
|
+
"sonar/S888": "off",
|
|
1043
|
+
"sonar/S905": "off",
|
|
1044
|
+
"sonar/S909": "off",
|
|
1045
|
+
"sonar/S930": "off",
|
|
1046
|
+
"sonar/accessor-pairs": "error",
|
|
1047
|
+
"sonar/alt-text": "error",
|
|
1048
|
+
"sonar/anchor-has-content": "error",
|
|
1049
|
+
"sonar/anchor-is-valid": "error",
|
|
1050
|
+
"sonar/anchor-precedence": "error",
|
|
1051
|
+
"sonar/argument-type": "error",
|
|
1052
|
+
"sonar/arguments-order": "error",
|
|
1053
|
+
"sonar/arguments-usage": "error",
|
|
1054
|
+
"sonar/array-callback-without-return": "error",
|
|
1055
|
+
"sonar/array-constructor": "error",
|
|
1056
|
+
"sonar/arrow-function-convention": "off",
|
|
1057
|
+
"sonar/assertions-in-tests": "error",
|
|
1058
|
+
"sonar/aws-apigateway-public-api": "error",
|
|
1059
|
+
"sonar/aws-ec2-rds-dms-public": "error",
|
|
1060
|
+
"sonar/aws-ec2-unencrypted-ebs-volume": "error",
|
|
1061
|
+
"sonar/aws-efs-unencrypted": "error",
|
|
1062
|
+
"sonar/aws-iam-all-privileges": "error",
|
|
1063
|
+
"sonar/aws-iam-all-resources-accessible": "error",
|
|
1064
|
+
"sonar/aws-iam-privilege-escalation": "error",
|
|
1065
|
+
"sonar/aws-iam-public-access": "error",
|
|
1066
|
+
"sonar/aws-opensearchservice-domain": "error",
|
|
1067
|
+
"sonar/aws-rds-unencrypted-databases": "error",
|
|
1068
|
+
"sonar/aws-restricted-ip-admin-access": "error",
|
|
1069
|
+
"sonar/aws-s3-bucket-granted-access": "error",
|
|
1070
|
+
"sonar/aws-s3-bucket-insecure-http": "error",
|
|
1071
|
+
"sonar/aws-s3-bucket-public-access": "error",
|
|
1072
|
+
"sonar/aws-s3-bucket-server-encryption": "off",
|
|
1073
|
+
"sonar/aws-s3-bucket-versioning": "error",
|
|
1074
|
+
"sonar/aws-sagemaker-unencrypted-notebook": "error",
|
|
1075
|
+
"sonar/aws-sns-unencrypted-topics": "error",
|
|
1076
|
+
"sonar/aws-sqs-unencrypted-queue": "error",
|
|
1077
|
+
"sonar/bitwise-operators": "error",
|
|
1078
|
+
"sonar/bool-param-default": "error",
|
|
1079
|
+
"sonar/brace-style": "off",
|
|
1080
|
+
"sonar/call-argument-line": "error",
|
|
1081
|
+
"sonar/certificate-transparency": "error",
|
|
1082
|
+
"sonar/chai-determinate-assertion": "error",
|
|
1083
|
+
"sonar/class-name": "error",
|
|
1084
|
+
"sonar/class-prototype": "error",
|
|
1085
|
+
"sonar/code-eval": "error",
|
|
1086
|
+
"sonar/cognitive-complexity": "error",
|
|
1087
|
+
"sonar/comma-or-logical-or-case": "error",
|
|
1088
|
+
"sonar/comment-regex": "off",
|
|
1089
|
+
"sonar/concise-regex": "error",
|
|
1090
|
+
"sonar/conditional-indentation": "off",
|
|
1091
|
+
"sonar/confidential-information-logging": "error",
|
|
1092
|
+
"sonar/constructor-for-side-effects": "error",
|
|
1093
|
+
"sonar/content-length": "error",
|
|
1094
|
+
"sonar/content-security-policy": "error",
|
|
1095
|
+
"sonar/cookie-no-httponly": "error",
|
|
1096
|
+
"sonar/cookies": "off",
|
|
1097
|
+
"sonar/cors": "error",
|
|
1098
|
+
"sonar/csrf": "error",
|
|
1099
|
+
"sonar/cyclomatic-complexity": "off",
|
|
1100
|
+
"sonar/declarations-in-global-scope": "error",
|
|
1101
|
+
"sonar/default-param-last": "error",
|
|
1102
|
+
"sonar/deprecation": "error",
|
|
1103
|
+
"sonar/destructuring-assignment-syntax": "error",
|
|
1104
|
+
"sonar/different-types-comparison": "error",
|
|
1105
|
+
"sonar/disabled-auto-escaping": "error",
|
|
1106
|
+
"sonar/disabled-resource-integrity": "error",
|
|
1107
|
+
"sonar/disabled-timeout": "error",
|
|
1108
|
+
"sonar/dns-prefetching": "off",
|
|
1109
|
+
"sonar/duplicates-in-character-class": "error",
|
|
1110
|
+
"sonar/elseif-without-else": "error",
|
|
1111
|
+
"sonar/empty-string-repetition": "error",
|
|
1112
|
+
"sonar/encryption": "off",
|
|
1113
|
+
"sonar/encryption-secure-mode": "error",
|
|
1114
|
+
"sonar/enforce-trailing-comma": "off",
|
|
1115
|
+
"sonar/existing-groups": "error",
|
|
1116
|
+
"sonar/expression-complexity": "error",
|
|
1117
|
+
"sonar/file-header": "off",
|
|
1118
|
+
"sonar/file-name-differ-from-class": "error",
|
|
1119
|
+
"sonar/file-permissions": "error",
|
|
1120
|
+
"sonar/file-uploads": "error",
|
|
1121
|
+
"sonar/fixme-tag": "error",
|
|
1122
|
+
"sonar/for-in": "error",
|
|
1123
|
+
"sonar/for-loop-increment-sign": "error",
|
|
1124
|
+
"sonar/frame-ancestors": "error",
|
|
1125
|
+
"sonar/function-inside-loop": "error",
|
|
1126
|
+
"sonar/function-name": [
|
|
1127
|
+
"error",
|
|
1128
|
+
{ format: "^(?:[a-z][a-zA-Z0-9]*|[A-Z][A-Z0-9]*)$" },
|
|
1129
|
+
],
|
|
1130
|
+
"sonar/function-return-type": "off",
|
|
1131
|
+
"sonar/future-reserved-words": "error",
|
|
1132
|
+
"sonar/generator-without-yield": "error",
|
|
1133
|
+
"sonar/hashing": "error",
|
|
1134
|
+
"sonar/hidden-files": "error",
|
|
1135
|
+
"sonar/hook-use-state": "error",
|
|
1136
|
+
"sonar/html-has-lang": "error",
|
|
1137
|
+
"sonar/in-operator-type-error": "error",
|
|
1138
|
+
"sonar/inconsistent-function-call": "error",
|
|
1139
|
+
"sonar/index-of-compare-to-positive-number": "error",
|
|
1140
|
+
"sonar/insecure-cookie": "error",
|
|
1141
|
+
"sonar/insecure-jwt-token": "error",
|
|
1142
|
+
"sonar/inverted-assertion-arguments": "error",
|
|
1143
|
+
"sonar/jsx-key": "error",
|
|
1144
|
+
"sonar/jsx-no-constructed-context-values": "error",
|
|
1145
|
+
"sonar/jsx-no-useless-fragment": "error",
|
|
1146
|
+
"sonar/label-has-associated-control": "error",
|
|
1147
|
+
"sonar/label-position": "error",
|
|
1148
|
+
"sonar/link-with-target-blank": "error",
|
|
1149
|
+
"sonar/max-switch-cases": "error",
|
|
1150
|
+
"sonar/max-union-size": "off",
|
|
1151
|
+
"sonar/media-has-caption": "error",
|
|
1152
|
+
"sonar/misplaced-loop-counter": "error",
|
|
1153
|
+
"sonar/mouse-events-a11y": "error",
|
|
1154
|
+
"sonar/nested-control-flow": "error",
|
|
1155
|
+
"sonar/new-cap": "off",
|
|
1156
|
+
"sonar/new-operator-misuse": "error",
|
|
1157
|
+
"sonar/no-accessor-field-mismatch": "error",
|
|
1158
|
+
"sonar/no-all-duplicated-branches": "error",
|
|
1159
|
+
"sonar/no-alphabetical-sort": "error",
|
|
1160
|
+
"sonar/no-angular-bypass-sanitization": "error",
|
|
1161
|
+
"sonar/no-array-delete": "error",
|
|
1162
|
+
"sonar/no-array-index-key": "error",
|
|
1163
|
+
"sonar/no-associative-arrays": "error",
|
|
1164
|
+
"sonar/no-base-to-string": "error",
|
|
1165
|
+
"sonar/no-built-in-override": "error",
|
|
1166
|
+
"sonar/no-case-label-in-switch": "error",
|
|
1167
|
+
"sonar/no-clear-text-protocols": "error",
|
|
1168
|
+
"sonar/no-code-after-done": "error",
|
|
1169
|
+
"sonar/no-collapsible-if": "error",
|
|
1170
|
+
"sonar/no-collection-size-mischeck": "error",
|
|
1171
|
+
"sonar/no-commented-code": "error",
|
|
1172
|
+
"sonar/no-dead-store": "error",
|
|
1173
|
+
"sonar/no-delete-var": "error",
|
|
1174
|
+
"sonar/no-deprecated-react": "error",
|
|
1175
|
+
"sonar/no-duplicate-in-composite": "error",
|
|
1176
|
+
"sonar/no-duplicate-string": "error",
|
|
1177
|
+
"sonar/no-duplicated-branches": "error",
|
|
1178
|
+
"sonar/no-element-overwrite": "error",
|
|
1179
|
+
"sonar/no-empty-after-reluctant": "error",
|
|
1180
|
+
"sonar/no-empty-alternatives": "error",
|
|
1181
|
+
"sonar/no-empty-collection": "error",
|
|
1182
|
+
"sonar/no-empty-function": "error",
|
|
1183
|
+
"sonar/no-empty-group": "error",
|
|
1184
|
+
"sonar/no-empty-interface": "error",
|
|
1185
|
+
"sonar/no-empty-test-file": "error",
|
|
1186
|
+
"sonar/no-equals-in-for-termination": "error",
|
|
1187
|
+
"sonar/no-exclusive-tests": "error",
|
|
1188
|
+
"sonar/no-extend-native": "error",
|
|
1189
|
+
"sonar/no-extra-arguments": "error",
|
|
1190
|
+
"sonar/no-extra-semi": "off",
|
|
1191
|
+
"sonar/no-find-dom-node": "error",
|
|
1192
|
+
"sonar/no-for-in-iterable": "error",
|
|
1193
|
+
"sonar/no-function-declaration-in-block": "error",
|
|
1194
|
+
"sonar/no-global-this": "error",
|
|
1195
|
+
"sonar/no-globals-shadowing": "error",
|
|
1196
|
+
"sonar/no-gratuitous-expressions": "error",
|
|
1197
|
+
"sonar/no-hardcoded-credentials": "error",
|
|
1198
|
+
"sonar/no-hardcoded-ip": "error",
|
|
1199
|
+
"sonar/no-hook-setter-in-body": "error",
|
|
1200
|
+
"sonar/no-identical-conditions": "error",
|
|
1201
|
+
"sonar/no-identical-expressions": "error",
|
|
1202
|
+
"sonar/no-identical-functions": "error",
|
|
1203
|
+
"sonar/no-ignored-exceptions": "error",
|
|
1204
|
+
"sonar/no-ignored-return": "error",
|
|
1205
|
+
"sonar/no-implicit-dependencies": "off",
|
|
1206
|
+
"sonar/no-implicit-global": "error",
|
|
1207
|
+
"sonar/no-in-misuse": "error",
|
|
1208
|
+
"sonar/no-incomplete-assertions": "error",
|
|
1209
|
+
"sonar/no-inconsistent-returns": "off",
|
|
1210
|
+
"sonar/no-incorrect-string-concat": "error",
|
|
1211
|
+
"sonar/no-infinite-loop": "error",
|
|
1212
|
+
"sonar/no-intrusive-permissions": "error",
|
|
1213
|
+
"sonar/no-invalid-await": "error",
|
|
1214
|
+
"sonar/no-invariant-returns": "error",
|
|
1215
|
+
"sonar/no-inverted-boolean-check": "error",
|
|
1216
|
+
"sonar/no-ip-forward": "error",
|
|
1217
|
+
"sonar/no-labels": "error",
|
|
1218
|
+
"sonar/no-literal-call": "error",
|
|
1219
|
+
"sonar/no-lonely-if": "error",
|
|
1220
|
+
"sonar/no-mime-sniff": "error",
|
|
1221
|
+
"sonar/no-misleading-array-reverse": "error",
|
|
1222
|
+
"sonar/no-misused-promises": "error",
|
|
1223
|
+
"sonar/no-mixed-content": "error",
|
|
1224
|
+
"sonar/no-nested-assignment": "error",
|
|
1225
|
+
"sonar/no-nested-conditional": "error",
|
|
1226
|
+
"sonar/no-nested-functions": "error",
|
|
1227
|
+
"sonar/no-nested-incdec": "error",
|
|
1228
|
+
"sonar/no-nested-switch": "error",
|
|
1229
|
+
"sonar/no-nested-template-literals": "error",
|
|
1230
|
+
"sonar/no-one-iteration-loop": "error",
|
|
1231
|
+
"sonar/no-os-command-from-path": "error",
|
|
1232
|
+
"sonar/no-parameter-reassignment": "error",
|
|
1233
|
+
"sonar/no-primitive-wrappers": "error",
|
|
1234
|
+
"sonar/no-redeclare": "error",
|
|
1235
|
+
"sonar/no-redundant-assignments": "error",
|
|
1236
|
+
"sonar/no-redundant-boolean": "error",
|
|
1237
|
+
"sonar/no-redundant-jump": "error",
|
|
1238
|
+
"sonar/no-redundant-optional": "error",
|
|
1239
|
+
"sonar/no-redundant-parentheses": "off",
|
|
1240
|
+
"sonar/no-redundant-type-constituents": "error",
|
|
1241
|
+
"sonar/no-reference-error": "off",
|
|
1242
|
+
"sonar/no-referrer-policy": "error",
|
|
1243
|
+
"sonar/no-require-or-define": "error",
|
|
1244
|
+
"sonar/no-return-type-any": "error",
|
|
1245
|
+
"sonar/no-same-argument-assert": "error",
|
|
1246
|
+
"sonar/no-same-line-conditional": "error",
|
|
1247
|
+
"sonar/no-self-compare": "error",
|
|
1248
|
+
"sonar/no-small-switch": "error",
|
|
1249
|
+
"sonar/no-tab": "off",
|
|
1250
|
+
"sonar/no-table-as-layout": "error",
|
|
1251
|
+
"sonar/no-this-alias": "error",
|
|
1252
|
+
"sonar/no-throw-literal": "error",
|
|
1253
|
+
"sonar/no-try-promise": "error",
|
|
1254
|
+
"sonar/no-undefined-argument": "error",
|
|
1255
|
+
"sonar/no-undefined-assignment": "off",
|
|
1256
|
+
"sonar/no-unenclosed-multiline-block": "error",
|
|
1257
|
+
"sonar/no-uniq-key": "error",
|
|
1258
|
+
"sonar/no-unknown-property": "error",
|
|
1259
|
+
"sonar/no-unreachable": "error",
|
|
1260
|
+
"sonar/no-unsafe": "error",
|
|
1261
|
+
"sonar/no-unsafe-unzip": "error",
|
|
1262
|
+
"sonar/no-unstable-nested-components": "error",
|
|
1263
|
+
"sonar/no-unthrown-error": "error",
|
|
1264
|
+
"sonar/no-unused-collection": "error",
|
|
1265
|
+
"sonar/no-unused-expressions": "error",
|
|
1266
|
+
"sonar/no-unused-function-argument": "error",
|
|
1267
|
+
"sonar/no-unused-private-class-members": "error",
|
|
1268
|
+
"sonar/no-use-of-empty-return-value": "error",
|
|
1269
|
+
"sonar/no-useless-call": "error",
|
|
1270
|
+
"sonar/no-useless-catch": "error",
|
|
1271
|
+
"sonar/no-useless-constructor": "error",
|
|
1272
|
+
"sonar/no-useless-increment": "error",
|
|
1273
|
+
"sonar/no-useless-intersection": "error",
|
|
1274
|
+
"sonar/no-useless-react-setstate": "error",
|
|
1275
|
+
"sonar/no-var": "error",
|
|
1276
|
+
"sonar/no-variable-usage-before-declaration": "error",
|
|
1277
|
+
"sonar/no-vue-bypass-sanitization": "error",
|
|
1278
|
+
"sonar/no-weak-cipher": "error",
|
|
1279
|
+
"sonar/no-weak-keys": "error",
|
|
1280
|
+
"sonar/no-wildcard-import": "error",
|
|
1281
|
+
"sonar/non-existent-operator": "error",
|
|
1282
|
+
"sonar/non-number-in-arithmetic-expression": "error",
|
|
1283
|
+
"sonar/null-dereference": "error",
|
|
1284
|
+
"sonar/object-alt-content": "error",
|
|
1285
|
+
"sonar/object-shorthand": "error",
|
|
1286
|
+
"sonar/operation-returning-nan": "error",
|
|
1287
|
+
"sonar/os-command": "error",
|
|
1288
|
+
"sonar/post-message": "error",
|
|
1289
|
+
"sonar/prefer-default-last": "error",
|
|
1290
|
+
"sonar/prefer-enum-initializers": "error",
|
|
1291
|
+
"sonar/prefer-for-of": "error",
|
|
1292
|
+
"sonar/prefer-function-type": "error",
|
|
1293
|
+
"sonar/prefer-immediate-return": "error",
|
|
1294
|
+
"sonar/prefer-namespace-keyword": "error",
|
|
1295
|
+
"sonar/prefer-nullish-coalescing": "error",
|
|
1296
|
+
"sonar/prefer-object-literal": "error",
|
|
1297
|
+
"sonar/prefer-object-spread": "error",
|
|
1298
|
+
"sonar/prefer-promise-shorthand": "error",
|
|
1299
|
+
"sonar/prefer-single-boolean-return": "error",
|
|
1300
|
+
"sonar/prefer-spread": "error",
|
|
1301
|
+
"sonar/prefer-string-starts-ends-with": "error",
|
|
1302
|
+
"sonar/prefer-template": "error",
|
|
1303
|
+
"sonar/prefer-type-guard": "error",
|
|
1304
|
+
"sonar/prefer-while": "error",
|
|
1305
|
+
"sonar/process-argv": "off",
|
|
1306
|
+
"sonar/production-debug": "error",
|
|
1307
|
+
"sonar/pseudo-random": "error",
|
|
1308
|
+
"sonar/public-static-readonly": "error",
|
|
1309
|
+
"sonar/publicly-writable-directories": "error",
|
|
1310
|
+
"sonar/reduce-initial-value": "error",
|
|
1311
|
+
"sonar/redundant-type-aliases": "error",
|
|
1312
|
+
"sonar/regex-complexity": "error",
|
|
1313
|
+
"sonar/regular-expr": "off",
|
|
1314
|
+
"sonar/pluginRules-of-hooks": "error",
|
|
1315
|
+
"sonar/semi": "off",
|
|
1316
|
+
"sonar/session-regeneration": "error",
|
|
1317
|
+
"sonar/shorthand-property-grouping": "off",
|
|
1318
|
+
"sonar/single-char-in-character-classes": "error",
|
|
1319
|
+
"sonar/single-character-alternation": "error",
|
|
1320
|
+
"sonar/slow-regex": "error",
|
|
1321
|
+
"sonar/sockets": "off",
|
|
1322
|
+
"sonar/sonar-block-scoped-var": "error",
|
|
1323
|
+
"sonar/sonar-jsx-no-leaked-render": "error",
|
|
1324
|
+
"sonar/sonar-max-lines": "error",
|
|
1325
|
+
"sonar/sonar-max-lines-per-function": "error",
|
|
1326
|
+
"sonar/sonar-max-params": "error",
|
|
1327
|
+
"sonar/sonar-no-control-regex": "error",
|
|
1328
|
+
"sonar/sonar-no-dupe-keys": "error",
|
|
1329
|
+
"sonar/sonar-no-empty-character-class": "error",
|
|
1330
|
+
"sonar/sonar-no-fallthrough": "off",
|
|
1331
|
+
"sonar/sonar-no-invalid-regexp": "error",
|
|
1332
|
+
"sonar/sonar-no-magic-numbers": "off",
|
|
1333
|
+
"sonar/sonar-no-misleading-character-class": "error",
|
|
1334
|
+
"sonar/sonar-no-regex-spaces": "error",
|
|
1335
|
+
"sonar/sonar-no-unused-class-component-methods": "error",
|
|
1336
|
+
"sonar/sonar-no-unused-vars": "error",
|
|
1337
|
+
"sonar/sonar-prefer-optional-chain": "error",
|
|
1338
|
+
"sonar/sonar-prefer-read-only-props": "error",
|
|
1339
|
+
"sonar/sonar-prefer-regexp-exec": "error",
|
|
1340
|
+
"sonar/sql-queries": "error",
|
|
1341
|
+
"sonar/stable-tests": "error",
|
|
1342
|
+
"sonar/standard-input": "off",
|
|
1343
|
+
"sonar/stateful-regex": "error",
|
|
1344
|
+
"sonar/strict-transport-security": "error",
|
|
1345
|
+
"sonar/strings-comparison": "error",
|
|
1346
|
+
"sonar/super-invocation": "error",
|
|
1347
|
+
"sonar/switch-without-default": "off",
|
|
1348
|
+
"sonar/table-header": "error",
|
|
1349
|
+
"sonar/table-header-reference": "error",
|
|
1350
|
+
"sonar/test-check-exception": "error",
|
|
1351
|
+
"sonar/todo-tag": "off",
|
|
1352
|
+
"sonar/too-many-break-or-continue-in-loop": "error",
|
|
1353
|
+
"sonar/unicode-aware-regex": "error",
|
|
1354
|
+
"sonar/unnecessary-character-escapes": "error",
|
|
1355
|
+
"sonar/unused-import": "error",
|
|
1356
|
+
"sonar/unused-named-groups": "error",
|
|
1357
|
+
"sonar/unverified-certificate": "error",
|
|
1358
|
+
"sonar/unverified-hostname": "error",
|
|
1359
|
+
"sonar/updated-const-var": "error",
|
|
1360
|
+
"sonar/updated-loop-counter": "error",
|
|
1361
|
+
"sonar/use-isnan": "error",
|
|
1362
|
+
"sonar/use-type-alias": "error",
|
|
1363
|
+
"sonar/useless-string-operation": "off",
|
|
1364
|
+
"sonar/values-not-convertible-to-numbers": "error",
|
|
1365
|
+
"sonar/variable-name": "error",
|
|
1366
|
+
"sonar/void-use": "error",
|
|
1367
|
+
"sonar/weak-ssl": "error",
|
|
1368
|
+
"sonar/web-sql-database": "off",
|
|
1369
|
+
"sonar/x-powered-by": "error",
|
|
1370
|
+
"sonar/xml-parser-xxe": "error",
|
|
1371
|
+
"sonar/xpath": "off",
|
|
1372
|
+
"@tanstack/query/exhaustive-deps": "error",
|
|
1373
|
+
"@tanstack/query/stable-query-client": "error",
|
|
1374
|
+
"@tanstack/query/no-rest-destructuring": "error",
|
|
1375
|
+
"@tanstack/query/no-unstable-deps": "error",
|
|
1376
|
+
"tailwind/classnames-order": "error",
|
|
1377
|
+
"tailwind/enforces-negative-arbitrary-values": "error",
|
|
1378
|
+
"tailwind/enforces-shorthand": "error",
|
|
1379
|
+
"tailwind/migration-from-tailwind-2": "error",
|
|
1380
|
+
"tailwind/no-arbitrary-value": "error",
|
|
1381
|
+
"tailwind/no-contradicting-classname": "error",
|
|
1382
|
+
"tailwind/no-custom-classname": "off",
|
|
1383
|
+
"tailwind/no-unnecessary-arbitrary-value": "error",
|
|
1384
|
+
"stylistic/array-bracket-newline": ["error", "consistent"],
|
|
1385
|
+
"stylistic/array-bracket-spacing": "error",
|
|
1386
|
+
"stylistic/array-element-newline": ["error", "consistent"],
|
|
1387
|
+
"stylistic/arrow-parens": "error",
|
|
1388
|
+
"stylistic/arrow-spacing": "error",
|
|
1389
|
+
"stylistic/block-spacing": "error",
|
|
1390
|
+
"stylistic/brace-style": "error",
|
|
1391
|
+
"stylistic/comma-dangle": ["error", "always-multiline"],
|
|
1392
|
+
"stylistic/comma-spacing": "error",
|
|
1393
|
+
"stylistic/comma-style": "error",
|
|
1394
|
+
"stylistic/computed-property-spacing": "error",
|
|
1395
|
+
"stylistic/dot-location": ["error", "property"],
|
|
1396
|
+
"stylistic/eol-last": "error",
|
|
1397
|
+
"stylistic/func-call-spacing": "error",
|
|
1398
|
+
"stylistic/function-call-argument-newline": ["error", "consistent"],
|
|
1399
|
+
"stylistic/function-call-spacing": "error",
|
|
1400
|
+
"stylistic/function-paren-newline": ["error", "consistent"],
|
|
1401
|
+
"stylistic/generator-star-spacing": "error",
|
|
1402
|
+
"stylistic/implicit-arrow-linebreak": "error",
|
|
1403
|
+
"stylistic/indent": ["error", 2],
|
|
1404
|
+
"stylistic/jsx-quotes": "error",
|
|
1405
|
+
"stylistic/key-spacing": "error",
|
|
1406
|
+
"stylistic/keyword-spacing": "error",
|
|
1407
|
+
"stylistic/line-comment-position": "off",
|
|
1408
|
+
"stylistic/linebreak-style": "error",
|
|
1409
|
+
"stylistic/lines-around-comment": "error",
|
|
1410
|
+
"stylistic/lines-between-class-members": "error",
|
|
1411
|
+
"stylistic/max-len": [
|
|
1412
|
+
"error",
|
|
1413
|
+
{
|
|
1414
|
+
ignoreComments: true,
|
|
1415
|
+
ignoreTrailingComments: true,
|
|
1416
|
+
ignoreUrls: true,
|
|
1417
|
+
ignoreStrings: true,
|
|
1418
|
+
ignoreTemplateLiterals: true,
|
|
1419
|
+
ignoreRegExpLiterals: true,
|
|
1420
|
+
},
|
|
1421
|
+
],
|
|
1422
|
+
"stylistic/max-statements-per-line": "error",
|
|
1423
|
+
"stylistic/multiline-comment-style": "off",
|
|
1424
|
+
"stylistic/multiline-ternary": "error",
|
|
1425
|
+
"stylistic/new-parens": "error",
|
|
1426
|
+
"stylistic/newline-per-chained-call": "error",
|
|
1427
|
+
"stylistic/no-confusing-arrow": "error",
|
|
1428
|
+
"stylistic/no-extra-parens": [
|
|
1429
|
+
"error",
|
|
1430
|
+
"all",
|
|
1431
|
+
{ ignoreJSX: "multi-line" },
|
|
1432
|
+
],
|
|
1433
|
+
"stylistic/no-extra-semi": "error",
|
|
1434
|
+
"stylistic/no-floating-decimal": "error",
|
|
1435
|
+
"stylistic/no-mixed-operators": "error",
|
|
1436
|
+
"stylistic/no-mixed-spaces-and-tabs": "error",
|
|
1437
|
+
"stylistic/no-multi-spaces": "error",
|
|
1438
|
+
"stylistic/no-multiple-empty-lines": "error",
|
|
1439
|
+
"stylistic/no-tabs": "error",
|
|
1440
|
+
"stylistic/no-trailing-spaces": "error",
|
|
1441
|
+
"stylistic/no-whitespace-before-property": "error",
|
|
1442
|
+
"stylistic/nonblock-statement-body-position": "error",
|
|
1443
|
+
"stylistic/object-curly-newline": [
|
|
1444
|
+
"error",
|
|
1445
|
+
{ multiline: true, consistent: true },
|
|
1446
|
+
],
|
|
1447
|
+
"stylistic/object-curly-spacing": ["error", "always"],
|
|
1448
|
+
"stylistic/object-property-newline": "error",
|
|
1449
|
+
"stylistic/one-var-declaration-per-line": "error",
|
|
1450
|
+
"stylistic/operator-linebreak": "error",
|
|
1451
|
+
"stylistic/padded-blocks": ["error", "never"],
|
|
1452
|
+
"stylistic/padding-line-between-statements": "error",
|
|
1453
|
+
"stylistic/quote-props": ["error", "as-needed"],
|
|
1454
|
+
"stylistic/quotes": "error",
|
|
1455
|
+
"stylistic/rest-spread-spacing": "error",
|
|
1456
|
+
"stylistic/semi": "error",
|
|
1457
|
+
"stylistic/semi-spacing": "error",
|
|
1458
|
+
"stylistic/semi-style": "error",
|
|
1459
|
+
"stylistic/space-before-blocks": "error",
|
|
1460
|
+
"stylistic/space-before-function-paren": [
|
|
1461
|
+
"error",
|
|
1462
|
+
{ anonymous: "always", named: "never", asyncArrow: "always" },
|
|
1463
|
+
],
|
|
1464
|
+
"stylistic/space-in-parens": "error",
|
|
1465
|
+
"stylistic/space-infix-ops": "error",
|
|
1466
|
+
"stylistic/space-unary-ops": "error",
|
|
1467
|
+
"stylistic/spaced-comment": "error",
|
|
1468
|
+
"stylistic/switch-colon-spacing": "error",
|
|
1469
|
+
"stylistic/template-curly-spacing": "error",
|
|
1470
|
+
"stylistic/template-tag-spacing": "error",
|
|
1471
|
+
"stylistic/wrap-iife": "error",
|
|
1472
|
+
"stylistic/wrap-regex": "error",
|
|
1473
|
+
"stylistic/yield-star-spacing": "error",
|
|
1474
|
+
"stylistic/jsx-child-element-spacing": "error",
|
|
1475
|
+
"stylistic/jsx-closing-bracket-location": "error",
|
|
1476
|
+
"stylistic/jsx-closing-tag-location": "error",
|
|
1477
|
+
"stylistic/jsx-curly-brace-presence": "error",
|
|
1478
|
+
"stylistic/jsx-curly-newline": "error",
|
|
1479
|
+
"stylistic/jsx-curly-spacing": "error",
|
|
1480
|
+
"stylistic/jsx-equals-spacing": "error",
|
|
1481
|
+
"stylistic/jsx-first-prop-new-line": "error",
|
|
1482
|
+
"stylistic/jsx-function-call-newline": "error",
|
|
1483
|
+
"stylistic/jsx-indent": "off",
|
|
1484
|
+
"stylistic/jsx-indent-props": ["error", 2],
|
|
1485
|
+
"stylistic/jsx-max-props-per-line": "error",
|
|
1486
|
+
"stylistic/jsx-newline": ["error", { prevent: true }],
|
|
1487
|
+
"stylistic/jsx-one-expression-per-line": "error",
|
|
1488
|
+
"stylistic/jsx-pascal-case": "error",
|
|
1489
|
+
"stylistic/jsx-props-no-multi-spaces": "error",
|
|
1490
|
+
"stylistic/jsx-self-closing-comp": "error",
|
|
1491
|
+
"stylistic/jsx-sort-props": "off",
|
|
1492
|
+
"stylistic/jsx-tag-spacing": "error",
|
|
1493
|
+
"stylistic/jsx-wrap-multilines": [
|
|
1494
|
+
"error",
|
|
1495
|
+
{ declaration: "parens-new-line" },
|
|
1496
|
+
],
|
|
1497
|
+
"stylistic/member-delimiter-style": "error",
|
|
1498
|
+
"stylistic/type-annotation-spacing": "error",
|
|
1499
|
+
"stylistic/indent-binary-ops": "error",
|
|
1500
|
+
"stylistic/type-generic-spacing": "error",
|
|
1501
|
+
"stylistic/type-named-tuple-spacing": "error",
|
|
1502
|
+
"perfectionist/sort-variable-declarations": [
|
|
1503
|
+
"error",
|
|
1504
|
+
{ order: "asc", type: "alphabetical" },
|
|
1505
|
+
],
|
|
1506
|
+
"perfectionist/sort-intersection-types": "error",
|
|
1507
|
+
"perfectionist/sort-svelte-attributes": [
|
|
1508
|
+
"error",
|
|
1509
|
+
{ groups: ["svelte-shorthand", "shorthand", "multiline"] },
|
|
1510
|
+
],
|
|
1511
|
+
"perfectionist/sort-astro-attributes": [
|
|
1512
|
+
"error",
|
|
1513
|
+
{ groups: ["astro-shorthand", "shorthand", "multiline"] },
|
|
1514
|
+
],
|
|
1515
|
+
"perfectionist/sort-vue-attributes": [
|
|
1516
|
+
"error",
|
|
1517
|
+
{ groups: ["shorthand", "multiline"] },
|
|
1518
|
+
],
|
|
1519
|
+
"perfectionist/sort-array-includes": "error",
|
|
1520
|
+
"perfectionist/sort-named-imports": "error",
|
|
1521
|
+
"perfectionist/sort-named-exports": "error",
|
|
1522
|
+
"perfectionist/sort-object-types": "error",
|
|
1523
|
+
"perfectionist/sort-union-types": "error",
|
|
1524
|
+
"perfectionist/sort-switch-case": [
|
|
1525
|
+
"error",
|
|
1526
|
+
{ order: "asc", type: "alphabetical" },
|
|
1527
|
+
],
|
|
1528
|
+
"perfectionist/sort-interfaces": "error",
|
|
1529
|
+
"perfectionist/sort-jsx-props": [
|
|
1530
|
+
"error",
|
|
1531
|
+
{ groups: ["shorthand", "multiline"] },
|
|
1532
|
+
],
|
|
1533
|
+
"perfectionist/sort-classes": "error",
|
|
1534
|
+
"perfectionist/sort-imports": [
|
|
1535
|
+
"error",
|
|
1536
|
+
{
|
|
1537
|
+
groups: [
|
|
1538
|
+
"type",
|
|
1539
|
+
["builtin", "external"],
|
|
1540
|
+
"internal-type",
|
|
1541
|
+
"internal",
|
|
1542
|
+
["parent-type", "sibling-type", "index-type"],
|
|
1543
|
+
["parent", "sibling", "index"],
|
|
1544
|
+
"object",
|
|
1545
|
+
"unknown",
|
|
1546
|
+
],
|
|
1547
|
+
newlinesBetween: "always",
|
|
1548
|
+
},
|
|
1549
|
+
],
|
|
1550
|
+
"perfectionist/sort-exports": "error",
|
|
1551
|
+
"perfectionist/sort-objects": "error",
|
|
1552
|
+
"perfectionist/sort-enums": "error",
|
|
1553
|
+
"perfectionist/sort-maps": "error",
|
|
1554
|
+
"a11y/accessible-emoji": "off",
|
|
1555
|
+
"a11y/alt-text": "error",
|
|
1556
|
+
"a11y/anchor-ambiguous-text": "error",
|
|
1557
|
+
"a11y/anchor-has-content": "error",
|
|
1558
|
+
"a11y/anchor-is-valid": "error",
|
|
1559
|
+
"a11y/aria-activedescendant-has-tabindex": "error",
|
|
1560
|
+
"a11y/aria-props": "error",
|
|
1561
|
+
"a11y/aria-proptypes": "error",
|
|
1562
|
+
"a11y/aria-role": "error",
|
|
1563
|
+
"a11y/aria-unsupported-elements": "error",
|
|
1564
|
+
"a11y/autocomplete-valid": "error",
|
|
1565
|
+
"a11y/click-events-have-key-events": "error",
|
|
1566
|
+
"a11y/control-has-associated-label": "error",
|
|
1567
|
+
"a11y/heading-has-content": "error",
|
|
1568
|
+
"a11y/html-has-lang": "error",
|
|
1569
|
+
"a11y/iframe-has-title": "error",
|
|
1570
|
+
"a11y/img-redundant-alt": "error",
|
|
1571
|
+
"a11y/interactive-supports-focus": "error",
|
|
1572
|
+
"a11y/label-has-associated-control": "error",
|
|
1573
|
+
"a11y/label-has-for": "off",
|
|
1574
|
+
"a11y/lang": "error",
|
|
1575
|
+
"a11y/media-has-caption": "off",
|
|
1576
|
+
"a11y/mouse-events-have-key-events": "error",
|
|
1577
|
+
"a11y/no-access-key": "error",
|
|
1578
|
+
"a11y/no-aria-hidden-on-focusable": "error",
|
|
1579
|
+
"a11y/no-autofocus": "error",
|
|
1580
|
+
"a11y/no-distracting-elements": "error",
|
|
1581
|
+
"a11y/no-interactive-element-to-noninteractive-role": "error",
|
|
1582
|
+
"a11y/no-noninteractive-element-interactions": "error",
|
|
1583
|
+
"a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
1584
|
+
"a11y/no-noninteractive-tabindex": "error",
|
|
1585
|
+
"a11y/no-onchange": "off",
|
|
1586
|
+
"a11y/no-redundant-roles": "error",
|
|
1587
|
+
"a11y/no-static-element-interactions": "error",
|
|
1588
|
+
"a11y/prefer-tag-over-role": "error",
|
|
1589
|
+
"a11y/role-has-required-aria-props": "error",
|
|
1590
|
+
"a11y/role-supports-aria-props": "error",
|
|
1591
|
+
"a11y/scope": "error",
|
|
1592
|
+
"a11y/tabindex-no-positive": "error",
|
|
1593
|
+
"array-bracket-newline": "off",
|
|
1594
|
+
"array-bracket-spacing": "off",
|
|
1595
|
+
"array-element-newline": "off",
|
|
1596
|
+
"arrow-parens": "off",
|
|
1597
|
+
"arrow-spacing": "off",
|
|
1598
|
+
"block-spacing": "off",
|
|
1599
|
+
"brace-style": "off",
|
|
1600
|
+
"callback-return": "off",
|
|
1601
|
+
"comma-dangle": "off",
|
|
1602
|
+
"comma-spacing": "off",
|
|
1603
|
+
"comma-style": "off",
|
|
1604
|
+
"computed-property-spacing": "off",
|
|
1605
|
+
"dot-location": "off",
|
|
1606
|
+
"eol-last": "off",
|
|
1607
|
+
"func-call-spacing": "off",
|
|
1608
|
+
"function-call-argument-newline": "off",
|
|
1609
|
+
"function-paren-newline": "off",
|
|
1610
|
+
"generator-star-spacing": "off",
|
|
1611
|
+
"global-require": "off",
|
|
1612
|
+
"handle-callback-err": "off",
|
|
1613
|
+
"id-blacklist": "off",
|
|
1614
|
+
"implicit-arrow-linebreak": "off",
|
|
1615
|
+
indent: "off",
|
|
1616
|
+
"indent-legacy": "off",
|
|
1617
|
+
"jsx-quotes": "off",
|
|
1618
|
+
"key-spacing": "off",
|
|
1619
|
+
"keyword-spacing": "off",
|
|
1620
|
+
"line-comment-position": "off",
|
|
1621
|
+
"linebreak-style": "off",
|
|
1622
|
+
"lines-around-comment": "off",
|
|
1623
|
+
"lines-around-directive": "off",
|
|
1624
|
+
"lines-between-class-members": "off",
|
|
1625
|
+
"max-len": "off",
|
|
1626
|
+
"max-statements-per-line": "off",
|
|
1627
|
+
"multiline-comment-style": "off",
|
|
1628
|
+
"multiline-ternary": "off",
|
|
1629
|
+
"new-parens": "off",
|
|
1630
|
+
"newline-after-var": "off",
|
|
1631
|
+
"newline-before-return": "off",
|
|
1632
|
+
"newline-per-chained-call": "off",
|
|
1633
|
+
"no-buffer-constructor": "off",
|
|
1634
|
+
"no-catch-shadow": "off",
|
|
1635
|
+
"no-confusing-arrow": "off",
|
|
1636
|
+
"no-extra-parens": "off",
|
|
1637
|
+
"no-extra-semi": "off",
|
|
1638
|
+
"no-floating-decimal": "off",
|
|
1639
|
+
"no-mixed-operators": "off",
|
|
1640
|
+
"no-mixed-requires": "off",
|
|
1641
|
+
"no-mixed-spaces-and-tabs": "off",
|
|
1642
|
+
"no-multi-spaces": "off",
|
|
1643
|
+
"no-multiple-empty-lines": "off",
|
|
1644
|
+
"no-native-reassign": "off",
|
|
1645
|
+
"no-negated-in-lhs": "off",
|
|
1646
|
+
"no-new-object": "off",
|
|
1647
|
+
"no-new-require": "off",
|
|
1648
|
+
"no-new-symbol": "off",
|
|
1649
|
+
"no-path-concat": "off",
|
|
1650
|
+
"no-process-env": "off",
|
|
1651
|
+
"no-process-exit": "off",
|
|
1652
|
+
"no-restricted-modules": "off",
|
|
1653
|
+
"no-return-await": "off",
|
|
1654
|
+
"no-spaced-func": "off",
|
|
1655
|
+
"no-sync": "off",
|
|
1656
|
+
"no-tabs": "off",
|
|
1657
|
+
"no-trailing-spaces": "off",
|
|
1658
|
+
"no-whitespace-before-property": "off",
|
|
1659
|
+
"nonblock-statement-body-position": "off",
|
|
1660
|
+
"object-curly-newline": "off",
|
|
1661
|
+
"object-curly-spacing": "off",
|
|
1662
|
+
"object-property-newline": "off",
|
|
1663
|
+
"one-var-declaration-per-line": "off",
|
|
1664
|
+
"operator-linebreak": "off",
|
|
1665
|
+
"padded-blocks": "off",
|
|
1666
|
+
"padding-line-between-statements": "off",
|
|
1667
|
+
"prefer-reflect": "off",
|
|
1668
|
+
"quote-props": "off",
|
|
1669
|
+
quotes: "off",
|
|
1670
|
+
"rest-spread-spacing": "off",
|
|
1671
|
+
semi: "off",
|
|
1672
|
+
"semi-spacing": "off",
|
|
1673
|
+
"semi-style": "off",
|
|
1674
|
+
"space-before-blocks": "off",
|
|
1675
|
+
"space-before-function-paren": "off",
|
|
1676
|
+
"space-in-parens": "off",
|
|
1677
|
+
"space-infix-ops": "off",
|
|
1678
|
+
"space-unary-ops": "off",
|
|
1679
|
+
"spaced-comment": "off",
|
|
1680
|
+
"switch-colon-spacing": "off",
|
|
1681
|
+
"template-curly-spacing": "off",
|
|
1682
|
+
"template-tag-spacing": "off",
|
|
1683
|
+
"wrap-iife": "off",
|
|
1684
|
+
"wrap-regex": "off",
|
|
1685
|
+
"yield-star-spacing": "off",
|
|
1686
|
+
},
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
files: ["**/*.md"],
|
|
1690
|
+
plugins: {
|
|
1691
|
+
markdown,
|
|
1692
|
+
},
|
|
1693
|
+
rules: {
|
|
1694
|
+
"markdown/fenced-code-language": "error",
|
|
1695
|
+
"markdown/heading-increment": "error",
|
|
1696
|
+
"markdown/no-duplicate-headings": "error",
|
|
1697
|
+
"markdown/no-empty-links": "error",
|
|
1698
|
+
"markdown/no-html": "error",
|
|
1699
|
+
"markdown/no-invalid-label-refs": "error",
|
|
1700
|
+
"markdown/no-missing-label-refs": "error",
|
|
1701
|
+
},
|
|
44
1702
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"accessor-pairs": "error",
|
|
53
|
-
"array-callback-return": "error",
|
|
54
|
-
"arrow-body-style": ["error", "always"],
|
|
55
|
-
"block-scoped-var": "error",
|
|
56
|
-
camelcase: "off",
|
|
57
|
-
"capitalized-comments": "off",
|
|
58
|
-
"class-methods-use-this": "off",
|
|
59
|
-
complexity: "off",
|
|
60
|
-
"consistent-return": "off",
|
|
61
|
-
"consistent-this": "off",
|
|
62
|
-
"constructor-super": "error",
|
|
63
|
-
curly: "off",
|
|
64
|
-
"default-case": "off",
|
|
65
|
-
"default-case-last": "off",
|
|
66
|
-
"default-param-last": "off",
|
|
67
|
-
"dot-notation": "off",
|
|
68
|
-
eqeqeq: "error",
|
|
69
|
-
"for-direction": "error",
|
|
70
|
-
"func-name-matching": "error",
|
|
71
|
-
"func-names": "off",
|
|
72
|
-
"func-style": ["error", "declaration", { allowArrowFunctions: true }],
|
|
73
|
-
"getter-return": "error",
|
|
74
|
-
"grouped-accessor-pairs": "error",
|
|
75
|
-
"guard-for-in": "error",
|
|
76
|
-
"id-denylist": "off",
|
|
77
|
-
"id-length": "off",
|
|
78
|
-
"id-match": "off",
|
|
79
|
-
"init-declarations": "off",
|
|
80
|
-
"logical-assignment-operators": "error",
|
|
81
|
-
"max-classes-per-file": "error",
|
|
82
|
-
"max-depth": "error",
|
|
83
|
-
"max-lines": "off",
|
|
84
|
-
"max-lines-per-function": "off",
|
|
85
|
-
"max-nested-callbacks": "error",
|
|
86
|
-
"max-params": "off",
|
|
87
|
-
"max-statements": "error",
|
|
88
|
-
"new-cap": "off",
|
|
89
|
-
"no-alert": "error",
|
|
90
|
-
"no-array-constructor": "off",
|
|
91
|
-
"no-async-promise-executor": "error",
|
|
92
|
-
"no-await-in-loop": "error",
|
|
93
|
-
"no-bitwise": "error",
|
|
94
|
-
"no-caller": "error",
|
|
95
|
-
"no-case-declarations": "error",
|
|
96
|
-
"no-class-assign": "error",
|
|
97
|
-
"no-compare-neg-zero": "error",
|
|
98
|
-
"no-cond-assign": "error",
|
|
99
|
-
"no-console": "error",
|
|
100
|
-
"no-const-assign": "error",
|
|
101
|
-
"no-constant-binary-expression": "error",
|
|
102
|
-
"no-constant-condition": "error",
|
|
103
|
-
"no-constructor-return": "error",
|
|
104
|
-
"no-continue": "error",
|
|
105
|
-
"no-control-regex": "error",
|
|
106
|
-
"no-debugger": "error",
|
|
107
|
-
"no-delete-var": "error",
|
|
108
|
-
"no-div-regex": "error",
|
|
109
|
-
"no-dupe-args": "error",
|
|
110
|
-
"no-dupe-class-members": "error",
|
|
111
|
-
"no-dupe-else-if": "error",
|
|
112
|
-
"no-dupe-keys": "error",
|
|
113
|
-
"no-duplicate-case": "error",
|
|
114
|
-
"no-duplicate-imports": "off",
|
|
115
|
-
"no-else-return": "error",
|
|
116
|
-
"no-empty": "error",
|
|
117
|
-
"no-empty-character-class": "error",
|
|
118
|
-
"no-empty-function": "off",
|
|
119
|
-
"no-empty-pattern": "error",
|
|
120
|
-
"no-empty-static-block": "error",
|
|
121
|
-
"no-eq-null": "error",
|
|
122
|
-
"no-eval": "error",
|
|
123
|
-
"no-ex-assign": "error",
|
|
124
|
-
"no-extend-native": "error",
|
|
125
|
-
"no-extra-bind": "error",
|
|
126
|
-
"no-extra-boolean-cast": "error",
|
|
127
|
-
"no-extra-label": "error",
|
|
128
|
-
"no-fallthrough": "error",
|
|
129
|
-
"no-func-assign": "error",
|
|
130
|
-
"no-global-assign": "error",
|
|
131
|
-
"no-implicit-coercion": "error",
|
|
132
|
-
"no-implicit-globals": "off",
|
|
133
|
-
"no-implied-eval": "off",
|
|
134
|
-
"no-import-assign": "error",
|
|
135
|
-
"no-inline-comments": "off",
|
|
136
|
-
"no-inner-declarations": "error",
|
|
137
|
-
"no-invalid-regexp": "error",
|
|
138
|
-
"no-invalid-this": "error",
|
|
139
|
-
"no-irregular-whitespace": "error",
|
|
140
|
-
"no-iterator": "error",
|
|
141
|
-
"no-label-var": "error",
|
|
142
|
-
"no-labels": "error",
|
|
143
|
-
"no-lone-blocks": "error",
|
|
144
|
-
"no-lonely-if": "error",
|
|
145
|
-
"no-loop-func": "error",
|
|
146
|
-
"no-loss-of-precision": "error",
|
|
147
|
-
"no-magic-numbers": "off",
|
|
148
|
-
"no-misleading-character-class": "error",
|
|
149
|
-
"no-multi-assign": "error",
|
|
150
|
-
"no-multi-str": "error",
|
|
151
|
-
"no-negated-condition": "error",
|
|
152
|
-
"no-nested-ternary": "error",
|
|
153
|
-
"no-new": "error",
|
|
154
|
-
"no-new-func": "error",
|
|
155
|
-
"no-new-native-nonconstructor": "error",
|
|
156
|
-
"no-new-wrappers": "error",
|
|
157
|
-
"no-nonoctal-decimal-escape": "error",
|
|
158
|
-
"no-obj-calls": "error",
|
|
159
|
-
"no-object-constructor": "error",
|
|
160
|
-
"no-octal": "error",
|
|
161
|
-
"no-octal-escape": "error",
|
|
162
|
-
"no-param-reassign": "error",
|
|
163
|
-
"no-plusplus": "error",
|
|
164
|
-
"no-promise-executor-return": "error",
|
|
165
|
-
"no-proto": "error",
|
|
166
|
-
"no-prototype-builtins": "error",
|
|
167
|
-
"no-redeclare": "off",
|
|
168
|
-
"no-regex-spaces": "error",
|
|
169
|
-
"no-restricted-exports": "off",
|
|
170
|
-
"no-restricted-globals": "off",
|
|
171
|
-
"no-restricted-imports": "off",
|
|
172
|
-
"no-restricted-properties": "off",
|
|
173
|
-
"no-restricted-syntax": "off",
|
|
174
|
-
"no-return-assign": "error",
|
|
175
|
-
"no-script-url": "error",
|
|
176
|
-
"no-self-assign": "error",
|
|
177
|
-
"no-self-compare": "error",
|
|
178
|
-
"no-sequences": "error",
|
|
179
|
-
"no-setter-return": "error",
|
|
180
|
-
"no-shadow": "off",
|
|
181
|
-
"no-shadow-restricted-names": "error",
|
|
182
|
-
"no-sparse-arrays": "error",
|
|
183
|
-
"no-template-curly-in-string": "off",
|
|
184
|
-
"no-ternary": "off",
|
|
185
|
-
"no-this-before-super": "error",
|
|
186
|
-
"no-throw-literal": "off",
|
|
187
|
-
"no-undef": "off",
|
|
188
|
-
"no-undef-init": "error",
|
|
189
|
-
"no-undefined": "off",
|
|
190
|
-
"no-underscore-dangle": "off",
|
|
191
|
-
"no-unexpected-multiline": "off",
|
|
192
|
-
"no-unmodified-loop-condition": "error",
|
|
193
|
-
"no-unneeded-ternary": "error",
|
|
194
|
-
"no-unreachable": "error",
|
|
195
|
-
"no-unreachable-loop": "error",
|
|
196
|
-
"no-unsafe-finally": "error",
|
|
197
|
-
"no-unsafe-negation": "error",
|
|
198
|
-
"no-unsafe-optional-chaining": [
|
|
199
|
-
"error",
|
|
200
|
-
{ disallowArithmeticOperators: true },
|
|
201
|
-
],
|
|
202
|
-
"no-unused-expressions": "off",
|
|
203
|
-
"no-unused-labels": "error",
|
|
204
|
-
"no-unused-private-class-members": "error",
|
|
205
|
-
"no-unused-vars": "off",
|
|
206
|
-
"no-use-before-define": "off",
|
|
207
|
-
"no-useless-assignment": "off",
|
|
208
|
-
"no-useless-backreference": "error",
|
|
209
|
-
"no-useless-call": "error",
|
|
210
|
-
"no-useless-catch": "error",
|
|
211
|
-
"no-useless-computed-key": "error",
|
|
212
|
-
"no-useless-concat": "error",
|
|
213
|
-
"no-useless-constructor": "off",
|
|
214
|
-
"no-useless-escape": "error",
|
|
215
|
-
"no-useless-rename": "error",
|
|
216
|
-
"no-useless-return": "error",
|
|
217
|
-
"no-var": "error",
|
|
218
|
-
"no-void": "error",
|
|
219
|
-
"no-warning-comments": "off",
|
|
220
|
-
"no-with": "error",
|
|
221
|
-
"object-shorthand": "error",
|
|
222
|
-
"one-var": "off",
|
|
223
|
-
"operator-assignment": "error",
|
|
224
|
-
"prefer-arrow-callback": "error",
|
|
225
|
-
"prefer-const": "error",
|
|
226
|
-
"prefer-destructuring": "off",
|
|
227
|
-
"prefer-exponentiation-operator": "error",
|
|
228
|
-
"prefer-named-capture-group": "error",
|
|
229
|
-
"prefer-numeric-literals": "error",
|
|
230
|
-
"prefer-object-has-own": "error",
|
|
231
|
-
"prefer-object-spread": "error",
|
|
232
|
-
"prefer-promise-reject-errors": "off",
|
|
233
|
-
"prefer-regex-literals": "error",
|
|
234
|
-
"prefer-rest-params": "error",
|
|
235
|
-
"prefer-spread": "error",
|
|
236
|
-
"prefer-template": "error",
|
|
237
|
-
radix: "error",
|
|
238
|
-
"require-atomic-updates": "error",
|
|
239
|
-
"require-await": "off",
|
|
240
|
-
"require-unicode-regexp": "error",
|
|
241
|
-
"require-yield": "error",
|
|
242
|
-
"sort-imports": "off",
|
|
243
|
-
"sort-keys": "off",
|
|
244
|
-
"sort-vars": "error",
|
|
245
|
-
strict: "error",
|
|
246
|
-
"symbol-description": "error",
|
|
247
|
-
"unicode-bom": "error",
|
|
248
|
-
"use-isnan": "error",
|
|
249
|
-
"valid-typeof": "error",
|
|
250
|
-
"vars-on-top": "error",
|
|
251
|
-
yoda: ["error", "always"],
|
|
252
|
-
"n/callback-return": "off",
|
|
253
|
-
"n/exports-style": ["error", "exports"],
|
|
254
|
-
"n/file-extension-in-import": "off",
|
|
255
|
-
"n/global-require": "off",
|
|
256
|
-
"n/handle-callback-err": "error",
|
|
257
|
-
"n/no-callback-literal": "off",
|
|
258
|
-
"n/no-deprecated-api": "error",
|
|
259
|
-
"n/no-exports-assign": "error",
|
|
260
|
-
"n/no-extraneous-import": "error",
|
|
261
|
-
"n/no-extraneous-require": "error",
|
|
262
|
-
"n/no-missing-import": "off",
|
|
263
|
-
"n/no-missing-require": "error",
|
|
264
|
-
"n/no-mixed-requires": "off",
|
|
265
|
-
"n/no-new-require": "off",
|
|
266
|
-
"n/no-path-concat": "error",
|
|
267
|
-
"n/no-process-env": "off",
|
|
268
|
-
"n/no-process-exit": "off",
|
|
269
|
-
"n/no-restricted-import": "off",
|
|
270
|
-
"n/no-restricted-require": "off",
|
|
271
|
-
"n/no-sync": "off",
|
|
272
|
-
"n/no-unpublished-bin": "error",
|
|
273
|
-
"n/no-unpublished-import": "off",
|
|
274
|
-
"n/no-unpublished-require": "off",
|
|
275
|
-
"n/no-unsupported-features/es-builtins": "error",
|
|
276
|
-
"n/no-unsupported-features/es-syntax": "error",
|
|
277
|
-
"n/no-unsupported-features/node-builtins": "error",
|
|
278
|
-
"n/prefer-global/buffer": "error",
|
|
279
|
-
"n/prefer-global/console": "error",
|
|
280
|
-
"n/prefer-global/process": "error",
|
|
281
|
-
"n/prefer-global/text-decoder": "error",
|
|
282
|
-
"n/prefer-global/text-encoder": "error",
|
|
283
|
-
"n/prefer-global/url-search-params": "error",
|
|
284
|
-
"n/prefer-global/url": "error",
|
|
285
|
-
"n/prefer-node-protocol": "error",
|
|
286
|
-
"n/prefer-promises/dns": "off",
|
|
287
|
-
"n/prefer-promises/fs": "off",
|
|
288
|
-
"n/process-exit-as-throw": "off",
|
|
289
|
-
"n/hashbang": "off",
|
|
290
|
-
"n/no-hide-core-modules": "off",
|
|
291
|
-
"n/shebang": "off",
|
|
292
|
-
"@typescript-eslint/adjacent-overload-signatures": "off",
|
|
293
|
-
"@typescript-eslint/array-type": "error",
|
|
294
|
-
"@typescript-eslint/await-thenable": "error",
|
|
295
|
-
"@typescript-eslint/ban-ts-comment": "error",
|
|
296
|
-
"@typescript-eslint/ban-tslint-comment": "error",
|
|
297
|
-
"@typescript-eslint/class-literal-property-style": "error",
|
|
298
|
-
"@typescript-eslint/class-methods-use-this": "off",
|
|
299
|
-
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
300
|
-
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
301
|
-
"@typescript-eslint/consistent-return": "off",
|
|
302
|
-
"@typescript-eslint/consistent-type-assertions": "error",
|
|
303
|
-
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
304
|
-
"@typescript-eslint/consistent-type-exports": "error",
|
|
305
|
-
"@typescript-eslint/consistent-type-imports": "error",
|
|
306
|
-
"@typescript-eslint/default-param-last": "error",
|
|
307
|
-
"@typescript-eslint/dot-notation": "error",
|
|
308
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
309
|
-
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
310
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
311
|
-
"@typescript-eslint/init-declarations": "off",
|
|
312
|
-
"@typescript-eslint/max-params": "off",
|
|
313
|
-
"@typescript-eslint/member-ordering": "off",
|
|
314
|
-
"@typescript-eslint/method-signature-style": "error",
|
|
315
|
-
"@typescript-eslint/naming-convention": "off",
|
|
316
|
-
"@typescript-eslint/no-array-constructor": "error",
|
|
317
|
-
"@typescript-eslint/no-array-delete": "error",
|
|
318
|
-
"@typescript-eslint/no-base-to-string": "error",
|
|
319
|
-
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
320
|
-
"@typescript-eslint/no-confusing-void-expression": "error",
|
|
321
|
-
"@typescript-eslint/no-dupe-class-members": "off",
|
|
322
|
-
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
323
|
-
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
324
|
-
"@typescript-eslint/no-dynamic-delete": "error",
|
|
325
|
-
"@typescript-eslint/no-empty-function": "error",
|
|
326
|
-
"@typescript-eslint/no-empty-interface": "off",
|
|
327
|
-
"@typescript-eslint/no-empty-object-type": "error",
|
|
328
|
-
"@typescript-eslint/no-explicit-any": "error",
|
|
329
|
-
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
330
|
-
"@typescript-eslint/no-extraneous-class": "error",
|
|
331
|
-
"@typescript-eslint/no-floating-promises": "error",
|
|
332
|
-
"@typescript-eslint/no-for-in-array": "error",
|
|
333
|
-
"@typescript-eslint/no-implied-eval": "error",
|
|
334
|
-
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
335
|
-
"@typescript-eslint/no-inferrable-types": "error",
|
|
336
|
-
"@typescript-eslint/no-invalid-this": "off",
|
|
337
|
-
"@typescript-eslint/no-invalid-void-type": "error",
|
|
338
|
-
"@typescript-eslint/no-loop-func": "error",
|
|
339
|
-
"@typescript-eslint/no-loss-of-precision": "off",
|
|
340
|
-
"@typescript-eslint/no-magic-numbers": "off",
|
|
341
|
-
"@typescript-eslint/no-meaningless-void-operator": "error",
|
|
342
|
-
"@typescript-eslint/no-misused-new": "error",
|
|
343
|
-
"@typescript-eslint/no-misused-promises": "error",
|
|
344
|
-
"@typescript-eslint/no-mixed-enums": "error",
|
|
345
|
-
"@typescript-eslint/no-namespace": "error",
|
|
346
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
347
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
348
|
-
"@typescript-eslint/no-non-null-assertion": "error",
|
|
349
|
-
"@typescript-eslint/no-redeclare": "off",
|
|
350
|
-
"@typescript-eslint/no-redundant-type-constituents": "error",
|
|
351
|
-
"@typescript-eslint/no-require-imports": "error",
|
|
352
|
-
"@typescript-eslint/no-restricted-imports": "error",
|
|
353
|
-
"@typescript-eslint/no-restricted-types": "error",
|
|
354
|
-
"@typescript-eslint/no-shadow": "error",
|
|
355
|
-
"@typescript-eslint/no-this-alias": "error",
|
|
356
|
-
"@typescript-eslint/no-type-alias": "off",
|
|
357
|
-
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
358
|
-
"@typescript-eslint/no-unnecessary-condition": "error",
|
|
359
|
-
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
360
|
-
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
361
|
-
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
362
|
-
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
363
|
-
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
364
|
-
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
365
|
-
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
366
|
-
"@typescript-eslint/no-unsafe-argument": "error",
|
|
367
|
-
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
368
|
-
"@typescript-eslint/no-unsafe-call": "error",
|
|
369
|
-
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
370
|
-
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
371
|
-
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
372
|
-
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
373
|
-
"@typescript-eslint/no-unsafe-return": "error",
|
|
374
|
-
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
375
|
-
"@typescript-eslint/no-unused-expressions": "error",
|
|
376
|
-
"@typescript-eslint/no-unused-vars": [
|
|
377
|
-
"error",
|
|
378
|
-
{
|
|
379
|
-
args: "all",
|
|
380
|
-
argsIgnorePattern: "^_",
|
|
381
|
-
caughtErrors: "all",
|
|
382
|
-
caughtErrorsIgnorePattern: "^_",
|
|
383
|
-
destructuredArrayIgnorePattern: "^_",
|
|
384
|
-
ignoreRestSiblings: true,
|
|
385
|
-
varsIgnorePattern: "^_",
|
|
386
|
-
},
|
|
387
|
-
],
|
|
388
|
-
"@typescript-eslint/no-use-before-define": "off",
|
|
389
|
-
"@typescript-eslint/no-useless-constructor": "error",
|
|
390
|
-
"@typescript-eslint/no-useless-empty-export": "error",
|
|
391
|
-
"@typescript-eslint/no-var-requires": "off",
|
|
392
|
-
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
393
|
-
"@typescript-eslint/non-nullable-type-assertion-style": "error",
|
|
394
|
-
"@typescript-eslint/only-throw-error": "error",
|
|
395
|
-
"@typescript-eslint/parameter-properties": "off",
|
|
396
|
-
"@typescript-eslint/prefer-as-const": "error",
|
|
397
|
-
"@typescript-eslint/prefer-destructuring": "error",
|
|
398
|
-
"@typescript-eslint/prefer-enum-initializers": "error",
|
|
399
|
-
"@typescript-eslint/prefer-find": "error",
|
|
400
|
-
"@typescript-eslint/prefer-for-of": "error",
|
|
401
|
-
"@typescript-eslint/prefer-function-type": "error",
|
|
402
|
-
"@typescript-eslint/prefer-includes": "error",
|
|
403
|
-
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
404
|
-
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
405
|
-
"@typescript-eslint/prefer-nullish-coalescing": "error",
|
|
406
|
-
"@typescript-eslint/prefer-optional-chain": "error",
|
|
407
|
-
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
408
|
-
"@typescript-eslint/prefer-readonly": "error",
|
|
409
|
-
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
410
|
-
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
411
|
-
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
412
|
-
"@typescript-eslint/prefer-return-this-type": "error",
|
|
413
|
-
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
414
|
-
"@typescript-eslint/prefer-ts-expect-error": "off",
|
|
415
|
-
"@typescript-eslint/promise-function-async": "error",
|
|
416
|
-
"@typescript-eslint/require-array-sort-compare": "error",
|
|
417
|
-
"@typescript-eslint/require-await": "error",
|
|
418
|
-
"@typescript-eslint/restrict-plus-operands": "error",
|
|
419
|
-
"@typescript-eslint/restrict-template-expressions": "error",
|
|
420
|
-
"@typescript-eslint/return-await": "error",
|
|
421
|
-
"@typescript-eslint/sort-type-constituents": "off",
|
|
422
|
-
"@typescript-eslint/strict-boolean-expressions": "error",
|
|
423
|
-
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
424
|
-
"@typescript-eslint/triple-slash-reference": "error",
|
|
425
|
-
"@typescript-eslint/typedef": "off",
|
|
426
|
-
"@typescript-eslint/unbound-method": "error",
|
|
427
|
-
"@typescript-eslint/unified-signatures": "error",
|
|
428
|
-
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
429
|
-
"unicorn/better-regex": "error",
|
|
430
|
-
"unicorn/catch-error-name": "error",
|
|
431
|
-
"unicorn/consistent-destructuring": "error",
|
|
432
|
-
"unicorn/consistent-empty-array-spread": "error",
|
|
433
|
-
"unicorn/consistent-function-scoping": "error",
|
|
434
|
-
"unicorn/custom-error-definition": "error",
|
|
435
|
-
"unicorn/empty-brace-spaces": "off",
|
|
436
|
-
"unicorn/error-message": "error",
|
|
437
|
-
"unicorn/escape-case": "error",
|
|
438
|
-
"unicorn/expiring-todo-comments": "error",
|
|
439
|
-
"unicorn/explicit-length-check": "off",
|
|
440
|
-
"unicorn/filename-case": "error",
|
|
441
|
-
"unicorn/import-style": "error",
|
|
442
|
-
"unicorn/new-for-builtins": "error",
|
|
443
|
-
"unicorn/no-abusive-eslint-disable": "error",
|
|
444
|
-
"unicorn/no-anonymous-default-export": "error",
|
|
445
|
-
"unicorn/no-array-callback-reference": "error",
|
|
446
|
-
"unicorn/no-array-for-each": "error",
|
|
447
|
-
"unicorn/no-array-method-this-argument": "error",
|
|
448
|
-
"unicorn/no-array-push-push": "error",
|
|
449
|
-
"unicorn/no-array-reduce": "error",
|
|
450
|
-
"unicorn/no-await-expression-member": "error",
|
|
451
|
-
"unicorn/no-await-in-promise-methods": "error",
|
|
452
|
-
"unicorn/no-console-spaces": "error",
|
|
453
|
-
"unicorn/no-document-cookie": "error",
|
|
454
|
-
"unicorn/no-empty-file": "error",
|
|
455
|
-
"unicorn/no-for-loop": "error",
|
|
456
|
-
"unicorn/no-hex-escape": "error",
|
|
457
|
-
"unicorn/no-instanceof-array": "error",
|
|
458
|
-
"unicorn/no-invalid-fetch-options": "error",
|
|
459
|
-
"unicorn/no-invalid-remove-event-listener": "error",
|
|
460
|
-
"unicorn/no-keyword-prefix": "off",
|
|
461
|
-
"unicorn/no-length-as-slice-end": "error",
|
|
462
|
-
"unicorn/no-lonely-if": "error",
|
|
463
|
-
"unicorn/no-magic-array-flat-depth": "error",
|
|
464
|
-
"unicorn/no-negated-condition": "error",
|
|
465
|
-
"unicorn/no-negation-in-equality-check": "error",
|
|
466
|
-
"unicorn/no-nested-ternary": "off",
|
|
467
|
-
"unicorn/no-new-array": "error",
|
|
468
|
-
"unicorn/no-new-buffer": "error",
|
|
469
|
-
"unicorn/no-null": "off",
|
|
470
|
-
"unicorn/no-object-as-default-parameter": "error",
|
|
471
|
-
"unicorn/no-process-exit": "error",
|
|
472
|
-
"unicorn/no-single-promise-in-promise-methods": "error",
|
|
473
|
-
"unicorn/no-static-only-class": "error",
|
|
474
|
-
"unicorn/no-thenable": "error",
|
|
475
|
-
"unicorn/no-this-assignment": "error",
|
|
476
|
-
"unicorn/no-typeof-undefined": "error",
|
|
477
|
-
"unicorn/no-unnecessary-await": "error",
|
|
478
|
-
"unicorn/no-unnecessary-polyfills": "error",
|
|
479
|
-
"unicorn/no-unreadable-array-destructuring": "error",
|
|
480
|
-
"unicorn/no-unreadable-iife": "error",
|
|
481
|
-
"unicorn/no-unused-properties": "error",
|
|
482
|
-
"unicorn/no-useless-fallback-in-spread": "error",
|
|
483
|
-
"unicorn/no-useless-length-check": "error",
|
|
484
|
-
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
485
|
-
"unicorn/no-useless-spread": "error",
|
|
486
|
-
"unicorn/no-useless-switch-case": "error",
|
|
487
|
-
"unicorn/no-useless-undefined": "error",
|
|
488
|
-
"unicorn/no-zero-fractions": "error",
|
|
489
|
-
"unicorn/number-literal-case": "off",
|
|
490
|
-
"unicorn/numeric-separators-style": "error",
|
|
491
|
-
"unicorn/prefer-add-event-listener": "error",
|
|
492
|
-
"unicorn/prefer-array-find": "error",
|
|
493
|
-
"unicorn/prefer-array-flat-map": "error",
|
|
494
|
-
"unicorn/prefer-array-flat": "error",
|
|
495
|
-
"unicorn/prefer-array-index-of": "error",
|
|
496
|
-
"unicorn/prefer-array-some": "error",
|
|
497
|
-
"unicorn/prefer-at": "error",
|
|
498
|
-
"unicorn/prefer-blob-reading-methods": "error",
|
|
499
|
-
"unicorn/prefer-code-point": "error",
|
|
500
|
-
"unicorn/prefer-date-now": "error",
|
|
501
|
-
"unicorn/prefer-default-parameters": "error",
|
|
502
|
-
"unicorn/prefer-dom-node-append": "error",
|
|
503
|
-
"unicorn/prefer-dom-node-dataset": "error",
|
|
504
|
-
"unicorn/prefer-dom-node-remove": "error",
|
|
505
|
-
"unicorn/prefer-dom-node-text-content": "error",
|
|
506
|
-
"unicorn/prefer-event-target": "error",
|
|
507
|
-
"unicorn/prefer-export-from": "error",
|
|
508
|
-
"unicorn/prefer-includes": "error",
|
|
509
|
-
"unicorn/prefer-json-parse-buffer": "error",
|
|
510
|
-
"unicorn/prefer-keyboard-event-key": "error",
|
|
511
|
-
"unicorn/prefer-logical-operator-over-ternary": "error",
|
|
512
|
-
"unicorn/prefer-math-trunc": "error",
|
|
513
|
-
"unicorn/prefer-modern-dom-apis": "error",
|
|
514
|
-
"unicorn/prefer-modern-math-apis": "error",
|
|
515
|
-
"unicorn/prefer-module": "error",
|
|
516
|
-
"unicorn/prefer-native-coercion-functions": "error",
|
|
517
|
-
"unicorn/prefer-negative-index": "error",
|
|
518
|
-
"unicorn/prefer-node-protocol": "error",
|
|
519
|
-
"unicorn/prefer-number-properties": "error",
|
|
520
|
-
"unicorn/prefer-object-from-entries": "error",
|
|
521
|
-
"unicorn/prefer-optional-catch-binding": "error",
|
|
522
|
-
"unicorn/prefer-prototype-methods": "error",
|
|
523
|
-
"unicorn/prefer-query-selector": "error",
|
|
524
|
-
"unicorn/prefer-reflect-apply": "error",
|
|
525
|
-
"unicorn/prefer-regexp-test": "error",
|
|
526
|
-
"unicorn/prefer-set-has": "error",
|
|
527
|
-
"unicorn/prefer-set-size": "error",
|
|
528
|
-
"unicorn/prefer-spread": "error",
|
|
529
|
-
"unicorn/prefer-string-raw": "error",
|
|
530
|
-
"unicorn/prefer-string-replace-all": "error",
|
|
531
|
-
"unicorn/prefer-string-slice": "error",
|
|
532
|
-
"unicorn/prefer-string-starts-ends-with": "error",
|
|
533
|
-
"unicorn/prefer-string-trim-start-end": "error",
|
|
534
|
-
"unicorn/prefer-structured-clone": "error",
|
|
535
|
-
"unicorn/prefer-switch": "error",
|
|
536
|
-
"unicorn/prefer-ternary": "error",
|
|
537
|
-
"unicorn/prefer-top-level-await": "error",
|
|
538
|
-
"unicorn/prefer-type-error": "error",
|
|
539
|
-
"unicorn/prevent-abbreviations": "error",
|
|
540
|
-
"unicorn/relative-url-style": "error",
|
|
541
|
-
"unicorn/require-array-join-separator": "error",
|
|
542
|
-
"unicorn/require-number-to-fixed-digits-argument": "error",
|
|
543
|
-
"unicorn/require-post-message-target-origin": "error",
|
|
544
|
-
"unicorn/string-content": "error",
|
|
545
|
-
"unicorn/switch-case-braces": "error",
|
|
546
|
-
"unicorn/template-indent": "off",
|
|
547
|
-
"unicorn/text-encoding-identifier-case": "error",
|
|
548
|
-
"unicorn/throw-new-error": "error",
|
|
549
|
-
"unicorn/import-index": "off",
|
|
550
|
-
"unicorn/no-array-instanceof": "off",
|
|
551
|
-
"unicorn/no-fn-reference-in-iterator": "off",
|
|
552
|
-
"unicorn/no-reduce": "off",
|
|
553
|
-
"unicorn/no-unsafe-regex": "off",
|
|
554
|
-
"unicorn/prefer-dataset": "off",
|
|
555
|
-
"unicorn/prefer-event-key": "off",
|
|
556
|
-
"unicorn/prefer-exponentiation-operator": "off",
|
|
557
|
-
"unicorn/prefer-flat-map": "off",
|
|
558
|
-
"unicorn/prefer-node-append": "off",
|
|
559
|
-
"unicorn/prefer-node-remove": "off",
|
|
560
|
-
"unicorn/prefer-object-has-own": "off",
|
|
561
|
-
"unicorn/prefer-replace-all": "off",
|
|
562
|
-
"unicorn/prefer-starts-ends-with": "off",
|
|
563
|
-
"unicorn/prefer-text-content": "off",
|
|
564
|
-
"unicorn/prefer-trim-start-end": "off",
|
|
565
|
-
"unicorn/regex-shorthand": "off",
|
|
566
|
-
"lodash/callback-binding": "error",
|
|
567
|
-
"lodash/chain-style": ["error", "as-needed"],
|
|
568
|
-
"lodash/chaining": "error",
|
|
569
|
-
"lodash/collection-method-value": "error",
|
|
570
|
-
"lodash/collection-ordering": "error",
|
|
571
|
-
"lodash/collection-return": "error",
|
|
572
|
-
"lodash/consistent-compose": ["error", "flow"],
|
|
573
|
-
"lodash/identity-shorthand": ["error", "always"],
|
|
574
|
-
"lodash/import-scope": ["error", "method"],
|
|
575
|
-
"lodash/matches-prop-shorthand": ["error", "always"],
|
|
576
|
-
"lodash/matches-shorthand": ["error", "always", 3],
|
|
577
|
-
"lodash/no-commit": "error",
|
|
578
|
-
"lodash/no-double-unwrap": "error",
|
|
579
|
-
"lodash/no-extra-args": "error",
|
|
580
|
-
"lodash/no-unbound-this": "error",
|
|
581
|
-
"lodash/path-style": ["error", "array"],
|
|
582
|
-
"lodash/prefer-compact": "error",
|
|
583
|
-
"lodash/prefer-constant": "error",
|
|
584
|
-
"lodash/prefer-filter": "error",
|
|
585
|
-
"lodash/prefer-find": "error",
|
|
586
|
-
"lodash/prefer-flat-map": "error",
|
|
587
|
-
"lodash/prefer-get": "error",
|
|
588
|
-
"lodash/prefer-immutable-method": "error",
|
|
589
|
-
"lodash/prefer-includes": ["error", { includeNative: true }],
|
|
590
|
-
"lodash/prefer-invoke-map": "error",
|
|
591
|
-
"lodash/prefer-is-nil": "error",
|
|
592
|
-
"lodash/prefer-lodash-chain": "error",
|
|
593
|
-
"lodash/prefer-lodash-method": "error",
|
|
594
|
-
"lodash/prefer-lodash-typecheck": "error",
|
|
595
|
-
"lodash/prefer-map": "error",
|
|
596
|
-
"lodash/prefer-matches": "error",
|
|
597
|
-
"lodash/prefer-noop": "error",
|
|
598
|
-
"lodash/prefer-over-quantifier": "error",
|
|
599
|
-
"lodash/prefer-reject": "error",
|
|
600
|
-
"lodash/prefer-some": ["error", { includeNative: true }],
|
|
601
|
-
"lodash/prefer-startswith": "error",
|
|
602
|
-
"lodash/prefer-thru": "error",
|
|
603
|
-
"lodash/prefer-times": "error",
|
|
604
|
-
"lodash/prefer-wrapper-method": "error",
|
|
605
|
-
"lodash/preferred-alias": "error",
|
|
606
|
-
"lodash/prop-shorthand": ["error", "always"],
|
|
607
|
-
"lodash/unwrap": "error",
|
|
608
|
-
"sonar/S100": "off",
|
|
609
|
-
"sonar/S101": "off",
|
|
610
|
-
"sonar/S103": "off",
|
|
611
|
-
"sonar/S104": "off",
|
|
612
|
-
"sonar/S105": "off",
|
|
613
|
-
"sonar/S106": "off",
|
|
614
|
-
"sonar/S1066": "off",
|
|
615
|
-
"sonar/S1067": "off",
|
|
616
|
-
"sonar/S1068": "off",
|
|
617
|
-
"sonar/S107": "off",
|
|
618
|
-
"sonar/S1077": "off",
|
|
619
|
-
"sonar/S108": "off",
|
|
620
|
-
"sonar/S1082": "off",
|
|
621
|
-
"sonar/S109": "off",
|
|
622
|
-
"sonar/S1090": "off",
|
|
623
|
-
"sonar/S1105": "off",
|
|
624
|
-
"sonar/S1110": "off",
|
|
625
|
-
"sonar/S1116": "off",
|
|
626
|
-
"sonar/S1117": "off",
|
|
627
|
-
"sonar/S1119": "off",
|
|
628
|
-
"sonar/S1121": "off",
|
|
629
|
-
"sonar/S1125": "off",
|
|
630
|
-
"sonar/S1126": "off",
|
|
631
|
-
"sonar/S1128": "off",
|
|
632
|
-
"sonar/S113": "off",
|
|
633
|
-
"sonar/S1131": "off",
|
|
634
|
-
"sonar/S1134": "off",
|
|
635
|
-
"sonar/S1135": "off",
|
|
636
|
-
"sonar/S1143": "off",
|
|
637
|
-
"sonar/S1154": "off",
|
|
638
|
-
"sonar/S117": "off",
|
|
639
|
-
"sonar/S1172": "off",
|
|
640
|
-
"sonar/S1186": "off",
|
|
641
|
-
"sonar/S1192": "off",
|
|
642
|
-
"sonar/S1199": "off",
|
|
643
|
-
"sonar/S121": "off",
|
|
644
|
-
"sonar/S1219": "off",
|
|
645
|
-
"sonar/S122": "off",
|
|
646
|
-
"sonar/S1226": "off",
|
|
647
|
-
"sonar/S124": "off",
|
|
648
|
-
"sonar/S125": "off",
|
|
649
|
-
"sonar/S126": "off",
|
|
650
|
-
"sonar/S1264": "off",
|
|
651
|
-
"sonar/S128": "off",
|
|
652
|
-
"sonar/S1301": "off",
|
|
653
|
-
"sonar/S131": "off",
|
|
654
|
-
"sonar/S1313": "off",
|
|
655
|
-
"sonar/S1314": "off",
|
|
656
|
-
"sonar/S1321": "off",
|
|
657
|
-
"sonar/S134": "off",
|
|
658
|
-
"sonar/S135": "off",
|
|
659
|
-
"sonar/S138": "off",
|
|
660
|
-
"sonar/S139": "off",
|
|
661
|
-
"sonar/S1438": "off",
|
|
662
|
-
"sonar/S1439": "off",
|
|
663
|
-
"sonar/S1440": "off",
|
|
664
|
-
"sonar/S1441": "off",
|
|
665
|
-
"sonar/S1442": "off",
|
|
666
|
-
"sonar/S1444": "off",
|
|
667
|
-
"sonar/S1451": "off",
|
|
668
|
-
"sonar/S1472": "off",
|
|
669
|
-
"sonar/S1479": "off",
|
|
670
|
-
"sonar/S1481": "off",
|
|
671
|
-
"sonar/S1488": "off",
|
|
672
|
-
"sonar/S1515": "off",
|
|
673
|
-
"sonar/S1516": "off",
|
|
674
|
-
"sonar/S1523": "off",
|
|
675
|
-
"sonar/S1525": "off",
|
|
676
|
-
"sonar/S1526": "off",
|
|
677
|
-
"sonar/S1527": "off",
|
|
678
|
-
"sonar/S1528": "off",
|
|
679
|
-
"sonar/S1529": "off",
|
|
680
|
-
"sonar/S1530": "off",
|
|
681
|
-
"sonar/S1533": "off",
|
|
682
|
-
"sonar/S1534": "off",
|
|
683
|
-
"sonar/S1535": "off",
|
|
684
|
-
"sonar/S1536": "off",
|
|
685
|
-
"sonar/S1537": "off",
|
|
686
|
-
"sonar/S1539": "off",
|
|
687
|
-
"sonar/S1541": "off",
|
|
688
|
-
"sonar/S1656": "off",
|
|
689
|
-
"sonar/S1751": "off",
|
|
690
|
-
"sonar/S1763": "off",
|
|
691
|
-
"sonar/S1764": "off",
|
|
692
|
-
"sonar/S1774": "off",
|
|
693
|
-
"sonar/S1788": "off",
|
|
694
|
-
"sonar/S1821": "off",
|
|
695
|
-
"sonar/S1848": "off",
|
|
696
|
-
"sonar/S1854": "off",
|
|
697
|
-
"sonar/S1862": "off",
|
|
698
|
-
"sonar/S1871": "off",
|
|
699
|
-
"sonar/S1874": "off",
|
|
700
|
-
"sonar/S1940": "off",
|
|
701
|
-
"sonar/S1994": "off",
|
|
702
|
-
"sonar/S2004": "off",
|
|
703
|
-
"sonar/S2068": "off",
|
|
704
|
-
"sonar/S2077": "off",
|
|
705
|
-
"sonar/S2092": "off",
|
|
706
|
-
"sonar/S2094": "off",
|
|
707
|
-
"sonar/S2123": "off",
|
|
708
|
-
"sonar/S2137": "off",
|
|
709
|
-
"sonar/S2138": "off",
|
|
710
|
-
"sonar/S2187": "off",
|
|
711
|
-
"sonar/S2189": "off",
|
|
712
|
-
"sonar/S2201": "off",
|
|
713
|
-
"sonar/S2208": "off",
|
|
714
|
-
"sonar/S2234": "off",
|
|
715
|
-
"sonar/S2245": "off",
|
|
716
|
-
"sonar/S2251": "off",
|
|
717
|
-
"sonar/S2255": "off",
|
|
718
|
-
"sonar/S2259": "off",
|
|
719
|
-
"sonar/S2310": "off",
|
|
720
|
-
"sonar/S2376": "off",
|
|
721
|
-
"sonar/S2392": "off",
|
|
722
|
-
"sonar/S2424": "off",
|
|
723
|
-
"sonar/S2427": "off",
|
|
724
|
-
"sonar/S2430": "off",
|
|
725
|
-
"sonar/S2432": "off",
|
|
726
|
-
"sonar/S2428": "off",
|
|
727
|
-
"sonar/S2486": "off",
|
|
728
|
-
"sonar/S2589": "off",
|
|
729
|
-
"sonar/S2598": "off",
|
|
730
|
-
"sonar/S2612": "off",
|
|
731
|
-
"sonar/S2639": "off",
|
|
732
|
-
"sonar/S2681": "off",
|
|
733
|
-
"sonar/S2685": "off",
|
|
734
|
-
"sonar/S2688": "off",
|
|
735
|
-
"sonar/S2692": "off",
|
|
736
|
-
"sonar/S2699": "off",
|
|
737
|
-
"sonar/S2703": "off",
|
|
738
|
-
"sonar/S2737": "off",
|
|
739
|
-
"sonar/S2755": "off",
|
|
740
|
-
"sonar/S2757": "off",
|
|
741
|
-
"sonar/S2814": "off",
|
|
742
|
-
"sonar/S2817": "off",
|
|
743
|
-
"sonar/S2819": "off",
|
|
744
|
-
"sonar/S2870": "off",
|
|
745
|
-
"sonar/S2871": "off",
|
|
746
|
-
"sonar/S2933": "off",
|
|
747
|
-
"sonar/S2966": "off",
|
|
748
|
-
"sonar/S2970": "off",
|
|
749
|
-
"sonar/S2990": "off",
|
|
750
|
-
"sonar/S2999": "off",
|
|
751
|
-
"sonar/S3001": "off",
|
|
752
|
-
"sonar/S3003": "off",
|
|
753
|
-
"sonar/S3257": "off",
|
|
754
|
-
"sonar/S3317": "off",
|
|
755
|
-
"sonar/S3330": "off",
|
|
756
|
-
"sonar/S3353": "off",
|
|
757
|
-
"sonar/S3358": "off",
|
|
758
|
-
"sonar/S3402": "off",
|
|
759
|
-
"sonar/S3403": "off",
|
|
760
|
-
"sonar/S3415": "off",
|
|
761
|
-
"sonar/S3498": "off",
|
|
762
|
-
"sonar/S3499": "off",
|
|
763
|
-
"sonar/S3500": "off",
|
|
764
|
-
"sonar/S3504": "off",
|
|
765
|
-
"sonar/S3512": "off",
|
|
766
|
-
"sonar/S3513": "off",
|
|
767
|
-
"sonar/S3514": "off",
|
|
768
|
-
"sonar/S3516": "off",
|
|
769
|
-
"sonar/S3523": "off",
|
|
770
|
-
"sonar/S3524": "off",
|
|
771
|
-
"sonar/S3525": "off",
|
|
772
|
-
"sonar/S3531": "off",
|
|
773
|
-
"sonar/S3533": "off",
|
|
774
|
-
"sonar/S3579": "off",
|
|
775
|
-
"sonar/S3616": "off",
|
|
776
|
-
"sonar/S3626": "off",
|
|
777
|
-
"sonar/S3686": "off",
|
|
778
|
-
"sonar/S3696": "off",
|
|
779
|
-
"sonar/S3699": "off",
|
|
780
|
-
"sonar/S3758": "off",
|
|
781
|
-
"sonar/S3723": "off",
|
|
782
|
-
"sonar/S3735": "off",
|
|
783
|
-
"sonar/S3757": "off",
|
|
784
|
-
"sonar/S3760": "off",
|
|
785
|
-
"sonar/S3776": "off",
|
|
786
|
-
"sonar/S3782": "off",
|
|
787
|
-
"sonar/S3785": "off",
|
|
788
|
-
"sonar/S3786": "off",
|
|
789
|
-
"sonar/S3796": "off",
|
|
790
|
-
"sonar/S3798": "off",
|
|
791
|
-
"sonar/S3799": "off",
|
|
792
|
-
"sonar/S3800": "off",
|
|
793
|
-
"sonar/S3801": "off",
|
|
794
|
-
"sonar/S3812": "off",
|
|
795
|
-
"sonar/S3827": "off",
|
|
796
|
-
"sonar/S3834": "off",
|
|
797
|
-
"sonar/S3854": "off",
|
|
798
|
-
"sonar/S3863": "off",
|
|
799
|
-
"sonar/S3923": "off",
|
|
800
|
-
"sonar/S3972": "off",
|
|
801
|
-
"sonar/S3973": "off",
|
|
802
|
-
"sonar/S3981": "off",
|
|
803
|
-
"sonar/S3984": "off",
|
|
804
|
-
"sonar/S4023": "off",
|
|
805
|
-
"sonar/S4030": "off",
|
|
806
|
-
"sonar/S4036": "off",
|
|
807
|
-
"sonar/S4043": "off",
|
|
808
|
-
"sonar/S4084": "off",
|
|
809
|
-
"sonar/S4123": "off",
|
|
810
|
-
"sonar/S4124": "off",
|
|
811
|
-
"sonar/S4125": "off",
|
|
812
|
-
"sonar/S4136": "off",
|
|
813
|
-
"sonar/S4137": "off",
|
|
814
|
-
"sonar/S4138": "off",
|
|
815
|
-
"sonar/S4139": "off",
|
|
816
|
-
"sonar/S4140": "off",
|
|
817
|
-
"sonar/S4143": "off",
|
|
818
|
-
"sonar/S4144": "off",
|
|
819
|
-
"sonar/S4156": "off",
|
|
820
|
-
"sonar/S4157": "off",
|
|
821
|
-
"sonar/S4158": "off",
|
|
822
|
-
"sonar/S4165": "off",
|
|
823
|
-
"sonar/S4204": "off",
|
|
824
|
-
"sonar/S4275": "off",
|
|
825
|
-
"sonar/S4322": "off",
|
|
826
|
-
"sonar/S4323": "off",
|
|
827
|
-
"sonar/S4324": "off",
|
|
828
|
-
"sonar/S4325": "off",
|
|
829
|
-
"sonar/S4326": "off",
|
|
830
|
-
"sonar/S4327": "off",
|
|
831
|
-
"sonar/S4328": "off",
|
|
832
|
-
"sonar/S4335": "off",
|
|
833
|
-
"sonar/S4423": "off",
|
|
834
|
-
"sonar/S4426": "off",
|
|
835
|
-
"sonar/S4502": "off",
|
|
836
|
-
"sonar/S4507": "off",
|
|
837
|
-
"sonar/S4524": "off",
|
|
838
|
-
"sonar/S4619": "off",
|
|
839
|
-
"sonar/S4621": "off",
|
|
840
|
-
"sonar/S4622": "off",
|
|
841
|
-
"sonar/S4623": "off",
|
|
842
|
-
"sonar/S4624": "off",
|
|
843
|
-
"sonar/S4634": "off",
|
|
844
|
-
"sonar/S4721": "off",
|
|
845
|
-
"sonar/S4782": "off",
|
|
846
|
-
"sonar/S4784": "off",
|
|
847
|
-
"sonar/S4787": "off",
|
|
848
|
-
"sonar/S4790": "off",
|
|
849
|
-
"sonar/S4798": "off",
|
|
850
|
-
"sonar/S4817": "off",
|
|
851
|
-
"sonar/S4818": "off",
|
|
852
|
-
"sonar/S4822": "off",
|
|
853
|
-
"sonar/S4823": "off",
|
|
854
|
-
"sonar/S4829": "off",
|
|
855
|
-
"sonar/S4830": "off",
|
|
856
|
-
"sonar/S5042": "off",
|
|
857
|
-
"sonar/S5122": "off",
|
|
858
|
-
"sonar/S5148": "off",
|
|
859
|
-
"sonar/S5247": "off",
|
|
860
|
-
"sonar/S5254": "off",
|
|
861
|
-
"sonar/S5256": "off",
|
|
862
|
-
"sonar/S5257": "off",
|
|
863
|
-
"sonar/S5260": "off",
|
|
864
|
-
"sonar/S5264": "off",
|
|
865
|
-
"sonar/S5332": "off",
|
|
866
|
-
"sonar/S5443": "off",
|
|
867
|
-
"sonar/S5527": "off",
|
|
868
|
-
"sonar/S5542": "off",
|
|
869
|
-
"sonar/S5547": "off",
|
|
870
|
-
"sonar/S5604": "off",
|
|
871
|
-
"sonar/S5659": "off",
|
|
872
|
-
"sonar/S5689": "off",
|
|
873
|
-
"sonar/S5691": "off",
|
|
874
|
-
"sonar/S5693": "off",
|
|
875
|
-
"sonar/S5725": "off",
|
|
876
|
-
"sonar/S5728": "off",
|
|
877
|
-
"sonar/S5730": "off",
|
|
878
|
-
"sonar/S5732": "off",
|
|
879
|
-
"sonar/S5734": "off",
|
|
880
|
-
"sonar/S5736": "off",
|
|
881
|
-
"sonar/S5739": "off",
|
|
882
|
-
"sonar/S5742": "off",
|
|
883
|
-
"sonar/S5743": "off",
|
|
884
|
-
"sonar/S5757": "off",
|
|
885
|
-
"sonar/S5759": "off",
|
|
886
|
-
"sonar/S5842": "off",
|
|
887
|
-
"sonar/S5843": "off",
|
|
888
|
-
"sonar/S5850": "off",
|
|
889
|
-
"sonar/S5852": "off",
|
|
890
|
-
"sonar/S5856": "off",
|
|
891
|
-
"sonar/S5860": "off",
|
|
892
|
-
"sonar/S5863": "off",
|
|
893
|
-
"sonar/S5867": "off",
|
|
894
|
-
"sonar/S5868": "off",
|
|
895
|
-
"sonar/S5869": "off",
|
|
896
|
-
"sonar/S5876": "off",
|
|
897
|
-
"sonar/S5958": "off",
|
|
898
|
-
"sonar/S5973": "off",
|
|
899
|
-
"sonar/S6019": "off",
|
|
900
|
-
"sonar/S6035": "off",
|
|
901
|
-
"sonar/S6079": "off",
|
|
902
|
-
"sonar/S6080": "off",
|
|
903
|
-
"sonar/S6092": "off",
|
|
904
|
-
"sonar/S6245": "off",
|
|
905
|
-
"sonar/S6249": "off",
|
|
906
|
-
"sonar/S6252": "off",
|
|
907
|
-
"sonar/S6265": "off",
|
|
908
|
-
"sonar/S6268": "off",
|
|
909
|
-
"sonar/S6270": "off",
|
|
910
|
-
"sonar/S6275": "off",
|
|
911
|
-
"sonar/S6281": "off",
|
|
912
|
-
"sonar/S6299": "off",
|
|
913
|
-
"sonar/S6302": "off",
|
|
914
|
-
"sonar/S6303": "off",
|
|
915
|
-
"sonar/S6304": "off",
|
|
916
|
-
"sonar/S6308": "off",
|
|
917
|
-
"sonar/S6317": "off",
|
|
918
|
-
"sonar/S6319": "off",
|
|
919
|
-
"sonar/S6321": "off",
|
|
920
|
-
"sonar/S6323": "off",
|
|
921
|
-
"sonar/S6324": "off",
|
|
922
|
-
"sonar/S6325": "off",
|
|
923
|
-
"sonar/S6326": "off",
|
|
924
|
-
"sonar/S6327": "off",
|
|
925
|
-
"sonar/S6328": "off",
|
|
926
|
-
"sonar/S6329": "off",
|
|
927
|
-
"sonar/S6330": "off",
|
|
928
|
-
"sonar/S6331": "off",
|
|
929
|
-
"sonar/S6332": "off",
|
|
930
|
-
"sonar/S6333": "off",
|
|
931
|
-
"sonar/S6351": "off",
|
|
932
|
-
"sonar/S6353": "off",
|
|
933
|
-
"sonar/S6397": "off",
|
|
934
|
-
"sonar/S6426": "off",
|
|
935
|
-
"sonar/S6435": "off",
|
|
936
|
-
"sonar/S6438": "off",
|
|
937
|
-
"sonar/S6439": "off",
|
|
938
|
-
"sonar/S6440": "off",
|
|
939
|
-
"sonar/S6441": "off",
|
|
940
|
-
"sonar/S6442": "off",
|
|
941
|
-
"sonar/S6443": "off",
|
|
942
|
-
"sonar/S6477": "off",
|
|
943
|
-
"sonar/S6478": "off",
|
|
944
|
-
"sonar/S6479": "off",
|
|
945
|
-
"sonar/S6480": "off",
|
|
946
|
-
"sonar/S6481": "off",
|
|
947
|
-
"sonar/S6486": "off",
|
|
948
|
-
"sonar/S6509": "off",
|
|
949
|
-
"sonar/S6522": "off",
|
|
950
|
-
"sonar/S6523": "off",
|
|
951
|
-
"sonar/S6534": "off",
|
|
952
|
-
"sonar/S6535": "off",
|
|
953
|
-
"sonar/S6544": "off",
|
|
954
|
-
"sonar/S6550": "off",
|
|
955
|
-
"sonar/S6551": "off",
|
|
956
|
-
"sonar/S6557": "off",
|
|
957
|
-
"sonar/S6564": "off",
|
|
958
|
-
"sonar/S6565": "off",
|
|
959
|
-
"sonar/S6568": "off",
|
|
960
|
-
"sonar/S6569": "off",
|
|
961
|
-
"sonar/S6571": "off",
|
|
962
|
-
"sonar/S6572": "off",
|
|
963
|
-
"sonar/S6578": "off",
|
|
964
|
-
"sonar/S6582": "off",
|
|
965
|
-
"sonar/S6583": "off",
|
|
966
|
-
"sonar/S6590": "off",
|
|
967
|
-
"sonar/S6594": "off",
|
|
968
|
-
"sonar/S6598": "off",
|
|
969
|
-
"sonar/S6606": "off",
|
|
970
|
-
"sonar/S6635": "off",
|
|
971
|
-
"sonar/S6637": "off",
|
|
972
|
-
"sonar/S6638": "off",
|
|
973
|
-
"sonar/S6643": "off",
|
|
974
|
-
"sonar/S6644": "off",
|
|
975
|
-
"sonar/S6645": "off",
|
|
976
|
-
"sonar/S6647": "off",
|
|
977
|
-
"sonar/S6650": "off",
|
|
978
|
-
"sonar/S6653": "off",
|
|
979
|
-
"sonar/S6654": "off",
|
|
980
|
-
"sonar/S6657": "off",
|
|
981
|
-
"sonar/S6660": "off",
|
|
982
|
-
"sonar/S6661": "off",
|
|
983
|
-
"sonar/S6666": "off",
|
|
984
|
-
"sonar/S6671": "off",
|
|
985
|
-
"sonar/S6676": "off",
|
|
986
|
-
"sonar/S6679": "off",
|
|
987
|
-
"sonar/S6746": "off",
|
|
988
|
-
"sonar/S6747": "off",
|
|
989
|
-
"sonar/S6748": "off",
|
|
990
|
-
"sonar/S6749": "off",
|
|
991
|
-
"sonar/S6750": "off",
|
|
992
|
-
"sonar/S6754": "off",
|
|
993
|
-
"sonar/S6756": "off",
|
|
994
|
-
"sonar/S6757": "off",
|
|
995
|
-
"sonar/S6759": "off",
|
|
996
|
-
"sonar/S6761": "off",
|
|
997
|
-
"sonar/S6763": "off",
|
|
998
|
-
"sonar/S6766": "off",
|
|
999
|
-
"sonar/S6767": "off",
|
|
1000
|
-
"sonar/S6770": "off",
|
|
1001
|
-
"sonar/S6772": "off",
|
|
1002
|
-
"sonar/S6774": "off",
|
|
1003
|
-
"sonar/S6775": "off",
|
|
1004
|
-
"sonar/S6788": "off",
|
|
1005
|
-
"sonar/S6789": "off",
|
|
1006
|
-
"sonar/S6790": "off",
|
|
1007
|
-
"sonar/S6791": "off",
|
|
1008
|
-
"sonar/S6793": "off",
|
|
1009
|
-
"sonar/S6807": "off",
|
|
1010
|
-
"sonar/S6811": "off",
|
|
1011
|
-
"sonar/S6819": "off",
|
|
1012
|
-
"sonar/S6821": "off",
|
|
1013
|
-
"sonar/S6822": "off",
|
|
1014
|
-
"sonar/S6823": "off",
|
|
1015
|
-
"sonar/S6824": "off",
|
|
1016
|
-
"sonar/S6825": "off",
|
|
1017
|
-
"sonar/S6827": "off",
|
|
1018
|
-
"sonar/S6836": "off",
|
|
1019
|
-
"sonar/S6840": "off",
|
|
1020
|
-
"sonar/S6841": "off",
|
|
1021
|
-
"sonar/S6842": "off",
|
|
1022
|
-
"sonar/S6843": "off",
|
|
1023
|
-
"sonar/S6844": "off",
|
|
1024
|
-
"sonar/S6845": "off",
|
|
1025
|
-
"sonar/S6846": "off",
|
|
1026
|
-
"sonar/S6847": "off",
|
|
1027
|
-
"sonar/S6848": "off",
|
|
1028
|
-
"sonar/S6850": "off",
|
|
1029
|
-
"sonar/S6851": "off",
|
|
1030
|
-
"sonar/S6852": "off",
|
|
1031
|
-
"sonar/S6853": "off",
|
|
1032
|
-
"sonar/S6859": "off",
|
|
1033
|
-
"sonar/S6861": "off",
|
|
1034
|
-
"sonar/S6957": "off",
|
|
1035
|
-
"sonar/S6958": "off",
|
|
1036
|
-
"sonar/S6959": "off",
|
|
1037
|
-
"sonar/S878": "off",
|
|
1038
|
-
"sonar/S881": "off",
|
|
1039
|
-
"sonar/S888": "off",
|
|
1040
|
-
"sonar/S905": "off",
|
|
1041
|
-
"sonar/S909": "off",
|
|
1042
|
-
"sonar/S930": "off",
|
|
1043
|
-
"sonar/accessor-pairs": "error",
|
|
1044
|
-
"sonar/alt-text": "error",
|
|
1045
|
-
"sonar/anchor-has-content": "error",
|
|
1046
|
-
"sonar/anchor-is-valid": "error",
|
|
1047
|
-
"sonar/anchor-precedence": "error",
|
|
1048
|
-
"sonar/argument-type": "error",
|
|
1049
|
-
"sonar/arguments-order": "error",
|
|
1050
|
-
"sonar/arguments-usage": "error",
|
|
1051
|
-
"sonar/array-callback-without-return": "error",
|
|
1052
|
-
"sonar/array-constructor": "error",
|
|
1053
|
-
"sonar/arrow-function-convention": "off",
|
|
1054
|
-
"sonar/assertions-in-tests": "error",
|
|
1055
|
-
"sonar/aws-apigateway-public-api": "error",
|
|
1056
|
-
"sonar/aws-ec2-rds-dms-public": "error",
|
|
1057
|
-
"sonar/aws-ec2-unencrypted-ebs-volume": "error",
|
|
1058
|
-
"sonar/aws-efs-unencrypted": "error",
|
|
1059
|
-
"sonar/aws-iam-all-privileges": "error",
|
|
1060
|
-
"sonar/aws-iam-all-resources-accessible": "error",
|
|
1061
|
-
"sonar/aws-iam-privilege-escalation": "error",
|
|
1062
|
-
"sonar/aws-iam-public-access": "error",
|
|
1063
|
-
"sonar/aws-opensearchservice-domain": "error",
|
|
1064
|
-
"sonar/aws-rds-unencrypted-databases": "error",
|
|
1065
|
-
"sonar/aws-restricted-ip-admin-access": "error",
|
|
1066
|
-
"sonar/aws-s3-bucket-granted-access": "error",
|
|
1067
|
-
"sonar/aws-s3-bucket-insecure-http": "error",
|
|
1068
|
-
"sonar/aws-s3-bucket-public-access": "error",
|
|
1069
|
-
"sonar/aws-s3-bucket-server-encryption": "off",
|
|
1070
|
-
"sonar/aws-s3-bucket-versioning": "error",
|
|
1071
|
-
"sonar/aws-sagemaker-unencrypted-notebook": "error",
|
|
1072
|
-
"sonar/aws-sns-unencrypted-topics": "error",
|
|
1073
|
-
"sonar/aws-sqs-unencrypted-queue": "error",
|
|
1074
|
-
"sonar/bitwise-operators": "error",
|
|
1075
|
-
"sonar/bool-param-default": "error",
|
|
1076
|
-
"sonar/brace-style": "off",
|
|
1077
|
-
"sonar/call-argument-line": "error",
|
|
1078
|
-
"sonar/certificate-transparency": "error",
|
|
1079
|
-
"sonar/chai-determinate-assertion": "error",
|
|
1080
|
-
"sonar/class-name": "error",
|
|
1081
|
-
"sonar/class-prototype": "error",
|
|
1082
|
-
"sonar/code-eval": "error",
|
|
1083
|
-
"sonar/cognitive-complexity": "error",
|
|
1084
|
-
"sonar/comma-or-logical-or-case": "error",
|
|
1085
|
-
"sonar/comment-regex": "off",
|
|
1086
|
-
"sonar/concise-regex": "error",
|
|
1087
|
-
"sonar/conditional-indentation": "off",
|
|
1088
|
-
"sonar/confidential-information-logging": "error",
|
|
1089
|
-
"sonar/constructor-for-side-effects": "error",
|
|
1090
|
-
"sonar/content-length": "error",
|
|
1091
|
-
"sonar/content-security-policy": "error",
|
|
1092
|
-
"sonar/cookie-no-httponly": "error",
|
|
1093
|
-
"sonar/cookies": "off",
|
|
1094
|
-
"sonar/cors": "error",
|
|
1095
|
-
"sonar/csrf": "error",
|
|
1096
|
-
"sonar/cyclomatic-complexity": "off",
|
|
1097
|
-
"sonar/declarations-in-global-scope": "error",
|
|
1098
|
-
"sonar/default-param-last": "error",
|
|
1099
|
-
"sonar/deprecation": "error",
|
|
1100
|
-
"sonar/destructuring-assignment-syntax": "error",
|
|
1101
|
-
"sonar/different-types-comparison": "error",
|
|
1102
|
-
"sonar/disabled-auto-escaping": "error",
|
|
1103
|
-
"sonar/disabled-resource-integrity": "error",
|
|
1104
|
-
"sonar/disabled-timeout": "error",
|
|
1105
|
-
"sonar/dns-prefetching": "off",
|
|
1106
|
-
"sonar/duplicates-in-character-class": "error",
|
|
1107
|
-
"sonar/elseif-without-else": "error",
|
|
1108
|
-
"sonar/empty-string-repetition": "error",
|
|
1109
|
-
"sonar/encryption": "off",
|
|
1110
|
-
"sonar/encryption-secure-mode": "error",
|
|
1111
|
-
"sonar/enforce-trailing-comma": "off",
|
|
1112
|
-
"sonar/existing-groups": "error",
|
|
1113
|
-
"sonar/expression-complexity": "error",
|
|
1114
|
-
"sonar/file-header": "off",
|
|
1115
|
-
"sonar/file-name-differ-from-class": "error",
|
|
1116
|
-
"sonar/file-permissions": "error",
|
|
1117
|
-
"sonar/file-uploads": "error",
|
|
1118
|
-
"sonar/fixme-tag": "error",
|
|
1119
|
-
"sonar/for-in": "error",
|
|
1120
|
-
"sonar/for-loop-increment-sign": "error",
|
|
1121
|
-
"sonar/frame-ancestors": "error",
|
|
1122
|
-
"sonar/function-inside-loop": "error",
|
|
1123
|
-
"sonar/function-name": [
|
|
1124
|
-
"error",
|
|
1125
|
-
{ format: "^(?:[a-z][a-zA-Z0-9]*|[A-Z][A-Z0-9]*)$" },
|
|
1126
|
-
],
|
|
1127
|
-
"sonar/function-return-type": "off",
|
|
1128
|
-
"sonar/future-reserved-words": "error",
|
|
1129
|
-
"sonar/generator-without-yield": "error",
|
|
1130
|
-
"sonar/hashing": "error",
|
|
1131
|
-
"sonar/hidden-files": "error",
|
|
1132
|
-
"sonar/hook-use-state": "error",
|
|
1133
|
-
"sonar/html-has-lang": "error",
|
|
1134
|
-
"sonar/in-operator-type-error": "error",
|
|
1135
|
-
"sonar/inconsistent-function-call": "error",
|
|
1136
|
-
"sonar/index-of-compare-to-positive-number": "error",
|
|
1137
|
-
"sonar/insecure-cookie": "error",
|
|
1138
|
-
"sonar/insecure-jwt-token": "error",
|
|
1139
|
-
"sonar/inverted-assertion-arguments": "error",
|
|
1140
|
-
"sonar/jsx-key": "error",
|
|
1141
|
-
"sonar/jsx-no-constructed-context-values": "error",
|
|
1142
|
-
"sonar/jsx-no-useless-fragment": "error",
|
|
1143
|
-
"sonar/label-has-associated-control": "error",
|
|
1144
|
-
"sonar/label-position": "error",
|
|
1145
|
-
"sonar/link-with-target-blank": "error",
|
|
1146
|
-
"sonar/max-switch-cases": "error",
|
|
1147
|
-
"sonar/max-union-size": "off",
|
|
1148
|
-
"sonar/media-has-caption": "error",
|
|
1149
|
-
"sonar/misplaced-loop-counter": "error",
|
|
1150
|
-
"sonar/mouse-events-a11y": "error",
|
|
1151
|
-
"sonar/nested-control-flow": "error",
|
|
1152
|
-
"sonar/new-cap": "off",
|
|
1153
|
-
"sonar/new-operator-misuse": "error",
|
|
1154
|
-
"sonar/no-accessor-field-mismatch": "error",
|
|
1155
|
-
"sonar/no-all-duplicated-branches": "error",
|
|
1156
|
-
"sonar/no-alphabetical-sort": "error",
|
|
1157
|
-
"sonar/no-angular-bypass-sanitization": "error",
|
|
1158
|
-
"sonar/no-array-delete": "error",
|
|
1159
|
-
"sonar/no-array-index-key": "error",
|
|
1160
|
-
"sonar/no-associative-arrays": "error",
|
|
1161
|
-
"sonar/no-base-to-string": "error",
|
|
1162
|
-
"sonar/no-built-in-override": "error",
|
|
1163
|
-
"sonar/no-case-label-in-switch": "error",
|
|
1164
|
-
"sonar/no-clear-text-protocols": "error",
|
|
1165
|
-
"sonar/no-code-after-done": "error",
|
|
1166
|
-
"sonar/no-collapsible-if": "error",
|
|
1167
|
-
"sonar/no-collection-size-mischeck": "error",
|
|
1168
|
-
"sonar/no-commented-code": "error",
|
|
1169
|
-
"sonar/no-dead-store": "error",
|
|
1170
|
-
"sonar/no-delete-var": "error",
|
|
1171
|
-
"sonar/no-deprecated-react": "error",
|
|
1172
|
-
"sonar/no-duplicate-in-composite": "error",
|
|
1173
|
-
"sonar/no-duplicate-string": "error",
|
|
1174
|
-
"sonar/no-duplicated-branches": "error",
|
|
1175
|
-
"sonar/no-element-overwrite": "error",
|
|
1176
|
-
"sonar/no-empty-after-reluctant": "error",
|
|
1177
|
-
"sonar/no-empty-alternatives": "error",
|
|
1178
|
-
"sonar/no-empty-collection": "error",
|
|
1179
|
-
"sonar/no-empty-function": "error",
|
|
1180
|
-
"sonar/no-empty-group": "error",
|
|
1181
|
-
"sonar/no-empty-interface": "error",
|
|
1182
|
-
"sonar/no-empty-test-file": "error",
|
|
1183
|
-
"sonar/no-equals-in-for-termination": "error",
|
|
1184
|
-
"sonar/no-exclusive-tests": "error",
|
|
1185
|
-
"sonar/no-extend-native": "error",
|
|
1186
|
-
"sonar/no-extra-arguments": "error",
|
|
1187
|
-
"sonar/no-extra-semi": "off",
|
|
1188
|
-
"sonar/no-find-dom-node": "error",
|
|
1189
|
-
"sonar/no-for-in-iterable": "error",
|
|
1190
|
-
"sonar/no-function-declaration-in-block": "error",
|
|
1191
|
-
"sonar/no-global-this": "error",
|
|
1192
|
-
"sonar/no-globals-shadowing": "error",
|
|
1193
|
-
"sonar/no-gratuitous-expressions": "error",
|
|
1194
|
-
"sonar/no-hardcoded-credentials": "error",
|
|
1195
|
-
"sonar/no-hardcoded-ip": "error",
|
|
1196
|
-
"sonar/no-hook-setter-in-body": "error",
|
|
1197
|
-
"sonar/no-identical-conditions": "error",
|
|
1198
|
-
"sonar/no-identical-expressions": "error",
|
|
1199
|
-
"sonar/no-identical-functions": "error",
|
|
1200
|
-
"sonar/no-ignored-exceptions": "error",
|
|
1201
|
-
"sonar/no-ignored-return": "error",
|
|
1202
|
-
"sonar/no-implicit-dependencies": "off",
|
|
1203
|
-
"sonar/no-implicit-global": "error",
|
|
1204
|
-
"sonar/no-in-misuse": "error",
|
|
1205
|
-
"sonar/no-incomplete-assertions": "error",
|
|
1206
|
-
"sonar/no-inconsistent-returns": "off",
|
|
1207
|
-
"sonar/no-incorrect-string-concat": "error",
|
|
1208
|
-
"sonar/no-infinite-loop": "error",
|
|
1209
|
-
"sonar/no-intrusive-permissions": "error",
|
|
1210
|
-
"sonar/no-invalid-await": "error",
|
|
1211
|
-
"sonar/no-invariant-returns": "error",
|
|
1212
|
-
"sonar/no-inverted-boolean-check": "error",
|
|
1213
|
-
"sonar/no-ip-forward": "error",
|
|
1214
|
-
"sonar/no-labels": "error",
|
|
1215
|
-
"sonar/no-literal-call": "error",
|
|
1216
|
-
"sonar/no-lonely-if": "error",
|
|
1217
|
-
"sonar/no-mime-sniff": "error",
|
|
1218
|
-
"sonar/no-misleading-array-reverse": "error",
|
|
1219
|
-
"sonar/no-misused-promises": "error",
|
|
1220
|
-
"sonar/no-mixed-content": "error",
|
|
1221
|
-
"sonar/no-nested-assignment": "error",
|
|
1222
|
-
"sonar/no-nested-conditional": "error",
|
|
1223
|
-
"sonar/no-nested-functions": "error",
|
|
1224
|
-
"sonar/no-nested-incdec": "error",
|
|
1225
|
-
"sonar/no-nested-switch": "error",
|
|
1226
|
-
"sonar/no-nested-template-literals": "error",
|
|
1227
|
-
"sonar/no-one-iteration-loop": "error",
|
|
1228
|
-
"sonar/no-os-command-from-path": "error",
|
|
1229
|
-
"sonar/no-parameter-reassignment": "error",
|
|
1230
|
-
"sonar/no-primitive-wrappers": "error",
|
|
1231
|
-
"sonar/no-redeclare": "error",
|
|
1232
|
-
"sonar/no-redundant-assignments": "error",
|
|
1233
|
-
"sonar/no-redundant-boolean": "error",
|
|
1234
|
-
"sonar/no-redundant-jump": "error",
|
|
1235
|
-
"sonar/no-redundant-optional": "error",
|
|
1236
|
-
"sonar/no-redundant-parentheses": "off",
|
|
1237
|
-
"sonar/no-redundant-type-constituents": "error",
|
|
1238
|
-
"sonar/no-reference-error": "off",
|
|
1239
|
-
"sonar/no-referrer-policy": "error",
|
|
1240
|
-
"sonar/no-require-or-define": "error",
|
|
1241
|
-
"sonar/no-return-type-any": "error",
|
|
1242
|
-
"sonar/no-same-argument-assert": "error",
|
|
1243
|
-
"sonar/no-same-line-conditional": "error",
|
|
1244
|
-
"sonar/no-self-compare": "error",
|
|
1245
|
-
"sonar/no-small-switch": "error",
|
|
1246
|
-
"sonar/no-tab": "off",
|
|
1247
|
-
"sonar/no-table-as-layout": "error",
|
|
1248
|
-
"sonar/no-this-alias": "error",
|
|
1249
|
-
"sonar/no-throw-literal": "error",
|
|
1250
|
-
"sonar/no-try-promise": "error",
|
|
1251
|
-
"sonar/no-undefined-argument": "error",
|
|
1252
|
-
"sonar/no-undefined-assignment": "off",
|
|
1253
|
-
"sonar/no-unenclosed-multiline-block": "error",
|
|
1254
|
-
"sonar/no-uniq-key": "error",
|
|
1255
|
-
"sonar/no-unknown-property": "error",
|
|
1256
|
-
"sonar/no-unreachable": "error",
|
|
1257
|
-
"sonar/no-unsafe": "error",
|
|
1258
|
-
"sonar/no-unsafe-unzip": "error",
|
|
1259
|
-
"sonar/no-unstable-nested-components": "error",
|
|
1260
|
-
"sonar/no-unthrown-error": "error",
|
|
1261
|
-
"sonar/no-unused-collection": "error",
|
|
1262
|
-
"sonar/no-unused-expressions": "error",
|
|
1263
|
-
"sonar/no-unused-function-argument": "error",
|
|
1264
|
-
"sonar/no-unused-private-class-members": "error",
|
|
1265
|
-
"sonar/no-use-of-empty-return-value": "error",
|
|
1266
|
-
"sonar/no-useless-call": "error",
|
|
1267
|
-
"sonar/no-useless-catch": "error",
|
|
1268
|
-
"sonar/no-useless-constructor": "error",
|
|
1269
|
-
"sonar/no-useless-increment": "error",
|
|
1270
|
-
"sonar/no-useless-intersection": "error",
|
|
1271
|
-
"sonar/no-useless-react-setstate": "error",
|
|
1272
|
-
"sonar/no-var": "error",
|
|
1273
|
-
"sonar/no-variable-usage-before-declaration": "error",
|
|
1274
|
-
"sonar/no-vue-bypass-sanitization": "error",
|
|
1275
|
-
"sonar/no-weak-cipher": "error",
|
|
1276
|
-
"sonar/no-weak-keys": "error",
|
|
1277
|
-
"sonar/no-wildcard-import": "error",
|
|
1278
|
-
"sonar/non-existent-operator": "error",
|
|
1279
|
-
"sonar/non-number-in-arithmetic-expression": "error",
|
|
1280
|
-
"sonar/null-dereference": "error",
|
|
1281
|
-
"sonar/object-alt-content": "error",
|
|
1282
|
-
"sonar/object-shorthand": "error",
|
|
1283
|
-
"sonar/operation-returning-nan": "error",
|
|
1284
|
-
"sonar/os-command": "error",
|
|
1285
|
-
"sonar/post-message": "error",
|
|
1286
|
-
"sonar/prefer-default-last": "error",
|
|
1287
|
-
"sonar/prefer-enum-initializers": "error",
|
|
1288
|
-
"sonar/prefer-for-of": "error",
|
|
1289
|
-
"sonar/prefer-function-type": "error",
|
|
1290
|
-
"sonar/prefer-immediate-return": "error",
|
|
1291
|
-
"sonar/prefer-namespace-keyword": "error",
|
|
1292
|
-
"sonar/prefer-nullish-coalescing": "error",
|
|
1293
|
-
"sonar/prefer-object-literal": "error",
|
|
1294
|
-
"sonar/prefer-object-spread": "error",
|
|
1295
|
-
"sonar/prefer-promise-shorthand": "error",
|
|
1296
|
-
"sonar/prefer-single-boolean-return": "error",
|
|
1297
|
-
"sonar/prefer-spread": "error",
|
|
1298
|
-
"sonar/prefer-string-starts-ends-with": "error",
|
|
1299
|
-
"sonar/prefer-template": "error",
|
|
1300
|
-
"sonar/prefer-type-guard": "error",
|
|
1301
|
-
"sonar/prefer-while": "error",
|
|
1302
|
-
"sonar/process-argv": "off",
|
|
1303
|
-
"sonar/production-debug": "error",
|
|
1304
|
-
"sonar/pseudo-random": "error",
|
|
1305
|
-
"sonar/public-static-readonly": "error",
|
|
1306
|
-
"sonar/publicly-writable-directories": "error",
|
|
1307
|
-
"sonar/reduce-initial-value": "error",
|
|
1308
|
-
"sonar/redundant-type-aliases": "error",
|
|
1309
|
-
"sonar/regex-complexity": "error",
|
|
1310
|
-
"sonar/regular-expr": "off",
|
|
1311
|
-
"sonar/pluginRules-of-hooks": "error",
|
|
1312
|
-
"sonar/semi": "off",
|
|
1313
|
-
"sonar/session-regeneration": "error",
|
|
1314
|
-
"sonar/shorthand-property-grouping": "off",
|
|
1315
|
-
"sonar/single-char-in-character-classes": "error",
|
|
1316
|
-
"sonar/single-character-alternation": "error",
|
|
1317
|
-
"sonar/slow-regex": "error",
|
|
1318
|
-
"sonar/sockets": "off",
|
|
1319
|
-
"sonar/sonar-block-scoped-var": "error",
|
|
1320
|
-
"sonar/sonar-jsx-no-leaked-render": "error",
|
|
1321
|
-
"sonar/sonar-max-lines": "error",
|
|
1322
|
-
"sonar/sonar-max-lines-per-function": "error",
|
|
1323
|
-
"sonar/sonar-max-params": "error",
|
|
1324
|
-
"sonar/sonar-no-control-regex": "error",
|
|
1325
|
-
"sonar/sonar-no-dupe-keys": "error",
|
|
1326
|
-
"sonar/sonar-no-empty-character-class": "error",
|
|
1327
|
-
"sonar/sonar-no-fallthrough": "off",
|
|
1328
|
-
"sonar/sonar-no-invalid-regexp": "error",
|
|
1329
|
-
"sonar/sonar-no-magic-numbers": "off",
|
|
1330
|
-
"sonar/sonar-no-misleading-character-class": "error",
|
|
1331
|
-
"sonar/sonar-no-regex-spaces": "error",
|
|
1332
|
-
"sonar/sonar-no-unused-class-component-methods": "error",
|
|
1333
|
-
"sonar/sonar-no-unused-vars": "error",
|
|
1334
|
-
"sonar/sonar-prefer-optional-chain": "error",
|
|
1335
|
-
"sonar/sonar-prefer-read-only-props": "error",
|
|
1336
|
-
"sonar/sonar-prefer-regexp-exec": "error",
|
|
1337
|
-
"sonar/sql-queries": "error",
|
|
1338
|
-
"sonar/stable-tests": "error",
|
|
1339
|
-
"sonar/standard-input": "off",
|
|
1340
|
-
"sonar/stateful-regex": "error",
|
|
1341
|
-
"sonar/strict-transport-security": "error",
|
|
1342
|
-
"sonar/strings-comparison": "error",
|
|
1343
|
-
"sonar/super-invocation": "error",
|
|
1344
|
-
"sonar/switch-without-default": "off",
|
|
1345
|
-
"sonar/table-header": "error",
|
|
1346
|
-
"sonar/table-header-reference": "error",
|
|
1347
|
-
"sonar/test-check-exception": "error",
|
|
1348
|
-
"sonar/todo-tag": "off",
|
|
1349
|
-
"sonar/too-many-break-or-continue-in-loop": "error",
|
|
1350
|
-
"sonar/unicode-aware-regex": "error",
|
|
1351
|
-
"sonar/unnecessary-character-escapes": "error",
|
|
1352
|
-
"sonar/unused-import": "error",
|
|
1353
|
-
"sonar/unused-named-groups": "error",
|
|
1354
|
-
"sonar/unverified-certificate": "error",
|
|
1355
|
-
"sonar/unverified-hostname": "error",
|
|
1356
|
-
"sonar/updated-const-var": "error",
|
|
1357
|
-
"sonar/updated-loop-counter": "error",
|
|
1358
|
-
"sonar/use-isnan": "error",
|
|
1359
|
-
"sonar/use-type-alias": "error",
|
|
1360
|
-
"sonar/useless-string-operation": "off",
|
|
1361
|
-
"sonar/values-not-convertible-to-numbers": "error",
|
|
1362
|
-
"sonar/variable-name": "error",
|
|
1363
|
-
"sonar/void-use": "error",
|
|
1364
|
-
"sonar/weak-ssl": "error",
|
|
1365
|
-
"sonar/web-sql-database": "off",
|
|
1366
|
-
"sonar/x-powered-by": "error",
|
|
1367
|
-
"sonar/xml-parser-xxe": "error",
|
|
1368
|
-
"sonar/xpath": "off",
|
|
1369
|
-
"@tanstack/query/exhaustive-deps": "error",
|
|
1370
|
-
"@tanstack/query/stable-query-client": "error",
|
|
1371
|
-
"@tanstack/query/no-rest-destructuring": "error",
|
|
1372
|
-
"@tanstack/query/no-unstable-deps": "error",
|
|
1373
|
-
"tailwind/classnames-order": "error",
|
|
1374
|
-
"tailwind/enforces-negative-arbitrary-values": "error",
|
|
1375
|
-
"tailwind/enforces-shorthand": "error",
|
|
1376
|
-
"tailwind/migration-from-tailwind-2": "error",
|
|
1377
|
-
"tailwind/no-arbitrary-value": "error",
|
|
1378
|
-
"tailwind/no-contradicting-classname": "error",
|
|
1379
|
-
"tailwind/no-custom-classname": "off",
|
|
1380
|
-
"tailwind/no-unnecessary-arbitrary-value": "error",
|
|
1381
|
-
"stylistic/array-bracket-newline": ["error", "consistent"],
|
|
1382
|
-
"stylistic/array-bracket-spacing": "error",
|
|
1383
|
-
"stylistic/array-element-newline": ["error", "consistent"],
|
|
1384
|
-
"stylistic/arrow-parens": "error",
|
|
1385
|
-
"stylistic/arrow-spacing": "error",
|
|
1386
|
-
"stylistic/block-spacing": "error",
|
|
1387
|
-
"stylistic/brace-style": "error",
|
|
1388
|
-
"stylistic/comma-dangle": ["error", "always-multiline"],
|
|
1389
|
-
"stylistic/comma-spacing": "error",
|
|
1390
|
-
"stylistic/comma-style": "error",
|
|
1391
|
-
"stylistic/computed-property-spacing": "error",
|
|
1392
|
-
"stylistic/dot-location": ["error", "property"],
|
|
1393
|
-
"stylistic/eol-last": "error",
|
|
1394
|
-
"stylistic/func-call-spacing": "error",
|
|
1395
|
-
"stylistic/function-call-argument-newline": ["error", "consistent"],
|
|
1396
|
-
"stylistic/function-call-spacing": "error",
|
|
1397
|
-
"stylistic/function-paren-newline": ["error", "consistent"],
|
|
1398
|
-
"stylistic/generator-star-spacing": "error",
|
|
1399
|
-
"stylistic/implicit-arrow-linebreak": "error",
|
|
1400
|
-
"stylistic/indent": ["error", 2],
|
|
1401
|
-
"stylistic/jsx-quotes": "error",
|
|
1402
|
-
"stylistic/key-spacing": "error",
|
|
1403
|
-
"stylistic/keyword-spacing": "error",
|
|
1404
|
-
"stylistic/line-comment-position": "off",
|
|
1405
|
-
"stylistic/linebreak-style": "error",
|
|
1406
|
-
"stylistic/lines-around-comment": "error",
|
|
1407
|
-
"stylistic/lines-between-class-members": "error",
|
|
1408
|
-
"stylistic/max-len": [
|
|
1409
|
-
"error",
|
|
1410
|
-
{
|
|
1411
|
-
ignoreComments: true,
|
|
1412
|
-
ignoreTrailingComments: true,
|
|
1413
|
-
ignoreUrls: true,
|
|
1414
|
-
ignoreStrings: true,
|
|
1415
|
-
ignoreTemplateLiterals: true,
|
|
1416
|
-
ignoreRegExpLiterals: true,
|
|
1417
|
-
},
|
|
1418
|
-
],
|
|
1419
|
-
"stylistic/max-statements-per-line": "error",
|
|
1420
|
-
"stylistic/multiline-comment-style": "off",
|
|
1421
|
-
"stylistic/multiline-ternary": "error",
|
|
1422
|
-
"stylistic/new-parens": "error",
|
|
1423
|
-
"stylistic/newline-per-chained-call": "error",
|
|
1424
|
-
"stylistic/no-confusing-arrow": "error",
|
|
1425
|
-
"stylistic/no-extra-parens": ["error", "all", { ignoreJSX: "multi-line" }],
|
|
1426
|
-
"stylistic/no-extra-semi": "error",
|
|
1427
|
-
"stylistic/no-floating-decimal": "error",
|
|
1428
|
-
"stylistic/no-mixed-operators": "error",
|
|
1429
|
-
"stylistic/no-mixed-spaces-and-tabs": "error",
|
|
1430
|
-
"stylistic/no-multi-spaces": "error",
|
|
1431
|
-
"stylistic/no-multiple-empty-lines": "error",
|
|
1432
|
-
"stylistic/no-tabs": "error",
|
|
1433
|
-
"stylistic/no-trailing-spaces": "error",
|
|
1434
|
-
"stylistic/no-whitespace-before-property": "error",
|
|
1435
|
-
"stylistic/nonblock-statement-body-position": "error",
|
|
1436
|
-
"stylistic/object-curly-newline": [
|
|
1437
|
-
"error",
|
|
1438
|
-
{ multiline: true, consistent: true },
|
|
1439
|
-
],
|
|
1440
|
-
"stylistic/object-curly-spacing": ["error", "always"],
|
|
1441
|
-
"stylistic/object-property-newline": "error",
|
|
1442
|
-
"stylistic/one-var-declaration-per-line": "error",
|
|
1443
|
-
"stylistic/operator-linebreak": "error",
|
|
1444
|
-
"stylistic/padded-blocks": ["error", "never"],
|
|
1445
|
-
"stylistic/padding-line-between-statements": "error",
|
|
1446
|
-
"stylistic/quote-props": ["error", "as-needed"],
|
|
1447
|
-
"stylistic/quotes": "error",
|
|
1448
|
-
"stylistic/rest-spread-spacing": "error",
|
|
1449
|
-
"stylistic/semi": "error",
|
|
1450
|
-
"stylistic/semi-spacing": "error",
|
|
1451
|
-
"stylistic/semi-style": "error",
|
|
1452
|
-
"stylistic/space-before-blocks": "error",
|
|
1453
|
-
"stylistic/space-before-function-paren": [
|
|
1454
|
-
"error",
|
|
1455
|
-
{ anonymous: "always", named: "never", asyncArrow: "always" },
|
|
1456
|
-
],
|
|
1457
|
-
"stylistic/space-in-parens": "error",
|
|
1458
|
-
"stylistic/space-infix-ops": "error",
|
|
1459
|
-
"stylistic/space-unary-ops": "error",
|
|
1460
|
-
"stylistic/spaced-comment": "error",
|
|
1461
|
-
"stylistic/switch-colon-spacing": "error",
|
|
1462
|
-
"stylistic/template-curly-spacing": "error",
|
|
1463
|
-
"stylistic/template-tag-spacing": "error",
|
|
1464
|
-
"stylistic/wrap-iife": "error",
|
|
1465
|
-
"stylistic/wrap-regex": "error",
|
|
1466
|
-
"stylistic/yield-star-spacing": "error",
|
|
1467
|
-
"stylistic/jsx-child-element-spacing": "error",
|
|
1468
|
-
"stylistic/jsx-closing-bracket-location": "error",
|
|
1469
|
-
"stylistic/jsx-closing-tag-location": "error",
|
|
1470
|
-
"stylistic/jsx-curly-brace-presence": "error",
|
|
1471
|
-
"stylistic/jsx-curly-newline": "error",
|
|
1472
|
-
"stylistic/jsx-curly-spacing": "error",
|
|
1473
|
-
"stylistic/jsx-equals-spacing": "error",
|
|
1474
|
-
"stylistic/jsx-first-prop-new-line": "error",
|
|
1475
|
-
"stylistic/jsx-function-call-newline": "error",
|
|
1476
|
-
"stylistic/jsx-indent": "off",
|
|
1477
|
-
"stylistic/jsx-indent-props": ["error", 2],
|
|
1478
|
-
"stylistic/jsx-max-props-per-line": "error",
|
|
1479
|
-
"stylistic/jsx-newline": ["error", { prevent: true }],
|
|
1480
|
-
"stylistic/jsx-one-expression-per-line": "error",
|
|
1481
|
-
"stylistic/jsx-pascal-case": "error",
|
|
1482
|
-
"stylistic/jsx-props-no-multi-spaces": "error",
|
|
1483
|
-
"stylistic/jsx-self-closing-comp": "error",
|
|
1484
|
-
"stylistic/jsx-sort-props": "off",
|
|
1485
|
-
"stylistic/jsx-tag-spacing": "error",
|
|
1486
|
-
"stylistic/jsx-wrap-multilines": [
|
|
1487
|
-
"error",
|
|
1488
|
-
{ declaration: "parens-new-line" },
|
|
1489
|
-
],
|
|
1490
|
-
"stylistic/member-delimiter-style": "error",
|
|
1491
|
-
"stylistic/type-annotation-spacing": "error",
|
|
1492
|
-
"stylistic/indent-binary-ops": "error",
|
|
1493
|
-
"stylistic/type-generic-spacing": "error",
|
|
1494
|
-
"stylistic/type-named-tuple-spacing": "error",
|
|
1495
|
-
"perfectionist/sort-variable-declarations": [
|
|
1496
|
-
"error",
|
|
1497
|
-
{ order: "asc", type: "alphabetical" },
|
|
1498
|
-
],
|
|
1499
|
-
"perfectionist/sort-intersection-types": "error",
|
|
1500
|
-
"perfectionist/sort-svelte-attributes": [
|
|
1501
|
-
"error",
|
|
1502
|
-
{ groups: ["svelte-shorthand", "shorthand", "multiline"] },
|
|
1503
|
-
],
|
|
1504
|
-
"perfectionist/sort-astro-attributes": [
|
|
1505
|
-
"error",
|
|
1506
|
-
{ groups: ["astro-shorthand", "shorthand", "multiline"] },
|
|
1507
|
-
],
|
|
1508
|
-
"perfectionist/sort-vue-attributes": [
|
|
1509
|
-
"error",
|
|
1510
|
-
{ groups: ["shorthand", "multiline"] },
|
|
1511
|
-
],
|
|
1512
|
-
"perfectionist/sort-array-includes": "error",
|
|
1513
|
-
"perfectionist/sort-named-imports": "error",
|
|
1514
|
-
"perfectionist/sort-named-exports": "error",
|
|
1515
|
-
"perfectionist/sort-object-types": "error",
|
|
1516
|
-
"perfectionist/sort-union-types": "error",
|
|
1517
|
-
"perfectionist/sort-switch-case": [
|
|
1518
|
-
"error",
|
|
1519
|
-
{ order: "asc", type: "alphabetical" },
|
|
1520
|
-
],
|
|
1521
|
-
"perfectionist/sort-interfaces": "error",
|
|
1522
|
-
"perfectionist/sort-jsx-props": [
|
|
1523
|
-
"error",
|
|
1524
|
-
{ groups: ["shorthand", "multiline"] },
|
|
1525
|
-
],
|
|
1526
|
-
"perfectionist/sort-classes": "error",
|
|
1527
|
-
"perfectionist/sort-imports": [
|
|
1528
|
-
"error",
|
|
1529
|
-
{
|
|
1530
|
-
groups: [
|
|
1531
|
-
"type",
|
|
1532
|
-
["builtin", "external"],
|
|
1533
|
-
"internal-type",
|
|
1534
|
-
"internal",
|
|
1535
|
-
["parent-type", "sibling-type", "index-type"],
|
|
1536
|
-
["parent", "sibling", "index"],
|
|
1537
|
-
"object",
|
|
1538
|
-
"unknown",
|
|
1539
|
-
],
|
|
1540
|
-
newlinesBetween: "always",
|
|
1541
|
-
},
|
|
1542
|
-
],
|
|
1543
|
-
"perfectionist/sort-exports": "error",
|
|
1544
|
-
"perfectionist/sort-objects": "error",
|
|
1545
|
-
"perfectionist/sort-enums": "error",
|
|
1546
|
-
"perfectionist/sort-maps": "error",
|
|
1547
|
-
"a11y/accessible-emoji": "off",
|
|
1548
|
-
"a11y/alt-text": "error",
|
|
1549
|
-
"a11y/anchor-ambiguous-text": "error",
|
|
1550
|
-
"a11y/anchor-has-content": "error",
|
|
1551
|
-
"a11y/anchor-is-valid": "error",
|
|
1552
|
-
"a11y/aria-activedescendant-has-tabindex": "error",
|
|
1553
|
-
"a11y/aria-props": "error",
|
|
1554
|
-
"a11y/aria-proptypes": "error",
|
|
1555
|
-
"a11y/aria-role": "error",
|
|
1556
|
-
"a11y/aria-unsupported-elements": "error",
|
|
1557
|
-
"a11y/autocomplete-valid": "error",
|
|
1558
|
-
"a11y/click-events-have-key-events": "error",
|
|
1559
|
-
"a11y/control-has-associated-label": "error",
|
|
1560
|
-
"a11y/heading-has-content": "error",
|
|
1561
|
-
"a11y/html-has-lang": "error",
|
|
1562
|
-
"a11y/iframe-has-title": "error",
|
|
1563
|
-
"a11y/img-redundant-alt": "error",
|
|
1564
|
-
"a11y/interactive-supports-focus": "error",
|
|
1565
|
-
"a11y/label-has-associated-control": "error",
|
|
1566
|
-
"a11y/label-has-for": "off",
|
|
1567
|
-
"a11y/lang": "error",
|
|
1568
|
-
"a11y/media-has-caption": "off",
|
|
1569
|
-
"a11y/mouse-events-have-key-events": "error",
|
|
1570
|
-
"a11y/no-access-key": "error",
|
|
1571
|
-
"a11y/no-aria-hidden-on-focusable": "error",
|
|
1572
|
-
"a11y/no-autofocus": "error",
|
|
1573
|
-
"a11y/no-distracting-elements": "error",
|
|
1574
|
-
"a11y/no-interactive-element-to-noninteractive-role": "error",
|
|
1575
|
-
"a11y/no-noninteractive-element-interactions": "error",
|
|
1576
|
-
"a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
1577
|
-
"a11y/no-noninteractive-tabindex": "error",
|
|
1578
|
-
"a11y/no-onchange": "off",
|
|
1579
|
-
"a11y/no-redundant-roles": "error",
|
|
1580
|
-
"a11y/no-static-element-interactions": "error",
|
|
1581
|
-
"a11y/prefer-tag-over-role": "error",
|
|
1582
|
-
"a11y/role-has-required-aria-props": "error",
|
|
1583
|
-
"a11y/role-supports-aria-props": "error",
|
|
1584
|
-
"a11y/scope": "error",
|
|
1585
|
-
"a11y/tabindex-no-positive": "error",
|
|
1586
|
-
"array-bracket-newline": "off",
|
|
1587
|
-
"array-bracket-spacing": "off",
|
|
1588
|
-
"array-element-newline": "off",
|
|
1589
|
-
"arrow-parens": "off",
|
|
1590
|
-
"arrow-spacing": "off",
|
|
1591
|
-
"block-spacing": "off",
|
|
1592
|
-
"brace-style": "off",
|
|
1593
|
-
"callback-return": "off",
|
|
1594
|
-
"comma-dangle": "off",
|
|
1595
|
-
"comma-spacing": "off",
|
|
1596
|
-
"comma-style": "off",
|
|
1597
|
-
"computed-property-spacing": "off",
|
|
1598
|
-
"dot-location": "off",
|
|
1599
|
-
"eol-last": "off",
|
|
1600
|
-
"func-call-spacing": "off",
|
|
1601
|
-
"function-call-argument-newline": "off",
|
|
1602
|
-
"function-paren-newline": "off",
|
|
1603
|
-
"generator-star-spacing": "off",
|
|
1604
|
-
"global-require": "off",
|
|
1605
|
-
"handle-callback-err": "off",
|
|
1606
|
-
"id-blacklist": "off",
|
|
1607
|
-
"implicit-arrow-linebreak": "off",
|
|
1608
|
-
indent: "off",
|
|
1609
|
-
"indent-legacy": "off",
|
|
1610
|
-
"jsx-quotes": "off",
|
|
1611
|
-
"key-spacing": "off",
|
|
1612
|
-
"keyword-spacing": "off",
|
|
1613
|
-
"line-comment-position": "off",
|
|
1614
|
-
"linebreak-style": "off",
|
|
1615
|
-
"lines-around-comment": "off",
|
|
1616
|
-
"lines-around-directive": "off",
|
|
1617
|
-
"lines-between-class-members": "off",
|
|
1618
|
-
"max-len": "off",
|
|
1619
|
-
"max-statements-per-line": "off",
|
|
1620
|
-
"multiline-comment-style": "off",
|
|
1621
|
-
"multiline-ternary": "off",
|
|
1622
|
-
"new-parens": "off",
|
|
1623
|
-
"newline-after-var": "off",
|
|
1624
|
-
"newline-before-return": "off",
|
|
1625
|
-
"newline-per-chained-call": "off",
|
|
1626
|
-
"no-buffer-constructor": "off",
|
|
1627
|
-
"no-catch-shadow": "off",
|
|
1628
|
-
"no-confusing-arrow": "off",
|
|
1629
|
-
"no-extra-parens": "off",
|
|
1630
|
-
"no-extra-semi": "off",
|
|
1631
|
-
"no-floating-decimal": "off",
|
|
1632
|
-
"no-mixed-operators": "off",
|
|
1633
|
-
"no-mixed-requires": "off",
|
|
1634
|
-
"no-mixed-spaces-and-tabs": "off",
|
|
1635
|
-
"no-multi-spaces": "off",
|
|
1636
|
-
"no-multiple-empty-lines": "off",
|
|
1637
|
-
"no-native-reassign": "off",
|
|
1638
|
-
"no-negated-in-lhs": "off",
|
|
1639
|
-
"no-new-object": "off",
|
|
1640
|
-
"no-new-require": "off",
|
|
1641
|
-
"no-new-symbol": "off",
|
|
1642
|
-
"no-path-concat": "off",
|
|
1643
|
-
"no-process-env": "off",
|
|
1644
|
-
"no-process-exit": "off",
|
|
1645
|
-
"no-restricted-modules": "off",
|
|
1646
|
-
"no-return-await": "off",
|
|
1647
|
-
"no-spaced-func": "off",
|
|
1648
|
-
"no-sync": "off",
|
|
1649
|
-
"no-tabs": "off",
|
|
1650
|
-
"no-trailing-spaces": "off",
|
|
1651
|
-
"no-whitespace-before-property": "off",
|
|
1652
|
-
"nonblock-statement-body-position": "off",
|
|
1653
|
-
"object-curly-newline": "off",
|
|
1654
|
-
"object-curly-spacing": "off",
|
|
1655
|
-
"object-property-newline": "off",
|
|
1656
|
-
"one-var-declaration-per-line": "off",
|
|
1657
|
-
"operator-linebreak": "off",
|
|
1658
|
-
"padded-blocks": "off",
|
|
1659
|
-
"padding-line-between-statements": "off",
|
|
1660
|
-
"prefer-reflect": "off",
|
|
1661
|
-
"quote-props": "off",
|
|
1662
|
-
quotes: "off",
|
|
1663
|
-
"rest-spread-spacing": "off",
|
|
1664
|
-
semi: "off",
|
|
1665
|
-
"semi-spacing": "off",
|
|
1666
|
-
"semi-style": "off",
|
|
1667
|
-
"space-before-blocks": "off",
|
|
1668
|
-
"space-before-function-paren": "off",
|
|
1669
|
-
"space-in-parens": "off",
|
|
1670
|
-
"space-infix-ops": "off",
|
|
1671
|
-
"space-unary-ops": "off",
|
|
1672
|
-
"spaced-comment": "off",
|
|
1673
|
-
"switch-colon-spacing": "off",
|
|
1674
|
-
"template-curly-spacing": "off",
|
|
1675
|
-
"template-tag-spacing": "off",
|
|
1676
|
-
"wrap-iife": "off",
|
|
1677
|
-
"wrap-regex": "off",
|
|
1678
|
-
"yield-star-spacing": "off",
|
|
1703
|
+
{
|
|
1704
|
+
files: ["**/*.{json,jsonc,json5}"],
|
|
1705
|
+
plugins: { json },
|
|
1706
|
+
rules: {
|
|
1707
|
+
"json/no-duplicate-keys": "error",
|
|
1708
|
+
"json/no-empty-keys": "error",
|
|
1709
|
+
},
|
|
1679
1710
|
},
|
|
1680
|
-
|
|
1711
|
+
);
|