@jsse/eslint-config 0.8.7 → 0.9.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/fixable-rules-map-B2-5HybI.js +661 -0
- package/dist/fixable-rules-map-CvRdO-mG.d.ts +16614 -0
- package/dist/fixable.d.ts +6 -0
- package/dist/fixable.js +5 -0
- package/dist/index.d.ts +4 -16610
- package/dist/index.js +10 -46
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +22 -8
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
//#region src/_generated/fixable-rules-map.ts
|
|
2
|
+
const FIXABLE_RULES_MAP = {
|
|
3
|
+
antfu: [
|
|
4
|
+
"antfu/consistent-chaining",
|
|
5
|
+
"antfu/consistent-list-newline",
|
|
6
|
+
"antfu/curly",
|
|
7
|
+
"antfu/if-newline",
|
|
8
|
+
"antfu/import-dedupe",
|
|
9
|
+
"antfu/indent-unindent",
|
|
10
|
+
"antfu/top-level-function"
|
|
11
|
+
],
|
|
12
|
+
deMorgan: ["de-morgan/no-negated-conjunction", "de-morgan/no-negated-disjunction"],
|
|
13
|
+
e18e: [
|
|
14
|
+
"e18e/no-indexof-equality",
|
|
15
|
+
"e18e/prefer-array-at",
|
|
16
|
+
"e18e/prefer-array-fill",
|
|
17
|
+
"e18e/prefer-array-from-map",
|
|
18
|
+
"e18e/prefer-array-some",
|
|
19
|
+
"e18e/prefer-array-to-reversed",
|
|
20
|
+
"e18e/prefer-array-to-sorted",
|
|
21
|
+
"e18e/prefer-array-to-spliced",
|
|
22
|
+
"e18e/prefer-date-now",
|
|
23
|
+
"e18e/prefer-exponentiation-operator",
|
|
24
|
+
"e18e/prefer-flatmap-over-map-flat",
|
|
25
|
+
"e18e/prefer-get-or-insert",
|
|
26
|
+
"e18e/prefer-includes",
|
|
27
|
+
"e18e/prefer-includes-over-regex-test",
|
|
28
|
+
"e18e/prefer-inline-equality",
|
|
29
|
+
"e18e/prefer-nullish-coalescing",
|
|
30
|
+
"e18e/prefer-object-has-own",
|
|
31
|
+
"e18e/prefer-regex-test",
|
|
32
|
+
"e18e/prefer-spread-syntax",
|
|
33
|
+
"e18e/prefer-string-fromcharcode",
|
|
34
|
+
"e18e/prefer-timer-args"
|
|
35
|
+
],
|
|
36
|
+
eslintComments: [],
|
|
37
|
+
eslintReact: [
|
|
38
|
+
"@eslint-react/dom-no-hydrate",
|
|
39
|
+
"@eslint-react/dom-no-missing-iframe-sandbox",
|
|
40
|
+
"@eslint-react/dom-no-render",
|
|
41
|
+
"@eslint-react/dom-no-unknown-property",
|
|
42
|
+
"@eslint-react/dom-no-unsafe-target-blank",
|
|
43
|
+
"@eslint-react/dom-no-use-form-state",
|
|
44
|
+
"@eslint-react/exhaustive-deps",
|
|
45
|
+
"@eslint-react/jsx-no-children-prop",
|
|
46
|
+
"@eslint-react/jsx-no-children-prop-with-children",
|
|
47
|
+
"@eslint-react/jsx-no-leaked-dollar",
|
|
48
|
+
"@eslint-react/jsx-no-useless-fragment",
|
|
49
|
+
"@eslint-react/no-component-will-mount",
|
|
50
|
+
"@eslint-react/no-component-will-receive-props",
|
|
51
|
+
"@eslint-react/no-component-will-update",
|
|
52
|
+
"@eslint-react/no-context-provider",
|
|
53
|
+
"@eslint-react/no-forward-ref",
|
|
54
|
+
"@eslint-react/no-missing-context-display-name",
|
|
55
|
+
"@eslint-react/no-use-context",
|
|
56
|
+
"@eslint-react/rsc-function-definition",
|
|
57
|
+
"@eslint-react/x-exhaustive-deps",
|
|
58
|
+
"@eslint-react/x-no-component-will-mount",
|
|
59
|
+
"@eslint-react/x-no-component-will-receive-props",
|
|
60
|
+
"@eslint-react/x-no-component-will-update",
|
|
61
|
+
"@eslint-react/x-no-context-provider",
|
|
62
|
+
"@eslint-react/x-no-forward-ref",
|
|
63
|
+
"@eslint-react/x-no-missing-context-display-name",
|
|
64
|
+
"@eslint-react/x-no-use-context"
|
|
65
|
+
],
|
|
66
|
+
import: [
|
|
67
|
+
"import/consistent-type-specifier-style",
|
|
68
|
+
"import/first",
|
|
69
|
+
"import/newline-after-import",
|
|
70
|
+
"import/no-duplicates"
|
|
71
|
+
],
|
|
72
|
+
jsdoc: [
|
|
73
|
+
"jsdoc/check-alignment",
|
|
74
|
+
"jsdoc/check-line-alignment",
|
|
75
|
+
"jsdoc/check-param-names",
|
|
76
|
+
"jsdoc/check-property-names",
|
|
77
|
+
"jsdoc/check-tag-names",
|
|
78
|
+
"jsdoc/check-types",
|
|
79
|
+
"jsdoc/convert-to-jsdoc-comments",
|
|
80
|
+
"jsdoc/empty-tags",
|
|
81
|
+
"jsdoc/escape-inline-tags",
|
|
82
|
+
"jsdoc/lines-before-block",
|
|
83
|
+
"jsdoc/match-name",
|
|
84
|
+
"jsdoc/multiline-blocks",
|
|
85
|
+
"jsdoc/no-bad-blocks",
|
|
86
|
+
"jsdoc/no-blank-block-descriptions",
|
|
87
|
+
"jsdoc/no-blank-blocks",
|
|
88
|
+
"jsdoc/no-defaults",
|
|
89
|
+
"jsdoc/no-multi-asterisks",
|
|
90
|
+
"jsdoc/no-types",
|
|
91
|
+
"jsdoc/prefer-import-tag",
|
|
92
|
+
"jsdoc/require-asterisk-prefix",
|
|
93
|
+
"jsdoc/require-description-complete-sentence",
|
|
94
|
+
"jsdoc/require-example",
|
|
95
|
+
"jsdoc/require-hyphen-before-param-description",
|
|
96
|
+
"jsdoc/require-jsdoc",
|
|
97
|
+
"jsdoc/require-param",
|
|
98
|
+
"jsdoc/require-param-description",
|
|
99
|
+
"jsdoc/require-param-type",
|
|
100
|
+
"jsdoc/require-property",
|
|
101
|
+
"jsdoc/require-returns",
|
|
102
|
+
"jsdoc/sort-tags",
|
|
103
|
+
"jsdoc/tag-lines",
|
|
104
|
+
"jsdoc/text-escaping",
|
|
105
|
+
"jsdoc/ts-method-signature-style",
|
|
106
|
+
"jsdoc/ts-no-unnecessary-template-expression",
|
|
107
|
+
"jsdoc/ts-prefer-function-type",
|
|
108
|
+
"jsdoc/type-formatting"
|
|
109
|
+
],
|
|
110
|
+
jsonc: [
|
|
111
|
+
"jsonc/array-bracket-newline",
|
|
112
|
+
"jsonc/array-bracket-spacing",
|
|
113
|
+
"jsonc/array-element-newline",
|
|
114
|
+
"jsonc/auto",
|
|
115
|
+
"jsonc/comma-dangle",
|
|
116
|
+
"jsonc/comma-style",
|
|
117
|
+
"jsonc/indent",
|
|
118
|
+
"jsonc/key-spacing",
|
|
119
|
+
"jsonc/no-binary-expression",
|
|
120
|
+
"jsonc/no-binary-numeric-literals",
|
|
121
|
+
"jsonc/no-escape-sequence-in-identifier",
|
|
122
|
+
"jsonc/no-floating-decimal",
|
|
123
|
+
"jsonc/no-hexadecimal-numeric-literals",
|
|
124
|
+
"jsonc/no-number-props",
|
|
125
|
+
"jsonc/no-numeric-separators",
|
|
126
|
+
"jsonc/no-octal-numeric-literals",
|
|
127
|
+
"jsonc/no-parenthesized",
|
|
128
|
+
"jsonc/no-plus-sign",
|
|
129
|
+
"jsonc/no-template-literals",
|
|
130
|
+
"jsonc/no-unicode-codepoint-escapes",
|
|
131
|
+
"jsonc/object-curly-newline",
|
|
132
|
+
"jsonc/object-curly-spacing",
|
|
133
|
+
"jsonc/object-property-newline",
|
|
134
|
+
"jsonc/quote-props",
|
|
135
|
+
"jsonc/quotes",
|
|
136
|
+
"jsonc/sort-array-values",
|
|
137
|
+
"jsonc/sort-keys",
|
|
138
|
+
"jsonc/space-unary-ops",
|
|
139
|
+
"jsonc/valid-json-number"
|
|
140
|
+
],
|
|
141
|
+
markdown: [
|
|
142
|
+
"markdown/no-bare-urls",
|
|
143
|
+
"markdown/no-missing-atx-heading-space",
|
|
144
|
+
"markdown/no-reference-like-urls",
|
|
145
|
+
"markdown/no-reversed-media-syntax",
|
|
146
|
+
"markdown/no-space-in-emphasis"
|
|
147
|
+
],
|
|
148
|
+
n: [
|
|
149
|
+
"n/exports-style",
|
|
150
|
+
"n/file-extension-in-import",
|
|
151
|
+
"n/hashbang",
|
|
152
|
+
"n/prefer-node-protocol",
|
|
153
|
+
"n/shebang"
|
|
154
|
+
],
|
|
155
|
+
noOnlyTests: ["no-only-tests/no-only-tests"],
|
|
156
|
+
perfectionist: [
|
|
157
|
+
"perfectionist/sort-array-includes",
|
|
158
|
+
"perfectionist/sort-arrays",
|
|
159
|
+
"perfectionist/sort-classes",
|
|
160
|
+
"perfectionist/sort-decorators",
|
|
161
|
+
"perfectionist/sort-enums",
|
|
162
|
+
"perfectionist/sort-export-attributes",
|
|
163
|
+
"perfectionist/sort-exports",
|
|
164
|
+
"perfectionist/sort-heritage-clauses",
|
|
165
|
+
"perfectionist/sort-import-attributes",
|
|
166
|
+
"perfectionist/sort-imports",
|
|
167
|
+
"perfectionist/sort-interfaces",
|
|
168
|
+
"perfectionist/sort-intersection-types",
|
|
169
|
+
"perfectionist/sort-jsx-props",
|
|
170
|
+
"perfectionist/sort-maps",
|
|
171
|
+
"perfectionist/sort-modules",
|
|
172
|
+
"perfectionist/sort-named-exports",
|
|
173
|
+
"perfectionist/sort-named-imports",
|
|
174
|
+
"perfectionist/sort-object-types",
|
|
175
|
+
"perfectionist/sort-objects",
|
|
176
|
+
"perfectionist/sort-sets",
|
|
177
|
+
"perfectionist/sort-switch-case",
|
|
178
|
+
"perfectionist/sort-union-types",
|
|
179
|
+
"perfectionist/sort-variable-declarations"
|
|
180
|
+
],
|
|
181
|
+
pnpm: [
|
|
182
|
+
"pnpm/json-enforce-catalog",
|
|
183
|
+
"pnpm/json-prefer-workspace-settings",
|
|
184
|
+
"pnpm/json-valid-catalog",
|
|
185
|
+
"pnpm/yaml-enforce-settings",
|
|
186
|
+
"pnpm/yaml-no-duplicate-catalog-item",
|
|
187
|
+
"pnpm/yaml-no-unused-catalog-item"
|
|
188
|
+
],
|
|
189
|
+
reactHooks: [
|
|
190
|
+
"react-hooks/capitalized-calls",
|
|
191
|
+
"react-hooks/config",
|
|
192
|
+
"react-hooks/error-boundaries",
|
|
193
|
+
"react-hooks/exhaustive-deps",
|
|
194
|
+
"react-hooks/exhaustive-effect-dependencies",
|
|
195
|
+
"react-hooks/fbt",
|
|
196
|
+
"react-hooks/gating",
|
|
197
|
+
"react-hooks/globals",
|
|
198
|
+
"react-hooks/hooks",
|
|
199
|
+
"react-hooks/immutability",
|
|
200
|
+
"react-hooks/incompatible-library",
|
|
201
|
+
"react-hooks/invariant",
|
|
202
|
+
"react-hooks/memo-dependencies",
|
|
203
|
+
"react-hooks/memoized-effect-dependencies",
|
|
204
|
+
"react-hooks/no-deriving-state-in-effects",
|
|
205
|
+
"react-hooks/preserve-manual-memoization",
|
|
206
|
+
"react-hooks/purity",
|
|
207
|
+
"react-hooks/refs",
|
|
208
|
+
"react-hooks/rule-suppression",
|
|
209
|
+
"react-hooks/set-state-in-effect",
|
|
210
|
+
"react-hooks/set-state-in-render",
|
|
211
|
+
"react-hooks/static-components",
|
|
212
|
+
"react-hooks/syntax",
|
|
213
|
+
"react-hooks/todo",
|
|
214
|
+
"react-hooks/unsupported-syntax",
|
|
215
|
+
"react-hooks/use-memo",
|
|
216
|
+
"react-hooks/void-use-memo"
|
|
217
|
+
],
|
|
218
|
+
reactRefresh: [],
|
|
219
|
+
regexp: [
|
|
220
|
+
"regexp/control-character-escape",
|
|
221
|
+
"regexp/hexadecimal-escape",
|
|
222
|
+
"regexp/letter-case",
|
|
223
|
+
"regexp/match-any",
|
|
224
|
+
"regexp/negation",
|
|
225
|
+
"regexp/no-dupe-characters-character-class",
|
|
226
|
+
"regexp/no-extra-lookaround-assertions",
|
|
227
|
+
"regexp/no-invisible-character",
|
|
228
|
+
"regexp/no-misleading-unicode-character",
|
|
229
|
+
"regexp/no-missing-g-flag",
|
|
230
|
+
"regexp/no-super-linear-backtracking",
|
|
231
|
+
"regexp/no-trivially-nested-assertion",
|
|
232
|
+
"regexp/no-trivially-nested-quantifier",
|
|
233
|
+
"regexp/no-unused-capturing-group",
|
|
234
|
+
"regexp/no-useless-character-class",
|
|
235
|
+
"regexp/no-useless-escape",
|
|
236
|
+
"regexp/no-useless-flag",
|
|
237
|
+
"regexp/no-useless-lazy",
|
|
238
|
+
"regexp/no-useless-non-capturing-group",
|
|
239
|
+
"regexp/no-useless-quantifier",
|
|
240
|
+
"regexp/no-useless-range",
|
|
241
|
+
"regexp/no-useless-set-operand",
|
|
242
|
+
"regexp/no-useless-string-literal",
|
|
243
|
+
"regexp/no-useless-two-nums-quantifier",
|
|
244
|
+
"regexp/optimal-quantifier-concatenation",
|
|
245
|
+
"regexp/prefer-character-class",
|
|
246
|
+
"regexp/prefer-d",
|
|
247
|
+
"regexp/prefer-lookaround",
|
|
248
|
+
"regexp/prefer-named-backreference",
|
|
249
|
+
"regexp/prefer-named-replacement",
|
|
250
|
+
"regexp/prefer-plus-quantifier",
|
|
251
|
+
"regexp/prefer-predefined-assertion",
|
|
252
|
+
"regexp/prefer-quantifier",
|
|
253
|
+
"regexp/prefer-question-quantifier",
|
|
254
|
+
"regexp/prefer-range",
|
|
255
|
+
"regexp/prefer-regexp-test",
|
|
256
|
+
"regexp/prefer-result-array-groups",
|
|
257
|
+
"regexp/prefer-set-operation",
|
|
258
|
+
"regexp/prefer-star-quantifier",
|
|
259
|
+
"regexp/prefer-unicode-codepoint-escapes",
|
|
260
|
+
"regexp/prefer-w",
|
|
261
|
+
"regexp/require-unicode-regexp",
|
|
262
|
+
"regexp/require-unicode-sets-regexp",
|
|
263
|
+
"regexp/simplify-set-operations",
|
|
264
|
+
"regexp/sort-alternatives",
|
|
265
|
+
"regexp/sort-character-class-elements",
|
|
266
|
+
"regexp/sort-flags",
|
|
267
|
+
"regexp/strict",
|
|
268
|
+
"regexp/unicode-escape",
|
|
269
|
+
"regexp/unicode-property",
|
|
270
|
+
"regexp/use-ignore-case"
|
|
271
|
+
],
|
|
272
|
+
stylistic: [
|
|
273
|
+
"@stylistic/array-bracket-newline",
|
|
274
|
+
"@stylistic/array-bracket-spacing",
|
|
275
|
+
"@stylistic/array-element-newline",
|
|
276
|
+
"@stylistic/arrow-parens",
|
|
277
|
+
"@stylistic/arrow-spacing",
|
|
278
|
+
"@stylistic/block-spacing",
|
|
279
|
+
"@stylistic/brace-style",
|
|
280
|
+
"@stylistic/comma-dangle",
|
|
281
|
+
"@stylistic/comma-spacing",
|
|
282
|
+
"@stylistic/comma-style",
|
|
283
|
+
"@stylistic/computed-property-spacing",
|
|
284
|
+
"@stylistic/curly-newline",
|
|
285
|
+
"@stylistic/dot-location",
|
|
286
|
+
"@stylistic/eol-last",
|
|
287
|
+
"@stylistic/exp-jsx-props-style",
|
|
288
|
+
"@stylistic/exp-list-style",
|
|
289
|
+
"@stylistic/function-call-argument-newline",
|
|
290
|
+
"@stylistic/function-call-spacing",
|
|
291
|
+
"@stylistic/function-paren-newline",
|
|
292
|
+
"@stylistic/generator-star-spacing",
|
|
293
|
+
"@stylistic/implicit-arrow-linebreak",
|
|
294
|
+
"@stylistic/indent",
|
|
295
|
+
"@stylistic/indent-binary-ops",
|
|
296
|
+
"@stylistic/jsx-closing-bracket-location",
|
|
297
|
+
"@stylistic/jsx-closing-tag-location",
|
|
298
|
+
"@stylistic/jsx-curly-brace-presence",
|
|
299
|
+
"@stylistic/jsx-curly-newline",
|
|
300
|
+
"@stylistic/jsx-curly-spacing",
|
|
301
|
+
"@stylistic/jsx-equals-spacing",
|
|
302
|
+
"@stylistic/jsx-first-prop-new-line",
|
|
303
|
+
"@stylistic/jsx-function-call-newline",
|
|
304
|
+
"@stylistic/jsx-indent",
|
|
305
|
+
"@stylistic/jsx-indent-props",
|
|
306
|
+
"@stylistic/jsx-max-props-per-line",
|
|
307
|
+
"@stylistic/jsx-newline",
|
|
308
|
+
"@stylistic/jsx-one-expression-per-line",
|
|
309
|
+
"@stylistic/jsx-props-no-multi-spaces",
|
|
310
|
+
"@stylistic/jsx-quotes",
|
|
311
|
+
"@stylistic/jsx-self-closing-comp",
|
|
312
|
+
"@stylistic/jsx-sort-props",
|
|
313
|
+
"@stylistic/jsx-tag-spacing",
|
|
314
|
+
"@stylistic/jsx-wrap-multilines",
|
|
315
|
+
"@stylistic/key-spacing",
|
|
316
|
+
"@stylistic/keyword-spacing",
|
|
317
|
+
"@stylistic/linebreak-style",
|
|
318
|
+
"@stylistic/lines-around-comment",
|
|
319
|
+
"@stylistic/lines-between-class-members",
|
|
320
|
+
"@stylistic/member-delimiter-style",
|
|
321
|
+
"@stylistic/multiline-comment-style",
|
|
322
|
+
"@stylistic/multiline-ternary",
|
|
323
|
+
"@stylistic/new-parens",
|
|
324
|
+
"@stylistic/newline-per-chained-call",
|
|
325
|
+
"@stylistic/no-confusing-arrow",
|
|
326
|
+
"@stylistic/no-extra-parens",
|
|
327
|
+
"@stylistic/no-extra-semi",
|
|
328
|
+
"@stylistic/no-floating-decimal",
|
|
329
|
+
"@stylistic/no-multi-spaces",
|
|
330
|
+
"@stylistic/no-multiple-empty-lines",
|
|
331
|
+
"@stylistic/no-trailing-spaces",
|
|
332
|
+
"@stylistic/no-whitespace-before-property",
|
|
333
|
+
"@stylistic/nonblock-statement-body-position",
|
|
334
|
+
"@stylistic/object-curly-newline",
|
|
335
|
+
"@stylistic/object-curly-spacing",
|
|
336
|
+
"@stylistic/object-property-newline",
|
|
337
|
+
"@stylistic/one-var-declaration-per-line",
|
|
338
|
+
"@stylistic/operator-linebreak",
|
|
339
|
+
"@stylistic/padded-blocks",
|
|
340
|
+
"@stylistic/padding-line-between-statements",
|
|
341
|
+
"@stylistic/quote-props",
|
|
342
|
+
"@stylistic/quotes",
|
|
343
|
+
"@stylistic/rest-spread-spacing",
|
|
344
|
+
"@stylistic/semi",
|
|
345
|
+
"@stylistic/semi-spacing",
|
|
346
|
+
"@stylistic/semi-style",
|
|
347
|
+
"@stylistic/space-before-blocks",
|
|
348
|
+
"@stylistic/space-before-function-paren",
|
|
349
|
+
"@stylistic/space-in-parens",
|
|
350
|
+
"@stylistic/space-infix-ops",
|
|
351
|
+
"@stylistic/space-unary-ops",
|
|
352
|
+
"@stylistic/spaced-comment",
|
|
353
|
+
"@stylistic/switch-colon-spacing",
|
|
354
|
+
"@stylistic/template-curly-spacing",
|
|
355
|
+
"@stylistic/template-tag-spacing",
|
|
356
|
+
"@stylistic/type-annotation-spacing",
|
|
357
|
+
"@stylistic/type-generic-spacing",
|
|
358
|
+
"@stylistic/type-named-tuple-spacing",
|
|
359
|
+
"@stylistic/wrap-iife",
|
|
360
|
+
"@stylistic/wrap-regex",
|
|
361
|
+
"@stylistic/yield-star-spacing"
|
|
362
|
+
],
|
|
363
|
+
typescript: [
|
|
364
|
+
"@typescript-eslint/array-type",
|
|
365
|
+
"@typescript-eslint/ban-tslint-comment",
|
|
366
|
+
"@typescript-eslint/consistent-generic-constructors",
|
|
367
|
+
"@typescript-eslint/consistent-indexed-object-style",
|
|
368
|
+
"@typescript-eslint/consistent-type-assertions",
|
|
369
|
+
"@typescript-eslint/consistent-type-definitions",
|
|
370
|
+
"@typescript-eslint/consistent-type-exports",
|
|
371
|
+
"@typescript-eslint/consistent-type-imports",
|
|
372
|
+
"@typescript-eslint/dot-notation",
|
|
373
|
+
"@typescript-eslint/explicit-member-accessibility",
|
|
374
|
+
"@typescript-eslint/method-signature-style",
|
|
375
|
+
"@typescript-eslint/no-array-constructor",
|
|
376
|
+
"@typescript-eslint/no-confusing-void-expression",
|
|
377
|
+
"@typescript-eslint/no-duplicate-type-constituents",
|
|
378
|
+
"@typescript-eslint/no-empty-interface",
|
|
379
|
+
"@typescript-eslint/no-explicit-any",
|
|
380
|
+
"@typescript-eslint/no-extra-non-null-assertion",
|
|
381
|
+
"@typescript-eslint/no-import-type-side-effects",
|
|
382
|
+
"@typescript-eslint/no-inferrable-types",
|
|
383
|
+
"@typescript-eslint/no-meaningless-void-operator",
|
|
384
|
+
"@typescript-eslint/no-restricted-types",
|
|
385
|
+
"@typescript-eslint/no-unnecessary-boolean-literal-compare",
|
|
386
|
+
"@typescript-eslint/no-unnecessary-qualifier",
|
|
387
|
+
"@typescript-eslint/no-unnecessary-template-expression",
|
|
388
|
+
"@typescript-eslint/no-unnecessary-type-arguments",
|
|
389
|
+
"@typescript-eslint/no-unnecessary-type-assertion",
|
|
390
|
+
"@typescript-eslint/no-unused-vars",
|
|
391
|
+
"@typescript-eslint/no-useless-default-assignment",
|
|
392
|
+
"@typescript-eslint/no-useless-empty-export",
|
|
393
|
+
"@typescript-eslint/no-wrapper-object-types",
|
|
394
|
+
"@typescript-eslint/non-nullable-type-assertion-style",
|
|
395
|
+
"@typescript-eslint/prefer-as-const",
|
|
396
|
+
"@typescript-eslint/prefer-destructuring",
|
|
397
|
+
"@typescript-eslint/prefer-function-type",
|
|
398
|
+
"@typescript-eslint/prefer-includes",
|
|
399
|
+
"@typescript-eslint/prefer-namespace-keyword",
|
|
400
|
+
"@typescript-eslint/prefer-optional-chain",
|
|
401
|
+
"@typescript-eslint/prefer-readonly",
|
|
402
|
+
"@typescript-eslint/prefer-reduce-type-parameter",
|
|
403
|
+
"@typescript-eslint/prefer-regexp-exec",
|
|
404
|
+
"@typescript-eslint/prefer-return-this-type",
|
|
405
|
+
"@typescript-eslint/prefer-string-starts-ends-with",
|
|
406
|
+
"@typescript-eslint/prefer-ts-expect-error",
|
|
407
|
+
"@typescript-eslint/promise-function-async",
|
|
408
|
+
"@typescript-eslint/return-await",
|
|
409
|
+
"@typescript-eslint/sort-type-constituents"
|
|
410
|
+
],
|
|
411
|
+
unicorn: [
|
|
412
|
+
"unicorn/catch-error-name",
|
|
413
|
+
"unicorn/comment-content",
|
|
414
|
+
"unicorn/consistent-assert",
|
|
415
|
+
"unicorn/consistent-boolean-name",
|
|
416
|
+
"unicorn/consistent-conditional-object-spread",
|
|
417
|
+
"unicorn/consistent-date-clone",
|
|
418
|
+
"unicorn/consistent-empty-array-spread",
|
|
419
|
+
"unicorn/consistent-existence-index-check",
|
|
420
|
+
"unicorn/consistent-export-decorator-position",
|
|
421
|
+
"unicorn/consistent-json-file-read",
|
|
422
|
+
"unicorn/consistent-template-literal-escape",
|
|
423
|
+
"unicorn/custom-error-definition",
|
|
424
|
+
"unicorn/default-export-style",
|
|
425
|
+
"unicorn/dom-node-dataset",
|
|
426
|
+
"unicorn/empty-brace-spaces",
|
|
427
|
+
"unicorn/escape-case",
|
|
428
|
+
"unicorn/explicit-length-check",
|
|
429
|
+
"unicorn/explicit-timer-delay",
|
|
430
|
+
"unicorn/logical-assignment-operators",
|
|
431
|
+
"unicorn/name-replacements",
|
|
432
|
+
"unicorn/new-for-builtins",
|
|
433
|
+
"unicorn/no-array-method-this-argument",
|
|
434
|
+
"unicorn/no-array-reduce",
|
|
435
|
+
"unicorn/no-asterisk-prefix-in-documentation-comments",
|
|
436
|
+
"unicorn/no-await-expression-member",
|
|
437
|
+
"unicorn/no-console-spaces",
|
|
438
|
+
"unicorn/no-declarations-before-early-exit",
|
|
439
|
+
"unicorn/no-duplicate-logical-operands",
|
|
440
|
+
"unicorn/no-for-each",
|
|
441
|
+
"unicorn/no-for-loop",
|
|
442
|
+
"unicorn/no-immediate-mutation",
|
|
443
|
+
"unicorn/no-incorrect-query-selector",
|
|
444
|
+
"unicorn/no-instanceof-builtins",
|
|
445
|
+
"unicorn/no-invalid-file-input-accept",
|
|
446
|
+
"unicorn/no-invalid-well-known-symbol-methods",
|
|
447
|
+
"unicorn/no-lonely-if",
|
|
448
|
+
"unicorn/no-manually-wrapped-comments",
|
|
449
|
+
"unicorn/no-named-default",
|
|
450
|
+
"unicorn/no-negated-array-predicate",
|
|
451
|
+
"unicorn/no-negated-comparison",
|
|
452
|
+
"unicorn/no-negated-condition",
|
|
453
|
+
"unicorn/no-nested-ternary",
|
|
454
|
+
"unicorn/no-new-array",
|
|
455
|
+
"unicorn/no-new-buffer",
|
|
456
|
+
"unicorn/no-null",
|
|
457
|
+
"unicorn/no-redundant-comparison",
|
|
458
|
+
"unicorn/no-selector-as-dom-name",
|
|
459
|
+
"unicorn/no-single-promise-in-promise-methods",
|
|
460
|
+
"unicorn/no-static-only-class",
|
|
461
|
+
"unicorn/no-subtraction-comparison",
|
|
462
|
+
"unicorn/no-typeof-undefined",
|
|
463
|
+
"unicorn/no-unnecessary-array-flat-depth",
|
|
464
|
+
"unicorn/no-unnecessary-array-flat-map",
|
|
465
|
+
"unicorn/no-unnecessary-array-splice-count",
|
|
466
|
+
"unicorn/no-unnecessary-await",
|
|
467
|
+
"unicorn/no-unnecessary-boolean-comparison",
|
|
468
|
+
"unicorn/no-unnecessary-fetch-options",
|
|
469
|
+
"unicorn/no-unnecessary-global-this",
|
|
470
|
+
"unicorn/no-unnecessary-nested-ternary",
|
|
471
|
+
"unicorn/no-unnecessary-slice-end",
|
|
472
|
+
"unicorn/no-unnecessary-splice",
|
|
473
|
+
"unicorn/no-unreadable-array-destructuring",
|
|
474
|
+
"unicorn/no-useless-boolean-cast",
|
|
475
|
+
"unicorn/no-useless-coercion",
|
|
476
|
+
"unicorn/no-useless-collection-argument",
|
|
477
|
+
"unicorn/no-useless-concat",
|
|
478
|
+
"unicorn/no-useless-continue",
|
|
479
|
+
"unicorn/no-useless-delete-check",
|
|
480
|
+
"unicorn/no-useless-else",
|
|
481
|
+
"unicorn/no-useless-error-capture-stack-trace",
|
|
482
|
+
"unicorn/no-useless-fallback-in-spread",
|
|
483
|
+
"unicorn/no-useless-iterator-to-array",
|
|
484
|
+
"unicorn/no-useless-length-check",
|
|
485
|
+
"unicorn/no-useless-logical-operand",
|
|
486
|
+
"unicorn/no-useless-override",
|
|
487
|
+
"unicorn/no-useless-promise-resolve-reject",
|
|
488
|
+
"unicorn/no-useless-spread",
|
|
489
|
+
"unicorn/no-useless-template-literals",
|
|
490
|
+
"unicorn/no-useless-undefined",
|
|
491
|
+
"unicorn/no-zero-fractions",
|
|
492
|
+
"unicorn/number-literal-case",
|
|
493
|
+
"unicorn/numeric-separators-style",
|
|
494
|
+
"unicorn/operator-assignment",
|
|
495
|
+
"unicorn/prefer-add-event-listener",
|
|
496
|
+
"unicorn/prefer-add-event-listener-options",
|
|
497
|
+
"unicorn/prefer-aggregate-error",
|
|
498
|
+
"unicorn/prefer-array-find",
|
|
499
|
+
"unicorn/prefer-array-flat",
|
|
500
|
+
"unicorn/prefer-array-flat-map",
|
|
501
|
+
"unicorn/prefer-array-from-async",
|
|
502
|
+
"unicorn/prefer-array-from-map",
|
|
503
|
+
"unicorn/prefer-array-from-range",
|
|
504
|
+
"unicorn/prefer-array-index-of",
|
|
505
|
+
"unicorn/prefer-array-iterable-methods",
|
|
506
|
+
"unicorn/prefer-array-some",
|
|
507
|
+
"unicorn/prefer-at",
|
|
508
|
+
"unicorn/prefer-bigint-literals",
|
|
509
|
+
"unicorn/prefer-block-statement-over-iife",
|
|
510
|
+
"unicorn/prefer-boolean-return",
|
|
511
|
+
"unicorn/prefer-class-fields",
|
|
512
|
+
"unicorn/prefer-classlist-toggle",
|
|
513
|
+
"unicorn/prefer-continue",
|
|
514
|
+
"unicorn/prefer-date-now",
|
|
515
|
+
"unicorn/prefer-direct-iteration",
|
|
516
|
+
"unicorn/prefer-dom-node-append",
|
|
517
|
+
"unicorn/prefer-dom-node-html-methods",
|
|
518
|
+
"unicorn/prefer-dom-node-remove",
|
|
519
|
+
"unicorn/prefer-dom-node-replace-children",
|
|
520
|
+
"unicorn/prefer-early-return",
|
|
521
|
+
"unicorn/prefer-else-if",
|
|
522
|
+
"unicorn/prefer-error-is-error",
|
|
523
|
+
"unicorn/prefer-export-from",
|
|
524
|
+
"unicorn/prefer-flat-math-min-max",
|
|
525
|
+
"unicorn/prefer-get-or-insert-computed",
|
|
526
|
+
"unicorn/prefer-global-number-constants",
|
|
527
|
+
"unicorn/prefer-global-this",
|
|
528
|
+
"unicorn/prefer-group-by",
|
|
529
|
+
"unicorn/prefer-has-check",
|
|
530
|
+
"unicorn/prefer-hoisting-branch-code",
|
|
531
|
+
"unicorn/prefer-https",
|
|
532
|
+
"unicorn/prefer-identifier-import-export-specifiers",
|
|
533
|
+
"unicorn/prefer-import-meta-properties",
|
|
534
|
+
"unicorn/prefer-includes",
|
|
535
|
+
"unicorn/prefer-iterable-in-constructor",
|
|
536
|
+
"unicorn/prefer-iterator-concat",
|
|
537
|
+
"unicorn/prefer-iterator-to-array",
|
|
538
|
+
"unicorn/prefer-keyboard-event-key",
|
|
539
|
+
"unicorn/prefer-location-assign",
|
|
540
|
+
"unicorn/prefer-map-from-entries",
|
|
541
|
+
"unicorn/prefer-math-abs",
|
|
542
|
+
"unicorn/prefer-math-min-max",
|
|
543
|
+
"unicorn/prefer-math-trunc",
|
|
544
|
+
"unicorn/prefer-modern-dom-apis",
|
|
545
|
+
"unicorn/prefer-modern-math-apis",
|
|
546
|
+
"unicorn/prefer-module",
|
|
547
|
+
"unicorn/prefer-native-coercion-functions",
|
|
548
|
+
"unicorn/prefer-negative-index",
|
|
549
|
+
"unicorn/prefer-node-protocol",
|
|
550
|
+
"unicorn/prefer-number-properties",
|
|
551
|
+
"unicorn/prefer-object-define-properties",
|
|
552
|
+
"unicorn/prefer-object-from-entries",
|
|
553
|
+
"unicorn/prefer-object-iterable-methods",
|
|
554
|
+
"unicorn/prefer-optional-catch-binding",
|
|
555
|
+
"unicorn/prefer-private-class-fields",
|
|
556
|
+
"unicorn/prefer-promise-try",
|
|
557
|
+
"unicorn/prefer-promise-with-resolvers",
|
|
558
|
+
"unicorn/prefer-prototype-methods",
|
|
559
|
+
"unicorn/prefer-query-selector",
|
|
560
|
+
"unicorn/prefer-queue-microtask",
|
|
561
|
+
"unicorn/prefer-reflect-apply",
|
|
562
|
+
"unicorn/prefer-regexp-escape",
|
|
563
|
+
"unicorn/prefer-regexp-test",
|
|
564
|
+
"unicorn/prefer-response-static-json",
|
|
565
|
+
"unicorn/prefer-set-has",
|
|
566
|
+
"unicorn/prefer-set-methods",
|
|
567
|
+
"unicorn/prefer-set-size",
|
|
568
|
+
"unicorn/prefer-short-arrow-method",
|
|
569
|
+
"unicorn/prefer-simple-condition-first",
|
|
570
|
+
"unicorn/prefer-simplified-conditions",
|
|
571
|
+
"unicorn/prefer-single-call",
|
|
572
|
+
"unicorn/prefer-single-object-destructuring",
|
|
573
|
+
"unicorn/prefer-single-replace",
|
|
574
|
+
"unicorn/prefer-smaller-scope",
|
|
575
|
+
"unicorn/prefer-split-limit",
|
|
576
|
+
"unicorn/prefer-spread",
|
|
577
|
+
"unicorn/prefer-string-match-all",
|
|
578
|
+
"unicorn/prefer-string-pad-start-end",
|
|
579
|
+
"unicorn/prefer-string-raw",
|
|
580
|
+
"unicorn/prefer-string-repeat",
|
|
581
|
+
"unicorn/prefer-string-replace-all",
|
|
582
|
+
"unicorn/prefer-string-slice",
|
|
583
|
+
"unicorn/prefer-string-starts-ends-with",
|
|
584
|
+
"unicorn/prefer-string-trim-start-end",
|
|
585
|
+
"unicorn/prefer-switch",
|
|
586
|
+
"unicorn/prefer-temporal",
|
|
587
|
+
"unicorn/prefer-ternary",
|
|
588
|
+
"unicorn/prefer-toggle-attribute",
|
|
589
|
+
"unicorn/prefer-type-error",
|
|
590
|
+
"unicorn/prefer-type-literal-last",
|
|
591
|
+
"unicorn/prefer-unary-minus",
|
|
592
|
+
"unicorn/prefer-unicode-code-point-escapes",
|
|
593
|
+
"unicorn/prefer-url-can-parse",
|
|
594
|
+
"unicorn/prefer-url-href",
|
|
595
|
+
"unicorn/prefer-while-loop-condition",
|
|
596
|
+
"unicorn/relative-url-style",
|
|
597
|
+
"unicorn/require-array-join-separator",
|
|
598
|
+
"unicorn/require-css-escape",
|
|
599
|
+
"unicorn/require-module-attributes",
|
|
600
|
+
"unicorn/require-module-specifiers",
|
|
601
|
+
"unicorn/require-number-to-fixed-digits-argument",
|
|
602
|
+
"unicorn/require-passive-events",
|
|
603
|
+
"unicorn/require-proxy-trap-boolean-return",
|
|
604
|
+
"unicorn/string-content",
|
|
605
|
+
"unicorn/switch-case-braces",
|
|
606
|
+
"unicorn/switch-case-break-position",
|
|
607
|
+
"unicorn/template-indent",
|
|
608
|
+
"unicorn/text-encoding-identifier-case",
|
|
609
|
+
"unicorn/throw-new-error"
|
|
610
|
+
],
|
|
611
|
+
unusedImports: ["unused-imports/no-unused-imports", "unused-imports/no-unused-vars"],
|
|
612
|
+
vitest: [
|
|
613
|
+
"vitest/consistent-test-it",
|
|
614
|
+
"vitest/consistent-vitest-vi",
|
|
615
|
+
"vitest/no-alias-methods",
|
|
616
|
+
"vitest/no-focused-tests",
|
|
617
|
+
"vitest/no-identical-title",
|
|
618
|
+
"vitest/no-import-node-test",
|
|
619
|
+
"vitest/no-importing-vitest-globals",
|
|
620
|
+
"vitest/no-interpolation-in-snapshots",
|
|
621
|
+
"vitest/no-test-prefixes",
|
|
622
|
+
"vitest/no-unneeded-async-expect-function",
|
|
623
|
+
"vitest/padding-around-after-all-blocks",
|
|
624
|
+
"vitest/padding-around-after-each-blocks",
|
|
625
|
+
"vitest/padding-around-all",
|
|
626
|
+
"vitest/padding-around-before-all-blocks",
|
|
627
|
+
"vitest/padding-around-before-each-blocks",
|
|
628
|
+
"vitest/padding-around-describe-blocks",
|
|
629
|
+
"vitest/padding-around-expect-groups",
|
|
630
|
+
"vitest/padding-around-test-blocks",
|
|
631
|
+
"vitest/prefer-called-exactly-once-with",
|
|
632
|
+
"vitest/prefer-called-once",
|
|
633
|
+
"vitest/prefer-called-times",
|
|
634
|
+
"vitest/prefer-called-with",
|
|
635
|
+
"vitest/prefer-comparison-matcher",
|
|
636
|
+
"vitest/prefer-describe-function-title",
|
|
637
|
+
"vitest/prefer-expect-resolves",
|
|
638
|
+
"vitest/prefer-expect-type-of",
|
|
639
|
+
"vitest/prefer-import-in-mock",
|
|
640
|
+
"vitest/prefer-importing-vitest-globals",
|
|
641
|
+
"vitest/prefer-lowercase-title",
|
|
642
|
+
"vitest/prefer-mock-promise-shorthand",
|
|
643
|
+
"vitest/prefer-mock-return-shorthand",
|
|
644
|
+
"vitest/prefer-spy-on",
|
|
645
|
+
"vitest/prefer-strict-boolean-matchers",
|
|
646
|
+
"vitest/prefer-to-be",
|
|
647
|
+
"vitest/prefer-to-be-falsy",
|
|
648
|
+
"vitest/prefer-to-be-object",
|
|
649
|
+
"vitest/prefer-to-be-truthy",
|
|
650
|
+
"vitest/prefer-to-contain",
|
|
651
|
+
"vitest/prefer-to-have-been-called-times",
|
|
652
|
+
"vitest/prefer-to-have-length",
|
|
653
|
+
"vitest/prefer-todo",
|
|
654
|
+
"vitest/prefer-vi-mocked",
|
|
655
|
+
"vitest/require-mock-type-parameters",
|
|
656
|
+
"vitest/valid-expect",
|
|
657
|
+
"vitest/valid-title"
|
|
658
|
+
]
|
|
659
|
+
};
|
|
660
|
+
//#endregion
|
|
661
|
+
export { FIXABLE_RULES_MAP as t };
|