@jsse/eslint-config 0.3.7 → 0.4.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 +10 -0
- package/dist/cli.js +3 -3
- package/dist/esm/config-fns.d.ts +109 -34
- package/dist/esm/config-fns.js +111 -35
- package/dist/esm/configs/{comments.d.ts → de-morgan.d.ts} +1 -1
- package/dist/esm/configs/de-morgan.js +9 -0
- package/dist/esm/configs/eslint-comments.d.ts +2 -0
- package/dist/esm/configs/{comments.js → eslint-comments.js} +1 -1
- package/dist/esm/configs/gql.d.ts +2 -2
- package/dist/esm/configs/markdown.js +1 -1
- package/dist/esm/configs/prettier.d.ts +2 -2
- package/dist/esm/configs/react.d.ts +3 -3
- package/dist/esm/configs/stylistic.js +1 -1
- package/dist/esm/configs/ts/parser.d.ts +2 -2
- package/dist/esm/configs/ts/parser.js +7 -5
- package/dist/esm/configs/ts/typescript-rules.d.ts +9 -4
- package/dist/esm/configs/ts/typescript-rules.js +26 -62
- package/dist/esm/configs/ts/typescript.js +56 -43
- package/dist/esm/define-config.d.ts +3 -3
- package/dist/esm/define-config.js +38 -28
- package/dist/esm/fixable.d.ts +2 -1
- package/dist/esm/fixable.js +3 -395
- package/dist/esm/generated/fixable-rules-map.d.ts +2 -0
- package/dist/esm/generated/fixable-rules-map.js +436 -0
- package/dist/esm/generated/version.d.ts +1 -1
- package/dist/esm/generated/version.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/lager.d.ts +1 -1
- package/dist/esm/lager.js +1 -1
- package/dist/esm/plugins-all.d.ts +11 -8
- package/dist/esm/plugins-all.js +99 -10
- package/dist/esm/plugins.d.ts +1 -0
- package/dist/esm/plugins.js +4 -1
- package/dist/esm/presets.d.ts +16 -0
- package/dist/esm/presets.js +96 -1
- package/dist/esm/types.d.ts +34 -22
- package/dist/esm/utils.d.ts +5 -5
- package/dist/esm/utils.js +1 -1
- package/dist/index.d.ts +7404 -6303
- package/dist/index.js +289 -227
- package/package.json +20 -27
- package/dist/esm/plugindex.d.ts +0 -7
- package/dist/esm/plugindex.js +0 -60
package/dist/esm/fixable.js
CHANGED
|
@@ -1,396 +1,4 @@
|
|
|
1
1
|
// generated by scripts/typegen-v2.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"import/consistent-type-specifier-style",
|
|
6
|
-
"import/first",
|
|
7
|
-
"import/imports-first",
|
|
8
|
-
"import/newline-after-import",
|
|
9
|
-
"import/no-absolute-path",
|
|
10
|
-
"import/no-duplicates",
|
|
11
|
-
"import/no-empty-named-blocks",
|
|
12
|
-
"import/no-import-module-exports",
|
|
13
|
-
"import/no-namespace",
|
|
14
|
-
"import/no-relative-packages",
|
|
15
|
-
"import/no-useless-path-segments",
|
|
16
|
-
"import/order",
|
|
17
|
-
],
|
|
18
|
-
jsdoc: [
|
|
19
|
-
"jsdoc/check-alignment",
|
|
20
|
-
"jsdoc/check-line-alignment",
|
|
21
|
-
"jsdoc/check-param-names",
|
|
22
|
-
"jsdoc/check-property-names",
|
|
23
|
-
"jsdoc/check-tag-names",
|
|
24
|
-
"jsdoc/check-types",
|
|
25
|
-
"jsdoc/convert-to-jsdoc-comments",
|
|
26
|
-
"jsdoc/empty-tags",
|
|
27
|
-
"jsdoc/lines-before-block",
|
|
28
|
-
"jsdoc/match-name",
|
|
29
|
-
"jsdoc/multiline-blocks",
|
|
30
|
-
"jsdoc/no-bad-blocks",
|
|
31
|
-
"jsdoc/no-blank-block-descriptions",
|
|
32
|
-
"jsdoc/no-blank-blocks",
|
|
33
|
-
"jsdoc/no-defaults",
|
|
34
|
-
"jsdoc/no-missing-syntax",
|
|
35
|
-
"jsdoc/no-multi-asterisks",
|
|
36
|
-
"jsdoc/no-restricted-syntax",
|
|
37
|
-
"jsdoc/no-types",
|
|
38
|
-
"jsdoc/require-asterisk-prefix",
|
|
39
|
-
"jsdoc/require-description-complete-sentence",
|
|
40
|
-
"jsdoc/require-example",
|
|
41
|
-
"jsdoc/require-hyphen-before-param-description",
|
|
42
|
-
"jsdoc/require-jsdoc",
|
|
43
|
-
"jsdoc/require-param",
|
|
44
|
-
"jsdoc/require-param-description",
|
|
45
|
-
"jsdoc/require-param-type",
|
|
46
|
-
"jsdoc/require-property",
|
|
47
|
-
"jsdoc/require-returns",
|
|
48
|
-
"jsdoc/sort-tags",
|
|
49
|
-
"jsdoc/tag-lines",
|
|
50
|
-
"jsdoc/text-escaping",
|
|
51
|
-
],
|
|
52
|
-
jsonc: [
|
|
53
|
-
"jsonc/array-bracket-newline",
|
|
54
|
-
"jsonc/array-bracket-spacing",
|
|
55
|
-
"jsonc/array-element-newline",
|
|
56
|
-
"jsonc/auto",
|
|
57
|
-
"jsonc/comma-dangle",
|
|
58
|
-
"jsonc/comma-style",
|
|
59
|
-
"jsonc/indent",
|
|
60
|
-
"jsonc/key-spacing",
|
|
61
|
-
"jsonc/no-binary-expression",
|
|
62
|
-
"jsonc/no-binary-numeric-literals",
|
|
63
|
-
"jsonc/no-escape-sequence-in-identifier",
|
|
64
|
-
"jsonc/no-floating-decimal",
|
|
65
|
-
"jsonc/no-hexadecimal-numeric-literals",
|
|
66
|
-
"jsonc/no-number-props",
|
|
67
|
-
"jsonc/no-numeric-separators",
|
|
68
|
-
"jsonc/no-octal-numeric-literals",
|
|
69
|
-
"jsonc/no-parenthesized",
|
|
70
|
-
"jsonc/no-plus-sign",
|
|
71
|
-
"jsonc/no-template-literals",
|
|
72
|
-
"jsonc/no-unicode-codepoint-escapes",
|
|
73
|
-
"jsonc/object-curly-newline",
|
|
74
|
-
"jsonc/object-curly-spacing",
|
|
75
|
-
"jsonc/object-property-newline",
|
|
76
|
-
"jsonc/quote-props",
|
|
77
|
-
"jsonc/quotes",
|
|
78
|
-
"jsonc/sort-array-values",
|
|
79
|
-
"jsonc/sort-keys",
|
|
80
|
-
"jsonc/space-unary-ops",
|
|
81
|
-
"jsonc/valid-json-number",
|
|
82
|
-
],
|
|
83
|
-
node: [
|
|
84
|
-
"n/exports-style",
|
|
85
|
-
"n/file-extension-in-import",
|
|
86
|
-
"n/hashbang",
|
|
87
|
-
"n/prefer-node-protocol",
|
|
88
|
-
"n/shebang",
|
|
89
|
-
],
|
|
90
|
-
noOnlyTests: ["no-only-tests/no-only-tests"],
|
|
91
|
-
react: [
|
|
92
|
-
"react/destructuring-assignment",
|
|
93
|
-
"react/function-component-definition",
|
|
94
|
-
"react/jsx-boolean-value",
|
|
95
|
-
"react/jsx-closing-bracket-location",
|
|
96
|
-
"react/jsx-closing-tag-location",
|
|
97
|
-
"react/jsx-curly-brace-presence",
|
|
98
|
-
"react/jsx-curly-newline",
|
|
99
|
-
"react/jsx-curly-spacing",
|
|
100
|
-
"react/jsx-equals-spacing",
|
|
101
|
-
"react/jsx-first-prop-new-line",
|
|
102
|
-
"react/jsx-fragments",
|
|
103
|
-
"react/jsx-indent",
|
|
104
|
-
"react/jsx-indent-props",
|
|
105
|
-
"react/jsx-max-props-per-line",
|
|
106
|
-
"react/jsx-newline",
|
|
107
|
-
"react/jsx-no-leaked-render",
|
|
108
|
-
"react/jsx-no-target-blank",
|
|
109
|
-
"react/jsx-no-useless-fragment",
|
|
110
|
-
"react/jsx-one-expression-per-line",
|
|
111
|
-
"react/jsx-props-no-multi-spaces",
|
|
112
|
-
"react/jsx-sort-props",
|
|
113
|
-
"react/jsx-space-before-closing",
|
|
114
|
-
"react/jsx-tag-spacing",
|
|
115
|
-
"react/jsx-wrap-multilines",
|
|
116
|
-
"react/no-arrow-function-lifecycle",
|
|
117
|
-
"react/no-unknown-property",
|
|
118
|
-
"react/prefer-read-only-props",
|
|
119
|
-
"react/self-closing-comp",
|
|
120
|
-
"react/sort-prop-types",
|
|
121
|
-
],
|
|
122
|
-
reactHooks: ["react-hooks/exhaustive-deps"],
|
|
123
|
-
stylistic: [
|
|
124
|
-
"@stylistic/array-bracket-newline",
|
|
125
|
-
"@stylistic/array-bracket-spacing",
|
|
126
|
-
"@stylistic/array-element-newline",
|
|
127
|
-
"@stylistic/arrow-parens",
|
|
128
|
-
"@stylistic/arrow-spacing",
|
|
129
|
-
"@stylistic/block-spacing",
|
|
130
|
-
"@stylistic/brace-style",
|
|
131
|
-
"@stylistic/comma-dangle",
|
|
132
|
-
"@stylistic/comma-spacing",
|
|
133
|
-
"@stylistic/comma-style",
|
|
134
|
-
"@stylistic/computed-property-spacing",
|
|
135
|
-
"@stylistic/curly-newline",
|
|
136
|
-
"@stylistic/dot-location",
|
|
137
|
-
"@stylistic/eol-last",
|
|
138
|
-
"@stylistic/func-call-spacing",
|
|
139
|
-
"@stylistic/function-call-argument-newline",
|
|
140
|
-
"@stylistic/function-call-spacing",
|
|
141
|
-
"@stylistic/function-paren-newline",
|
|
142
|
-
"@stylistic/generator-star-spacing",
|
|
143
|
-
"@stylistic/implicit-arrow-linebreak",
|
|
144
|
-
"@stylistic/indent",
|
|
145
|
-
"@stylistic/indent-binary-ops",
|
|
146
|
-
"@stylistic/jsx-closing-bracket-location",
|
|
147
|
-
"@stylistic/jsx-closing-tag-location",
|
|
148
|
-
"@stylistic/jsx-curly-brace-presence",
|
|
149
|
-
"@stylistic/jsx-curly-newline",
|
|
150
|
-
"@stylistic/jsx-curly-spacing",
|
|
151
|
-
"@stylistic/jsx-equals-spacing",
|
|
152
|
-
"@stylistic/jsx-first-prop-new-line",
|
|
153
|
-
"@stylistic/jsx-function-call-newline",
|
|
154
|
-
"@stylistic/jsx-indent",
|
|
155
|
-
"@stylistic/jsx-indent-props",
|
|
156
|
-
"@stylistic/jsx-max-props-per-line",
|
|
157
|
-
"@stylistic/jsx-newline",
|
|
158
|
-
"@stylistic/jsx-one-expression-per-line",
|
|
159
|
-
"@stylistic/jsx-props-no-multi-spaces",
|
|
160
|
-
"@stylistic/jsx-quotes",
|
|
161
|
-
"@stylistic/jsx-self-closing-comp",
|
|
162
|
-
"@stylistic/jsx-sort-props",
|
|
163
|
-
"@stylistic/jsx-tag-spacing",
|
|
164
|
-
"@stylistic/jsx-wrap-multilines",
|
|
165
|
-
"@stylistic/key-spacing",
|
|
166
|
-
"@stylistic/keyword-spacing",
|
|
167
|
-
"@stylistic/linebreak-style",
|
|
168
|
-
"@stylistic/lines-around-comment",
|
|
169
|
-
"@stylistic/lines-between-class-members",
|
|
170
|
-
"@stylistic/member-delimiter-style",
|
|
171
|
-
"@stylistic/multiline-comment-style",
|
|
172
|
-
"@stylistic/multiline-ternary",
|
|
173
|
-
"@stylistic/new-parens",
|
|
174
|
-
"@stylistic/newline-per-chained-call",
|
|
175
|
-
"@stylistic/no-confusing-arrow",
|
|
176
|
-
"@stylistic/no-extra-parens",
|
|
177
|
-
"@stylistic/no-extra-semi",
|
|
178
|
-
"@stylistic/no-floating-decimal",
|
|
179
|
-
"@stylistic/no-multi-spaces",
|
|
180
|
-
"@stylistic/no-multiple-empty-lines",
|
|
181
|
-
"@stylistic/no-trailing-spaces",
|
|
182
|
-
"@stylistic/no-whitespace-before-property",
|
|
183
|
-
"@stylistic/nonblock-statement-body-position",
|
|
184
|
-
"@stylistic/object-curly-newline",
|
|
185
|
-
"@stylistic/object-curly-spacing",
|
|
186
|
-
"@stylistic/object-property-newline",
|
|
187
|
-
"@stylistic/one-var-declaration-per-line",
|
|
188
|
-
"@stylistic/operator-linebreak",
|
|
189
|
-
"@stylistic/padded-blocks",
|
|
190
|
-
"@stylistic/padding-line-between-statements",
|
|
191
|
-
"@stylistic/quote-props",
|
|
192
|
-
"@stylistic/quotes",
|
|
193
|
-
"@stylistic/rest-spread-spacing",
|
|
194
|
-
"@stylistic/semi",
|
|
195
|
-
"@stylistic/semi-spacing",
|
|
196
|
-
"@stylistic/semi-style",
|
|
197
|
-
"@stylistic/space-before-blocks",
|
|
198
|
-
"@stylistic/space-before-function-paren",
|
|
199
|
-
"@stylistic/space-in-parens",
|
|
200
|
-
"@stylistic/space-infix-ops",
|
|
201
|
-
"@stylistic/space-unary-ops",
|
|
202
|
-
"@stylistic/spaced-comment",
|
|
203
|
-
"@stylistic/switch-colon-spacing",
|
|
204
|
-
"@stylistic/template-curly-spacing",
|
|
205
|
-
"@stylistic/template-tag-spacing",
|
|
206
|
-
"@stylistic/type-annotation-spacing",
|
|
207
|
-
"@stylistic/type-generic-spacing",
|
|
208
|
-
"@stylistic/type-named-tuple-spacing",
|
|
209
|
-
"@stylistic/wrap-iife",
|
|
210
|
-
"@stylistic/wrap-regex",
|
|
211
|
-
"@stylistic/yield-star-spacing",
|
|
212
|
-
],
|
|
213
|
-
tsdoc: [],
|
|
214
|
-
typescript: [
|
|
215
|
-
"@typescript-eslint/array-type",
|
|
216
|
-
"@typescript-eslint/ban-tslint-comment",
|
|
217
|
-
"@typescript-eslint/consistent-generic-constructors",
|
|
218
|
-
"@typescript-eslint/consistent-indexed-object-style",
|
|
219
|
-
"@typescript-eslint/consistent-type-assertions",
|
|
220
|
-
"@typescript-eslint/consistent-type-definitions",
|
|
221
|
-
"@typescript-eslint/consistent-type-exports",
|
|
222
|
-
"@typescript-eslint/consistent-type-imports",
|
|
223
|
-
"@typescript-eslint/dot-notation",
|
|
224
|
-
"@typescript-eslint/explicit-member-accessibility",
|
|
225
|
-
"@typescript-eslint/method-signature-style",
|
|
226
|
-
"@typescript-eslint/no-array-constructor",
|
|
227
|
-
"@typescript-eslint/no-confusing-void-expression",
|
|
228
|
-
"@typescript-eslint/no-duplicate-type-constituents",
|
|
229
|
-
"@typescript-eslint/no-dynamic-delete",
|
|
230
|
-
"@typescript-eslint/no-empty-interface",
|
|
231
|
-
"@typescript-eslint/no-explicit-any",
|
|
232
|
-
"@typescript-eslint/no-extra-non-null-assertion",
|
|
233
|
-
"@typescript-eslint/no-import-type-side-effects",
|
|
234
|
-
"@typescript-eslint/no-inferrable-types",
|
|
235
|
-
"@typescript-eslint/no-meaningless-void-operator",
|
|
236
|
-
"@typescript-eslint/no-restricted-types",
|
|
237
|
-
"@typescript-eslint/no-unnecessary-boolean-literal-compare",
|
|
238
|
-
"@typescript-eslint/no-unnecessary-qualifier",
|
|
239
|
-
"@typescript-eslint/no-unnecessary-template-expression",
|
|
240
|
-
"@typescript-eslint/no-unnecessary-type-arguments",
|
|
241
|
-
"@typescript-eslint/no-unnecessary-type-assertion",
|
|
242
|
-
"@typescript-eslint/no-unnecessary-type-conversion",
|
|
243
|
-
"@typescript-eslint/no-useless-empty-export",
|
|
244
|
-
"@typescript-eslint/no-wrapper-object-types",
|
|
245
|
-
"@typescript-eslint/non-nullable-type-assertion-style",
|
|
246
|
-
"@typescript-eslint/prefer-as-const",
|
|
247
|
-
"@typescript-eslint/prefer-destructuring",
|
|
248
|
-
"@typescript-eslint/prefer-function-type",
|
|
249
|
-
"@typescript-eslint/prefer-includes",
|
|
250
|
-
"@typescript-eslint/prefer-namespace-keyword",
|
|
251
|
-
"@typescript-eslint/prefer-optional-chain",
|
|
252
|
-
"@typescript-eslint/prefer-readonly",
|
|
253
|
-
"@typescript-eslint/prefer-reduce-type-parameter",
|
|
254
|
-
"@typescript-eslint/prefer-regexp-exec",
|
|
255
|
-
"@typescript-eslint/prefer-return-this-type",
|
|
256
|
-
"@typescript-eslint/prefer-string-starts-ends-with",
|
|
257
|
-
"@typescript-eslint/prefer-ts-expect-error",
|
|
258
|
-
"@typescript-eslint/promise-function-async",
|
|
259
|
-
"@typescript-eslint/return-await",
|
|
260
|
-
"@typescript-eslint/sort-type-constituents",
|
|
261
|
-
],
|
|
262
|
-
unicorn: [
|
|
263
|
-
"unicorn/better-regex",
|
|
264
|
-
"unicorn/catch-error-name",
|
|
265
|
-
"unicorn/consistent-assert",
|
|
266
|
-
"unicorn/consistent-date-clone",
|
|
267
|
-
"unicorn/consistent-destructuring",
|
|
268
|
-
"unicorn/consistent-empty-array-spread",
|
|
269
|
-
"unicorn/consistent-existence-index-check",
|
|
270
|
-
"unicorn/custom-error-definition",
|
|
271
|
-
"unicorn/empty-brace-spaces",
|
|
272
|
-
"unicorn/escape-case",
|
|
273
|
-
"unicorn/explicit-length-check",
|
|
274
|
-
"unicorn/new-for-builtins",
|
|
275
|
-
"unicorn/no-array-for-each",
|
|
276
|
-
"unicorn/no-array-method-this-argument",
|
|
277
|
-
"unicorn/no-await-expression-member",
|
|
278
|
-
"unicorn/no-console-spaces",
|
|
279
|
-
"unicorn/no-for-loop",
|
|
280
|
-
"unicorn/no-hex-escape",
|
|
281
|
-
"unicorn/no-instanceof-builtins",
|
|
282
|
-
"unicorn/no-lonely-if",
|
|
283
|
-
"unicorn/no-named-default",
|
|
284
|
-
"unicorn/no-negated-condition",
|
|
285
|
-
"unicorn/no-nested-ternary",
|
|
286
|
-
"unicorn/no-new-array",
|
|
287
|
-
"unicorn/no-new-buffer",
|
|
288
|
-
"unicorn/no-null",
|
|
289
|
-
"unicorn/no-single-promise-in-promise-methods",
|
|
290
|
-
"unicorn/no-static-only-class",
|
|
291
|
-
"unicorn/no-typeof-undefined",
|
|
292
|
-
"unicorn/no-unnecessary-array-flat-depth",
|
|
293
|
-
"unicorn/no-unnecessary-array-splice-count",
|
|
294
|
-
"unicorn/no-unnecessary-await",
|
|
295
|
-
"unicorn/no-unnecessary-slice-end",
|
|
296
|
-
"unicorn/no-unreadable-array-destructuring",
|
|
297
|
-
"unicorn/no-useless-fallback-in-spread",
|
|
298
|
-
"unicorn/no-useless-length-check",
|
|
299
|
-
"unicorn/no-useless-promise-resolve-reject",
|
|
300
|
-
"unicorn/no-useless-spread",
|
|
301
|
-
"unicorn/no-useless-undefined",
|
|
302
|
-
"unicorn/no-zero-fractions",
|
|
303
|
-
"unicorn/number-literal-case",
|
|
304
|
-
"unicorn/numeric-separators-style",
|
|
305
|
-
"unicorn/prefer-add-event-listener",
|
|
306
|
-
"unicorn/prefer-array-find",
|
|
307
|
-
"unicorn/prefer-array-flat",
|
|
308
|
-
"unicorn/prefer-array-flat-map",
|
|
309
|
-
"unicorn/prefer-array-index-of",
|
|
310
|
-
"unicorn/prefer-array-some",
|
|
311
|
-
"unicorn/prefer-at",
|
|
312
|
-
"unicorn/prefer-date-now",
|
|
313
|
-
"unicorn/prefer-default-parameters",
|
|
314
|
-
"unicorn/prefer-dom-node-append",
|
|
315
|
-
"unicorn/prefer-dom-node-dataset",
|
|
316
|
-
"unicorn/prefer-dom-node-remove",
|
|
317
|
-
"unicorn/prefer-export-from",
|
|
318
|
-
"unicorn/prefer-global-this",
|
|
319
|
-
"unicorn/prefer-import-meta-properties",
|
|
320
|
-
"unicorn/prefer-includes",
|
|
321
|
-
"unicorn/prefer-json-parse-buffer",
|
|
322
|
-
"unicorn/prefer-keyboard-event-key",
|
|
323
|
-
"unicorn/prefer-math-min-max",
|
|
324
|
-
"unicorn/prefer-math-trunc",
|
|
325
|
-
"unicorn/prefer-modern-dom-apis",
|
|
326
|
-
"unicorn/prefer-modern-math-apis",
|
|
327
|
-
"unicorn/prefer-module",
|
|
328
|
-
"unicorn/prefer-native-coercion-functions",
|
|
329
|
-
"unicorn/prefer-negative-index",
|
|
330
|
-
"unicorn/prefer-node-protocol",
|
|
331
|
-
"unicorn/prefer-number-properties",
|
|
332
|
-
"unicorn/prefer-object-from-entries",
|
|
333
|
-
"unicorn/prefer-optional-catch-binding",
|
|
334
|
-
"unicorn/prefer-prototype-methods",
|
|
335
|
-
"unicorn/prefer-query-selector",
|
|
336
|
-
"unicorn/prefer-reflect-apply",
|
|
337
|
-
"unicorn/prefer-regexp-test",
|
|
338
|
-
"unicorn/prefer-set-has",
|
|
339
|
-
"unicorn/prefer-set-size",
|
|
340
|
-
"unicorn/prefer-single-call",
|
|
341
|
-
"unicorn/prefer-spread",
|
|
342
|
-
"unicorn/prefer-string-raw",
|
|
343
|
-
"unicorn/prefer-string-replace-all",
|
|
344
|
-
"unicorn/prefer-string-slice",
|
|
345
|
-
"unicorn/prefer-string-starts-ends-with",
|
|
346
|
-
"unicorn/prefer-string-trim-start-end",
|
|
347
|
-
"unicorn/prefer-switch",
|
|
348
|
-
"unicorn/prefer-ternary",
|
|
349
|
-
"unicorn/prefer-type-error",
|
|
350
|
-
"unicorn/prevent-abbreviations",
|
|
351
|
-
"unicorn/relative-url-style",
|
|
352
|
-
"unicorn/require-array-join-separator",
|
|
353
|
-
"unicorn/require-number-to-fixed-digits-argument",
|
|
354
|
-
"unicorn/string-content",
|
|
355
|
-
"unicorn/switch-case-braces",
|
|
356
|
-
"unicorn/template-indent",
|
|
357
|
-
"unicorn/text-encoding-identifier-case",
|
|
358
|
-
"unicorn/throw-new-error",
|
|
359
|
-
],
|
|
360
|
-
vitest: [
|
|
361
|
-
"vitest/consistent-test-it",
|
|
362
|
-
"vitest/no-alias-methods",
|
|
363
|
-
"vitest/no-focused-tests",
|
|
364
|
-
"vitest/no-identical-title",
|
|
365
|
-
"vitest/no-import-node-test",
|
|
366
|
-
"vitest/no-interpolation-in-snapshots",
|
|
367
|
-
"vitest/no-test-prefixes",
|
|
368
|
-
"vitest/padding-around-after-all-blocks",
|
|
369
|
-
"vitest/padding-around-after-each-blocks",
|
|
370
|
-
"vitest/padding-around-all",
|
|
371
|
-
"vitest/padding-around-before-all-blocks",
|
|
372
|
-
"vitest/padding-around-before-each-blocks",
|
|
373
|
-
"vitest/padding-around-describe-blocks",
|
|
374
|
-
"vitest/padding-around-expect-groups",
|
|
375
|
-
"vitest/padding-around-test-blocks",
|
|
376
|
-
"vitest/prefer-called-with",
|
|
377
|
-
"vitest/prefer-comparison-matcher",
|
|
378
|
-
"vitest/prefer-describe-function-title",
|
|
379
|
-
"vitest/prefer-expect-resolves",
|
|
380
|
-
"vitest/prefer-lowercase-title",
|
|
381
|
-
"vitest/prefer-mock-promise-shorthand",
|
|
382
|
-
"vitest/prefer-spy-on",
|
|
383
|
-
"vitest/prefer-strict-boolean-matchers",
|
|
384
|
-
"vitest/prefer-to-be",
|
|
385
|
-
"vitest/prefer-to-be-falsy",
|
|
386
|
-
"vitest/prefer-to-be-object",
|
|
387
|
-
"vitest/prefer-to-be-truthy",
|
|
388
|
-
"vitest/prefer-to-contain",
|
|
389
|
-
"vitest/prefer-to-have-length",
|
|
390
|
-
"vitest/prefer-todo",
|
|
391
|
-
"vitest/prefer-vi-mocked",
|
|
392
|
-
"vitest/require-mock-type-parameters",
|
|
393
|
-
"vitest/valid-expect",
|
|
394
|
-
"vitest/valid-title",
|
|
395
|
-
],
|
|
396
|
-
};
|
|
2
|
+
import { FIXABLE_RULES_MAP } from "./generated/fixable-rules-map.js";
|
|
3
|
+
export const FIXABLE_RULES = Object.values(FIXABLE_RULES_MAP).flat();
|
|
4
|
+
export { FIXABLE_RULES_MAP } from "./generated/fixable-rules-map.js";
|