eslint-config-prettier 9.1.0 → 10.0.1

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.
@@ -18,7 +18,6 @@ const localRequire = (request) =>
18
18
  let experimentalApi = {};
19
19
  try {
20
20
  experimentalApi = localRequire("eslint/use-at-your-own-risk");
21
- // eslint-disable-next-line unicorn/prefer-optional-catch-binding
22
21
  } catch (_error) {}
23
22
 
24
23
  const { ESLint, FlatESLint = experimentalApi.FlatESLint } =
package/build/index.js ADDED
@@ -0,0 +1,397 @@
1
+ "use strict";
2
+
3
+ const includeDeprecated = !process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED;
4
+
5
+ const specialRule = 0;
6
+
7
+ module.exports = {
8
+ rules: {
9
+ // The following rules can be used in some cases. See the README for more
10
+ // information. These are marked with `0` instead of `"off"` so that a
11
+ // script can distinguish them. Note that there are a few more of these
12
+ // in the deprecated section below.
13
+ "curly": specialRule,
14
+ "no-unexpected-multiline": specialRule,
15
+ "@stylistic/lines-around-comment": specialRule,
16
+ "@stylistic/max-len": specialRule,
17
+ "@stylistic/no-confusing-arrow": specialRule,
18
+ "@stylistic/no-mixed-operators": specialRule,
19
+ "@stylistic/no-tabs": specialRule,
20
+ "@stylistic/quotes": specialRule,
21
+ "@stylistic/js/lines-around-comment": specialRule,
22
+ "@stylistic/js/max-len": specialRule,
23
+ "@stylistic/js/no-confusing-arrow": specialRule,
24
+ "@stylistic/js/no-mixed-operators": specialRule,
25
+ "@stylistic/js/no-tabs": specialRule,
26
+ "@stylistic/js/quotes": specialRule,
27
+ "@stylistic/ts/lines-around-comment": specialRule,
28
+ "@stylistic/ts/quotes": specialRule,
29
+ "@typescript-eslint/lines-around-comment": specialRule,
30
+ "@typescript-eslint/quotes": specialRule,
31
+ "babel/quotes": specialRule,
32
+ "unicorn/template-indent": specialRule,
33
+ "vue/html-self-closing": specialRule,
34
+ "vue/max-len": specialRule,
35
+
36
+ // The rest are rules that you never need to enable when using Prettier.
37
+ "@babel/object-curly-spacing": "off",
38
+ "@babel/semi": "off",
39
+ "@stylistic/array-bracket-newline": "off",
40
+ "@stylistic/array-bracket-spacing": "off",
41
+ "@stylistic/array-element-newline": "off",
42
+ "@stylistic/arrow-parens": "off",
43
+ "@stylistic/arrow-spacing": "off",
44
+ "@stylistic/block-spacing": "off",
45
+ "@stylistic/brace-style": "off",
46
+ "@stylistic/comma-dangle": "off",
47
+ "@stylistic/comma-spacing": "off",
48
+ "@stylistic/comma-style": "off",
49
+ "@stylistic/computed-property-spacing": "off",
50
+ "@stylistic/dot-location": "off",
51
+ "@stylistic/eol-last": "off",
52
+ "@stylistic/func-call-spacing": "off",
53
+ "@stylistic/function-call-argument-newline": "off",
54
+ "@stylistic/function-call-spacing": "off",
55
+ "@stylistic/function-paren-newline": "off",
56
+ "@stylistic/generator-star-spacing": "off",
57
+ "@stylistic/implicit-arrow-linebreak": "off",
58
+ "@stylistic/indent": "off",
59
+ "@stylistic/jsx-quotes": "off",
60
+ "@stylistic/key-spacing": "off",
61
+ "@stylistic/keyword-spacing": "off",
62
+ "@stylistic/linebreak-style": "off",
63
+ "@stylistic/max-statements-per-line": "off",
64
+ "@stylistic/multiline-ternary": "off",
65
+ "@stylistic/new-parens": "off",
66
+ "@stylistic/newline-per-chained-call": "off",
67
+ "@stylistic/no-extra-parens": "off",
68
+ "@stylistic/no-extra-semi": "off",
69
+ "@stylistic/no-floating-decimal": "off",
70
+ "@stylistic/no-mixed-spaces-and-tabs": "off",
71
+ "@stylistic/no-multi-spaces": "off",
72
+ "@stylistic/no-multiple-empty-lines": "off",
73
+ "@stylistic/no-trailing-spaces": "off",
74
+ "@stylistic/no-whitespace-before-property": "off",
75
+ "@stylistic/nonblock-statement-body-position": "off",
76
+ "@stylistic/object-curly-newline": "off",
77
+ "@stylistic/object-curly-spacing": "off",
78
+ "@stylistic/object-property-newline": "off",
79
+ "@stylistic/one-var-declaration-per-line": "off",
80
+ "@stylistic/operator-linebreak": "off",
81
+ "@stylistic/padded-blocks": "off",
82
+ "@stylistic/quote-props": "off",
83
+ "@stylistic/rest-spread-spacing": "off",
84
+ "@stylistic/semi": "off",
85
+ "@stylistic/semi-spacing": "off",
86
+ "@stylistic/semi-style": "off",
87
+ "@stylistic/space-before-blocks": "off",
88
+ "@stylistic/space-before-function-paren": "off",
89
+ "@stylistic/space-in-parens": "off",
90
+ "@stylistic/space-infix-ops": "off",
91
+ "@stylistic/space-unary-ops": "off",
92
+ "@stylistic/switch-colon-spacing": "off",
93
+ "@stylistic/template-curly-spacing": "off",
94
+ "@stylistic/template-tag-spacing": "off",
95
+ "@stylistic/wrap-iife": "off",
96
+ "@stylistic/wrap-regex": "off",
97
+ "@stylistic/yield-star-spacing": "off",
98
+ "@stylistic/member-delimiter-style": "off",
99
+ "@stylistic/type-annotation-spacing": "off",
100
+ "@stylistic/jsx-child-element-spacing": "off",
101
+ "@stylistic/jsx-closing-bracket-location": "off",
102
+ "@stylistic/jsx-closing-tag-location": "off",
103
+ "@stylistic/jsx-curly-newline": "off",
104
+ "@stylistic/jsx-curly-spacing": "off",
105
+ "@stylistic/jsx-equals-spacing": "off",
106
+ "@stylistic/jsx-first-prop-new-line": "off",
107
+ "@stylistic/jsx-indent": "off",
108
+ "@stylistic/jsx-indent-props": "off",
109
+ "@stylistic/jsx-max-props-per-line": "off",
110
+ "@stylistic/jsx-newline": "off",
111
+ "@stylistic/jsx-one-expression-per-line": "off",
112
+ "@stylistic/jsx-props-no-multi-spaces": "off",
113
+ "@stylistic/jsx-tag-spacing": "off",
114
+ "@stylistic/jsx-wrap-multilines": "off",
115
+ "@stylistic/indent-binary-ops": "off",
116
+ "@stylistic/type-generic-spacing": "off",
117
+ "@stylistic/type-named-tuple-spacing": "off",
118
+ "@stylistic/js/array-bracket-newline": "off",
119
+ "@stylistic/js/array-bracket-spacing": "off",
120
+ "@stylistic/js/array-element-newline": "off",
121
+ "@stylistic/js/arrow-parens": "off",
122
+ "@stylistic/js/arrow-spacing": "off",
123
+ "@stylistic/js/block-spacing": "off",
124
+ "@stylistic/js/brace-style": "off",
125
+ "@stylistic/js/comma-dangle": "off",
126
+ "@stylistic/js/comma-spacing": "off",
127
+ "@stylistic/js/comma-style": "off",
128
+ "@stylistic/js/computed-property-spacing": "off",
129
+ "@stylistic/js/dot-location": "off",
130
+ "@stylistic/js/eol-last": "off",
131
+ "@stylistic/js/func-call-spacing": "off",
132
+ "@stylistic/js/function-call-argument-newline": "off",
133
+ "@stylistic/js/function-call-spacing": "off",
134
+ "@stylistic/js/function-paren-newline": "off",
135
+ "@stylistic/js/generator-star-spacing": "off",
136
+ "@stylistic/js/implicit-arrow-linebreak": "off",
137
+ "@stylistic/js/indent": "off",
138
+ "@stylistic/js/jsx-quotes": "off",
139
+ "@stylistic/js/key-spacing": "off",
140
+ "@stylistic/js/keyword-spacing": "off",
141
+ "@stylistic/js/linebreak-style": "off",
142
+ "@stylistic/js/max-statements-per-line": "off",
143
+ "@stylistic/js/multiline-ternary": "off",
144
+ "@stylistic/js/new-parens": "off",
145
+ "@stylistic/js/newline-per-chained-call": "off",
146
+ "@stylistic/js/no-extra-parens": "off",
147
+ "@stylistic/js/no-extra-semi": "off",
148
+ "@stylistic/js/no-floating-decimal": "off",
149
+ "@stylistic/js/no-mixed-spaces-and-tabs": "off",
150
+ "@stylistic/js/no-multi-spaces": "off",
151
+ "@stylistic/js/no-multiple-empty-lines": "off",
152
+ "@stylistic/js/no-trailing-spaces": "off",
153
+ "@stylistic/js/no-whitespace-before-property": "off",
154
+ "@stylistic/js/nonblock-statement-body-position": "off",
155
+ "@stylistic/js/object-curly-newline": "off",
156
+ "@stylistic/js/object-curly-spacing": "off",
157
+ "@stylistic/js/object-property-newline": "off",
158
+ "@stylistic/js/one-var-declaration-per-line": "off",
159
+ "@stylistic/js/operator-linebreak": "off",
160
+ "@stylistic/js/padded-blocks": "off",
161
+ "@stylistic/js/quote-props": "off",
162
+ "@stylistic/js/rest-spread-spacing": "off",
163
+ "@stylistic/js/semi": "off",
164
+ "@stylistic/js/semi-spacing": "off",
165
+ "@stylistic/js/semi-style": "off",
166
+ "@stylistic/js/space-before-blocks": "off",
167
+ "@stylistic/js/space-before-function-paren": "off",
168
+ "@stylistic/js/space-in-parens": "off",
169
+ "@stylistic/js/space-infix-ops": "off",
170
+ "@stylistic/js/space-unary-ops": "off",
171
+ "@stylistic/js/switch-colon-spacing": "off",
172
+ "@stylistic/js/template-curly-spacing": "off",
173
+ "@stylistic/js/template-tag-spacing": "off",
174
+ "@stylistic/js/wrap-iife": "off",
175
+ "@stylistic/js/wrap-regex": "off",
176
+ "@stylistic/js/yield-star-spacing": "off",
177
+ "@stylistic/ts/block-spacing": "off",
178
+ "@stylistic/ts/brace-style": "off",
179
+ "@stylistic/ts/comma-dangle": "off",
180
+ "@stylistic/ts/comma-spacing": "off",
181
+ "@stylistic/ts/func-call-spacing": "off",
182
+ "@stylistic/ts/function-call-spacing": "off",
183
+ "@stylistic/ts/indent": "off",
184
+ "@stylistic/ts/key-spacing": "off",
185
+ "@stylistic/ts/keyword-spacing": "off",
186
+ "@stylistic/ts/member-delimiter-style": "off",
187
+ "@stylistic/ts/no-extra-parens": "off",
188
+ "@stylistic/ts/no-extra-semi": "off",
189
+ "@stylistic/ts/object-curly-spacing": "off",
190
+ "@stylistic/ts/semi": "off",
191
+ "@stylistic/ts/space-before-blocks": "off",
192
+ "@stylistic/ts/space-before-function-paren": "off",
193
+ "@stylistic/ts/space-infix-ops": "off",
194
+ "@stylistic/ts/type-annotation-spacing": "off",
195
+ "@stylistic/jsx/jsx-child-element-spacing": "off",
196
+ "@stylistic/jsx/jsx-closing-bracket-location": "off",
197
+ "@stylistic/jsx/jsx-closing-tag-location": "off",
198
+ "@stylistic/jsx/jsx-curly-newline": "off",
199
+ "@stylistic/jsx/jsx-curly-spacing": "off",
200
+ "@stylistic/jsx/jsx-equals-spacing": "off",
201
+ "@stylistic/jsx/jsx-first-prop-new-line": "off",
202
+ "@stylistic/jsx/jsx-indent": "off",
203
+ "@stylistic/jsx/jsx-indent-props": "off",
204
+ "@stylistic/jsx/jsx-max-props-per-line": "off",
205
+ "@typescript-eslint/block-spacing": "off",
206
+ "@typescript-eslint/brace-style": "off",
207
+ "@typescript-eslint/comma-dangle": "off",
208
+ "@typescript-eslint/comma-spacing": "off",
209
+ "@typescript-eslint/func-call-spacing": "off",
210
+ "@typescript-eslint/indent": "off",
211
+ "@typescript-eslint/key-spacing": "off",
212
+ "@typescript-eslint/keyword-spacing": "off",
213
+ "@typescript-eslint/member-delimiter-style": "off",
214
+ "@typescript-eslint/no-extra-parens": "off",
215
+ "@typescript-eslint/no-extra-semi": "off",
216
+ "@typescript-eslint/object-curly-spacing": "off",
217
+ "@typescript-eslint/semi": "off",
218
+ "@typescript-eslint/space-before-blocks": "off",
219
+ "@typescript-eslint/space-before-function-paren": "off",
220
+ "@typescript-eslint/space-infix-ops": "off",
221
+ "@typescript-eslint/type-annotation-spacing": "off",
222
+ "babel/object-curly-spacing": "off",
223
+ "babel/semi": "off",
224
+ "flowtype/boolean-style": "off",
225
+ "flowtype/delimiter-dangle": "off",
226
+ "flowtype/generic-spacing": "off",
227
+ "flowtype/object-type-curly-spacing": "off",
228
+ "flowtype/object-type-delimiter": "off",
229
+ "flowtype/quotes": "off",
230
+ "flowtype/semi": "off",
231
+ "flowtype/space-after-type-colon": "off",
232
+ "flowtype/space-before-generic-bracket": "off",
233
+ "flowtype/space-before-type-colon": "off",
234
+ "flowtype/union-intersection-spacing": "off",
235
+ "react/jsx-child-element-spacing": "off",
236
+ "react/jsx-closing-bracket-location": "off",
237
+ "react/jsx-closing-tag-location": "off",
238
+ "react/jsx-curly-newline": "off",
239
+ "react/jsx-curly-spacing": "off",
240
+ "react/jsx-equals-spacing": "off",
241
+ "react/jsx-first-prop-new-line": "off",
242
+ "react/jsx-indent": "off",
243
+ "react/jsx-indent-props": "off",
244
+ "react/jsx-max-props-per-line": "off",
245
+ "react/jsx-newline": "off",
246
+ "react/jsx-one-expression-per-line": "off",
247
+ "react/jsx-props-no-multi-spaces": "off",
248
+ "react/jsx-tag-spacing": "off",
249
+ "react/jsx-wrap-multilines": "off",
250
+ "standard/array-bracket-even-spacing": "off",
251
+ "standard/computed-property-even-spacing": "off",
252
+ "standard/object-curly-even-spacing": "off",
253
+ "unicorn/empty-brace-spaces": "off",
254
+ "unicorn/no-nested-ternary": "off",
255
+ "unicorn/number-literal-case": "off",
256
+ "vue/array-bracket-newline": "off",
257
+ "vue/array-bracket-spacing": "off",
258
+ "vue/array-element-newline": "off",
259
+ "vue/arrow-spacing": "off",
260
+ "vue/block-spacing": "off",
261
+ "vue/block-tag-newline": "off",
262
+ "vue/brace-style": "off",
263
+ "vue/comma-dangle": "off",
264
+ "vue/comma-spacing": "off",
265
+ "vue/comma-style": "off",
266
+ "vue/dot-location": "off",
267
+ "vue/func-call-spacing": "off",
268
+ "vue/html-closing-bracket-newline": "off",
269
+ "vue/html-closing-bracket-spacing": "off",
270
+ "vue/html-end-tags": "off",
271
+ "vue/html-indent": "off",
272
+ "vue/html-quotes": "off",
273
+ "vue/key-spacing": "off",
274
+ "vue/keyword-spacing": "off",
275
+ "vue/max-attributes-per-line": "off",
276
+ "vue/multiline-html-element-content-newline": "off",
277
+ "vue/multiline-ternary": "off",
278
+ "vue/mustache-interpolation-spacing": "off",
279
+ "vue/no-extra-parens": "off",
280
+ "vue/no-multi-spaces": "off",
281
+ "vue/no-spaces-around-equal-signs-in-attribute": "off",
282
+ "vue/object-curly-newline": "off",
283
+ "vue/object-curly-spacing": "off",
284
+ "vue/object-property-newline": "off",
285
+ "vue/operator-linebreak": "off",
286
+ "vue/quote-props": "off",
287
+ "vue/script-indent": "off",
288
+ "vue/singleline-html-element-content-newline": "off",
289
+ "vue/space-in-parens": "off",
290
+ "vue/space-infix-ops": "off",
291
+ "vue/space-unary-ops": "off",
292
+ "vue/template-curly-spacing": "off",
293
+
294
+ ...(includeDeprecated && {
295
+ // Removed in version 0.10.0.
296
+ // https://eslint.org/docs/latest/rules/space-unary-word-ops
297
+ "space-unary-word-ops": "off",
298
+
299
+ // Removed in version 1.0.0.
300
+ // https://github.com/eslint/eslint/issues/1898
301
+ "generator-star": "off",
302
+ "no-comma-dangle": "off",
303
+ "no-reserved-keys": "off",
304
+ "no-space-before-semi": "off",
305
+ "no-wrap-func": "off",
306
+ "space-after-function-name": "off",
307
+ "space-before-function-parentheses": "off",
308
+ "space-in-brackets": "off",
309
+
310
+ // Removed in version 2.0.0.
311
+ // https://github.com/eslint/eslint/issues/5032
312
+ "no-arrow-condition": "off",
313
+ "space-after-keywords": "off",
314
+ "space-before-keywords": "off",
315
+ "space-return-throw-case": "off",
316
+
317
+ // Deprecated since version 3.3.0.
318
+ // https://eslint.org/docs/rules/no-spaced-func
319
+ "no-spaced-func": "off",
320
+
321
+ // Deprecated since version 4.0.0.
322
+ // https://github.com/eslint/eslint/pull/8286
323
+ "indent-legacy": "off",
324
+
325
+ // Deprecated since version 8.53.0.
326
+ // https://eslint.org/blog/2023/10/deprecating-formatting-rules/
327
+ "array-bracket-newline": "off",
328
+ "array-bracket-spacing": "off",
329
+ "array-element-newline": "off",
330
+ "arrow-parens": "off",
331
+ "arrow-spacing": "off",
332
+ "block-spacing": "off",
333
+ "brace-style": "off",
334
+ "comma-dangle": "off",
335
+ "comma-spacing": "off",
336
+ "comma-style": "off",
337
+ "computed-property-spacing": "off",
338
+ "dot-location": "off",
339
+ "eol-last": "off",
340
+ "func-call-spacing": "off",
341
+ "function-call-argument-newline": "off",
342
+ "function-paren-newline": "off",
343
+ "generator-star-spacing": "off",
344
+ "implicit-arrow-linebreak": "off",
345
+ "indent": "off",
346
+ "jsx-quotes": "off",
347
+ "key-spacing": "off",
348
+ "keyword-spacing": "off",
349
+ "linebreak-style": "off",
350
+ "lines-around-comment": specialRule,
351
+ "max-len": specialRule,
352
+ "max-statements-per-line": "off",
353
+ "multiline-ternary": "off",
354
+ "new-parens": "off",
355
+ "newline-per-chained-call": "off",
356
+ "no-confusing-arrow": specialRule,
357
+ "no-extra-parens": "off",
358
+ "no-extra-semi": "off",
359
+ "no-floating-decimal": "off",
360
+ "no-mixed-operators": specialRule,
361
+ "no-mixed-spaces-and-tabs": "off",
362
+ "no-multi-spaces": "off",
363
+ "no-multiple-empty-lines": "off",
364
+ "no-tabs": specialRule,
365
+ "no-trailing-spaces": "off",
366
+ "no-whitespace-before-property": "off",
367
+ "nonblock-statement-body-position": "off",
368
+ "object-curly-newline": "off",
369
+ "object-curly-spacing": "off",
370
+ "object-property-newline": "off",
371
+ "one-var-declaration-per-line": "off",
372
+ "operator-linebreak": "off",
373
+ "padded-blocks": "off",
374
+ "quote-props": "off",
375
+ "quotes": specialRule,
376
+ "rest-spread-spacing": "off",
377
+ "semi": "off",
378
+ "semi-spacing": "off",
379
+ "semi-style": "off",
380
+ "space-before-blocks": "off",
381
+ "space-before-function-paren": "off",
382
+ "space-in-parens": "off",
383
+ "space-infix-ops": "off",
384
+ "space-unary-ops": "off",
385
+ "switch-colon-spacing": "off",
386
+ "template-curly-spacing": "off",
387
+ "template-tag-spacing": "off",
388
+ "wrap-iife": "off",
389
+ "wrap-regex": "off",
390
+ "yield-star-spacing": "off",
391
+
392
+ // Deprecated since version 7.0.0.
393
+ // https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
394
+ "react/jsx-space-before-closing": "off",
395
+ }),
396
+ },
397
+ };
package/package.json CHANGED
@@ -1,13 +1,23 @@
1
1
  {
2
2
  "name": "eslint-config-prettier",
3
- "version": "9.1.0",
3
+ "version": "10.0.1",
4
4
  "license": "MIT",
5
5
  "author": "Simon Lydell",
6
6
  "description": "Turns off all rules that are unnecessary or might conflict with Prettier.",
7
7
  "repository": "prettier/eslint-config-prettier",
8
- "bin": "bin/cli.js",
9
- "keywords": ["eslint", "eslintconfig", "prettier"],
8
+ "bin": "build/bin/cli.js",
9
+ "main": "build/index.js",
10
+ "files": [
11
+ "build"
12
+ ],
13
+ "keywords": [
14
+ "eslint",
15
+ "eslintconfig",
16
+ "eslint-config",
17
+ "eslint-prettier",
18
+ "prettier"
19
+ ],
10
20
  "peerDependencies": {
11
21
  "eslint": ">=7.0.0"
12
22
  }
13
- }
23
+ }
package/index.js DELETED
@@ -1,217 +0,0 @@
1
- "use strict";
2
-
3
- const includeDeprecated = !process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED;
4
-
5
- const specialRule = 0;
6
-
7
- module.exports = {
8
- rules: {
9
- // The following rules can be used in some cases. See the README for more
10
- // information. These are marked with `0` instead of `"off"` so that a
11
- // script can distinguish them. Note that there are a few more of these
12
- // in the deprecated section below.
13
- "curly": specialRule,
14
- "no-unexpected-multiline": specialRule,
15
- "@typescript-eslint/lines-around-comment": specialRule,
16
- "@typescript-eslint/quotes": specialRule,
17
- "babel/quotes": specialRule,
18
- "unicorn/template-indent": specialRule,
19
- "vue/html-self-closing": specialRule,
20
- "vue/max-len": specialRule,
21
-
22
- // The rest are rules that you never need to enable when using Prettier.
23
- "@babel/object-curly-spacing": "off",
24
- "@babel/semi": "off",
25
- "@typescript-eslint/block-spacing": "off",
26
- "@typescript-eslint/brace-style": "off",
27
- "@typescript-eslint/comma-dangle": "off",
28
- "@typescript-eslint/comma-spacing": "off",
29
- "@typescript-eslint/func-call-spacing": "off",
30
- "@typescript-eslint/indent": "off",
31
- "@typescript-eslint/key-spacing": "off",
32
- "@typescript-eslint/keyword-spacing": "off",
33
- "@typescript-eslint/member-delimiter-style": "off",
34
- "@typescript-eslint/no-extra-parens": "off",
35
- "@typescript-eslint/no-extra-semi": "off",
36
- "@typescript-eslint/object-curly-spacing": "off",
37
- "@typescript-eslint/semi": "off",
38
- "@typescript-eslint/space-before-blocks": "off",
39
- "@typescript-eslint/space-before-function-paren": "off",
40
- "@typescript-eslint/space-infix-ops": "off",
41
- "@typescript-eslint/type-annotation-spacing": "off",
42
- "babel/object-curly-spacing": "off",
43
- "babel/semi": "off",
44
- "flowtype/boolean-style": "off",
45
- "flowtype/delimiter-dangle": "off",
46
- "flowtype/generic-spacing": "off",
47
- "flowtype/object-type-curly-spacing": "off",
48
- "flowtype/object-type-delimiter": "off",
49
- "flowtype/quotes": "off",
50
- "flowtype/semi": "off",
51
- "flowtype/space-after-type-colon": "off",
52
- "flowtype/space-before-generic-bracket": "off",
53
- "flowtype/space-before-type-colon": "off",
54
- "flowtype/union-intersection-spacing": "off",
55
- "react/jsx-child-element-spacing": "off",
56
- "react/jsx-closing-bracket-location": "off",
57
- "react/jsx-closing-tag-location": "off",
58
- "react/jsx-curly-newline": "off",
59
- "react/jsx-curly-spacing": "off",
60
- "react/jsx-equals-spacing": "off",
61
- "react/jsx-first-prop-new-line": "off",
62
- "react/jsx-indent": "off",
63
- "react/jsx-indent-props": "off",
64
- "react/jsx-max-props-per-line": "off",
65
- "react/jsx-newline": "off",
66
- "react/jsx-one-expression-per-line": "off",
67
- "react/jsx-props-no-multi-spaces": "off",
68
- "react/jsx-tag-spacing": "off",
69
- "react/jsx-wrap-multilines": "off",
70
- "standard/array-bracket-even-spacing": "off",
71
- "standard/computed-property-even-spacing": "off",
72
- "standard/object-curly-even-spacing": "off",
73
- "unicorn/empty-brace-spaces": "off",
74
- "unicorn/no-nested-ternary": "off",
75
- "unicorn/number-literal-case": "off",
76
- "vue/array-bracket-newline": "off",
77
- "vue/array-bracket-spacing": "off",
78
- "vue/array-element-newline": "off",
79
- "vue/arrow-spacing": "off",
80
- "vue/block-spacing": "off",
81
- "vue/block-tag-newline": "off",
82
- "vue/brace-style": "off",
83
- "vue/comma-dangle": "off",
84
- "vue/comma-spacing": "off",
85
- "vue/comma-style": "off",
86
- "vue/dot-location": "off",
87
- "vue/func-call-spacing": "off",
88
- "vue/html-closing-bracket-newline": "off",
89
- "vue/html-closing-bracket-spacing": "off",
90
- "vue/html-end-tags": "off",
91
- "vue/html-indent": "off",
92
- "vue/html-quotes": "off",
93
- "vue/key-spacing": "off",
94
- "vue/keyword-spacing": "off",
95
- "vue/max-attributes-per-line": "off",
96
- "vue/multiline-html-element-content-newline": "off",
97
- "vue/multiline-ternary": "off",
98
- "vue/mustache-interpolation-spacing": "off",
99
- "vue/no-extra-parens": "off",
100
- "vue/no-multi-spaces": "off",
101
- "vue/no-spaces-around-equal-signs-in-attribute": "off",
102
- "vue/object-curly-newline": "off",
103
- "vue/object-curly-spacing": "off",
104
- "vue/object-property-newline": "off",
105
- "vue/operator-linebreak": "off",
106
- "vue/quote-props": "off",
107
- "vue/script-indent": "off",
108
- "vue/singleline-html-element-content-newline": "off",
109
- "vue/space-in-parens": "off",
110
- "vue/space-infix-ops": "off",
111
- "vue/space-unary-ops": "off",
112
- "vue/template-curly-spacing": "off",
113
-
114
- ...(includeDeprecated && {
115
- // Removed in version 0.10.0.
116
- // https://eslint.org/docs/latest/rules/space-unary-word-ops
117
- "space-unary-word-ops": "off",
118
-
119
- // Removed in version 1.0.0.
120
- // https://github.com/eslint/eslint/issues/1898
121
- "generator-star": "off",
122
- "no-comma-dangle": "off",
123
- "no-reserved-keys": "off",
124
- "no-space-before-semi": "off",
125
- "no-wrap-func": "off",
126
- "space-after-function-name": "off",
127
- "space-before-function-parentheses": "off",
128
- "space-in-brackets": "off",
129
-
130
- // Removed in version 2.0.0.
131
- // https://github.com/eslint/eslint/issues/5032
132
- "no-arrow-condition": "off",
133
- "space-after-keywords": "off",
134
- "space-before-keywords": "off",
135
- "space-return-throw-case": "off",
136
-
137
- // Deprecated since version 3.3.0.
138
- // https://eslint.org/docs/rules/no-spaced-func
139
- "no-spaced-func": "off",
140
-
141
- // Deprecated since version 4.0.0.
142
- // https://github.com/eslint/eslint/pull/8286
143
- "indent-legacy": "off",
144
-
145
- // Deprecated since version 8.53.0.
146
- // https://eslint.org/blog/2023/10/deprecating-formatting-rules/
147
- "array-bracket-newline": "off",
148
- "array-bracket-spacing": "off",
149
- "array-element-newline": "off",
150
- "arrow-parens": "off",
151
- "arrow-spacing": "off",
152
- "block-spacing": "off",
153
- "brace-style": "off",
154
- "comma-dangle": "off",
155
- "comma-spacing": "off",
156
- "comma-style": "off",
157
- "computed-property-spacing": "off",
158
- "dot-location": "off",
159
- "eol-last": "off",
160
- "func-call-spacing": "off",
161
- "function-call-argument-newline": "off",
162
- "function-paren-newline": "off",
163
- "generator-star-spacing": "off",
164
- "implicit-arrow-linebreak": "off",
165
- "indent": "off",
166
- "jsx-quotes": "off",
167
- "key-spacing": "off",
168
- "keyword-spacing": "off",
169
- "linebreak-style": "off",
170
- "lines-around-comment": specialRule,
171
- "max-len": specialRule,
172
- "max-statements-per-line": "off",
173
- "multiline-ternary": "off",
174
- "new-parens": "off",
175
- "newline-per-chained-call": "off",
176
- "no-confusing-arrow": specialRule,
177
- "no-extra-parens": "off",
178
- "no-extra-semi": "off",
179
- "no-floating-decimal": "off",
180
- "no-mixed-operators": specialRule,
181
- "no-mixed-spaces-and-tabs": "off",
182
- "no-multi-spaces": "off",
183
- "no-multiple-empty-lines": "off",
184
- "no-tabs": specialRule,
185
- "no-trailing-spaces": "off",
186
- "no-whitespace-before-property": "off",
187
- "nonblock-statement-body-position": "off",
188
- "object-curly-newline": "off",
189
- "object-curly-spacing": "off",
190
- "object-property-newline": "off",
191
- "one-var-declaration-per-line": "off",
192
- "operator-linebreak": "off",
193
- "padded-blocks": "off",
194
- "quote-props": "off",
195
- "quotes": specialRule,
196
- "rest-spread-spacing": "off",
197
- "semi": "off",
198
- "semi-spacing": "off",
199
- "semi-style": "off",
200
- "space-before-blocks": "off",
201
- "space-before-function-paren": "off",
202
- "space-in-parens": "off",
203
- "space-infix-ops": "off",
204
- "space-unary-ops": "off",
205
- "switch-colon-spacing": "off",
206
- "template-curly-spacing": "off",
207
- "template-tag-spacing": "off",
208
- "wrap-iife": "off",
209
- "wrap-regex": "off",
210
- "yield-star-spacing": "off",
211
-
212
- // Deprecated since version 7.0.0.
213
- // https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
214
- "react/jsx-space-before-closing": "off",
215
- }),
216
- },
217
- };
File without changes
File without changes
File without changes
File without changes