eslint 9.29.0 → 9.30.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.
- package/README.md +1 -1
- package/lib/config/config-loader.js +2 -29
- package/lib/config/flat-config-array.js +1 -1
- package/lib/eslint/eslint.js +1 -1
- package/lib/languages/js/source-code/source-code.js +7 -0
- package/lib/rules/array-bracket-newline.js +3 -3
- package/lib/rules/array-bracket-spacing.js +3 -3
- package/lib/rules/array-element-newline.js +3 -3
- package/lib/rules/arrow-parens.js +3 -3
- package/lib/rules/arrow-spacing.js +3 -3
- package/lib/rules/block-spacing.js +3 -3
- package/lib/rules/brace-style.js +3 -3
- package/lib/rules/comma-dangle.js +3 -3
- package/lib/rules/comma-spacing.js +3 -3
- package/lib/rules/comma-style.js +3 -3
- package/lib/rules/computed-property-spacing.js +3 -3
- package/lib/rules/dot-location.js +3 -3
- package/lib/rules/eol-last.js +3 -3
- package/lib/rules/func-call-spacing.js +3 -3
- package/lib/rules/function-call-argument-newline.js +3 -3
- package/lib/rules/function-paren-newline.js +3 -3
- package/lib/rules/generator-star-spacing.js +3 -3
- package/lib/rules/implicit-arrow-linebreak.js +3 -3
- package/lib/rules/indent-legacy.js +3 -3
- package/lib/rules/indent.js +3 -3
- package/lib/rules/jsx-quotes.js +3 -3
- package/lib/rules/key-spacing.js +3 -3
- package/lib/rules/keyword-spacing.js +3 -3
- package/lib/rules/line-comment-position.js +3 -3
- package/lib/rules/linebreak-style.js +3 -3
- package/lib/rules/lines-around-comment.js +3 -3
- package/lib/rules/lines-around-directive.js +3 -3
- package/lib/rules/lines-between-class-members.js +3 -3
- package/lib/rules/max-len.js +3 -3
- package/lib/rules/max-statements-per-line.js +3 -3
- package/lib/rules/multiline-comment-style.js +3 -3
- package/lib/rules/multiline-ternary.js +3 -3
- package/lib/rules/new-parens.js +3 -3
- package/lib/rules/newline-after-var.js +3 -3
- package/lib/rules/newline-before-return.js +3 -3
- package/lib/rules/newline-per-chained-call.js +3 -3
- package/lib/rules/no-confusing-arrow.js +3 -3
- package/lib/rules/no-duplicate-imports.js +79 -7
- package/lib/rules/no-extra-parens.js +3 -3
- package/lib/rules/no-extra-semi.js +3 -3
- package/lib/rules/no-floating-decimal.js +3 -3
- package/lib/rules/no-mixed-operators.js +3 -3
- package/lib/rules/no-mixed-spaces-and-tabs.js +3 -3
- package/lib/rules/no-multi-spaces.js +3 -3
- package/lib/rules/no-multiple-empty-lines.js +3 -3
- package/lib/rules/no-restricted-properties.js +11 -2
- package/lib/rules/no-spaced-func.js +3 -3
- package/lib/rules/no-tabs.js +3 -3
- package/lib/rules/no-trailing-spaces.js +3 -3
- package/lib/rules/no-unused-vars.js +1 -1
- package/lib/rules/no-whitespace-before-property.js +3 -3
- package/lib/rules/nonblock-statement-body-position.js +3 -3
- package/lib/rules/object-curly-newline.js +3 -3
- package/lib/rules/object-curly-spacing.js +3 -3
- package/lib/rules/object-property-newline.js +3 -3
- package/lib/rules/one-var-declaration-per-line.js +3 -3
- package/lib/rules/operator-linebreak.js +3 -3
- package/lib/rules/padded-blocks.js +3 -3
- package/lib/rules/padding-line-between-statements.js +3 -3
- package/lib/rules/quote-props.js +3 -3
- package/lib/rules/quotes.js +3 -3
- package/lib/rules/rest-spread-spacing.js +3 -3
- package/lib/rules/semi-spacing.js +3 -3
- package/lib/rules/semi-style.js +3 -3
- package/lib/rules/semi.js +3 -3
- package/lib/rules/space-before-blocks.js +3 -3
- package/lib/rules/space-before-function-paren.js +3 -3
- package/lib/rules/space-in-parens.js +3 -3
- package/lib/rules/space-infix-ops.js +3 -3
- package/lib/rules/space-unary-ops.js +3 -3
- package/lib/rules/spaced-comment.js +3 -3
- package/lib/rules/switch-colon-spacing.js +3 -3
- package/lib/rules/template-curly-spacing.js +3 -3
- package/lib/rules/template-tag-spacing.js +3 -3
- package/lib/rules/utils/ast-utils.js +45 -0
- package/lib/rules/wrap-iife.js +3 -3
- package/lib/rules/wrap-regex.js +3 -3
- package/lib/rules/yield-star-spacing.js +3 -3
- package/lib/shared/flags.js +9 -1
- package/lib/shared/runtime-info.js +1 -1
- package/lib/types/index.d.ts +7 -0
- package/lib/types/rules.d.ts +78 -74
- package/package.json +4 -4
package/lib/types/rules.d.ts
CHANGED
@@ -126,7 +126,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
126
126
|
* @since 4.0.0-alpha.1
|
127
127
|
* @deprecated since 8.53.0.
|
128
128
|
* Formatting rules are being moved out of ESLint core.
|
129
|
-
* Please, use [`array-bracket-newline`](https://eslint.style/rules/
|
129
|
+
* Please, use [`array-bracket-newline`](https://eslint.style/rules/array-bracket-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
130
130
|
* @see https://eslint.org/docs/latest/rules/array-bracket-newline
|
131
131
|
*/
|
132
132
|
"array-bracket-newline": Linter.RuleEntry<
|
@@ -153,7 +153,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
153
153
|
* @since 0.24.0
|
154
154
|
* @deprecated since 8.53.0.
|
155
155
|
* Formatting rules are being moved out of ESLint core.
|
156
|
-
* Please, use [`array-bracket-spacing`](https://eslint.style/rules/
|
156
|
+
* Please, use [`array-bracket-spacing`](https://eslint.style/rules/array-bracket-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
157
157
|
* @see https://eslint.org/docs/latest/rules/array-bracket-spacing
|
158
158
|
*/
|
159
159
|
"array-bracket-spacing":
|
@@ -227,7 +227,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
227
227
|
* @since 4.0.0-rc.0
|
228
228
|
* @deprecated since 8.53.0.
|
229
229
|
* Formatting rules are being moved out of ESLint core.
|
230
|
-
* Please, use [`array-element-newline`](https://eslint.style/rules/
|
230
|
+
* Please, use [`array-element-newline`](https://eslint.style/rules/array-element-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
231
231
|
* @see https://eslint.org/docs/latest/rules/array-element-newline
|
232
232
|
*/
|
233
233
|
"array-element-newline": Linter.RuleEntry<
|
@@ -274,7 +274,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
274
274
|
* @since 1.0.0-rc-1
|
275
275
|
* @deprecated since 8.53.0.
|
276
276
|
* Formatting rules are being moved out of ESLint core.
|
277
|
-
* Please, use [`arrow-parens`](https://eslint.style/rules/
|
277
|
+
* Please, use [`arrow-parens`](https://eslint.style/rules/arrow-parens) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
278
278
|
* @see https://eslint.org/docs/latest/rules/arrow-parens
|
279
279
|
*/
|
280
280
|
"arrow-parens":
|
@@ -297,7 +297,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
297
297
|
* @since 1.0.0-rc-1
|
298
298
|
* @deprecated since 8.53.0.
|
299
299
|
* Formatting rules are being moved out of ESLint core.
|
300
|
-
* Please, use [`arrow-spacing`](https://eslint.style/rules/
|
300
|
+
* Please, use [`arrow-spacing`](https://eslint.style/rules/arrow-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
301
301
|
* @see https://eslint.org/docs/latest/rules/arrow-spacing
|
302
302
|
*/
|
303
303
|
"arrow-spacing": Linter.RuleEntry<[]>;
|
@@ -316,7 +316,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
316
316
|
* @since 1.2.0
|
317
317
|
* @deprecated since 8.53.0.
|
318
318
|
* Formatting rules are being moved out of ESLint core.
|
319
|
-
* Please, use [`block-spacing`](https://eslint.style/rules/
|
319
|
+
* Please, use [`block-spacing`](https://eslint.style/rules/block-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
320
320
|
* @see https://eslint.org/docs/latest/rules/block-spacing
|
321
321
|
*/
|
322
322
|
"block-spacing": Linter.RuleEntry<["always" | "never"]>;
|
@@ -327,7 +327,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
327
327
|
* @since 0.0.7
|
328
328
|
* @deprecated since 8.53.0.
|
329
329
|
* Formatting rules are being moved out of ESLint core.
|
330
|
-
* Please, use [`brace-style`](https://eslint.style/rules/
|
330
|
+
* Please, use [`brace-style`](https://eslint.style/rules/brace-style) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
331
331
|
* @see https://eslint.org/docs/latest/rules/brace-style
|
332
332
|
*/
|
333
333
|
"brace-style": Linter.RuleEntry<
|
@@ -441,7 +441,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
441
441
|
* @since 0.16.0
|
442
442
|
* @deprecated since 8.53.0.
|
443
443
|
* Formatting rules are being moved out of ESLint core.
|
444
|
-
* Please, use [`comma-dangle`](https://eslint.style/rules/
|
444
|
+
* Please, use [`comma-dangle`](https://eslint.style/rules/comma-dangle) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
445
445
|
* @see https://eslint.org/docs/latest/rules/comma-dangle
|
446
446
|
*/
|
447
447
|
"comma-dangle": Linter.RuleEntry<
|
@@ -501,7 +501,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
501
501
|
* @since 0.9.0
|
502
502
|
* @deprecated since 8.53.0.
|
503
503
|
* Formatting rules are being moved out of ESLint core.
|
504
|
-
* Please, use [`comma-spacing`](https://eslint.style/rules/
|
504
|
+
* Please, use [`comma-spacing`](https://eslint.style/rules/comma-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
505
505
|
* @see https://eslint.org/docs/latest/rules/comma-spacing
|
506
506
|
*/
|
507
507
|
"comma-spacing": Linter.RuleEntry<
|
@@ -525,7 +525,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
525
525
|
* @since 0.9.0
|
526
526
|
* @deprecated since 8.53.0.
|
527
527
|
* Formatting rules are being moved out of ESLint core.
|
528
|
-
* Please, use [`comma-style`](https://eslint.style/rules/
|
528
|
+
* Please, use [`comma-style`](https://eslint.style/rules/comma-style) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
529
529
|
* @see https://eslint.org/docs/latest/rules/comma-style
|
530
530
|
*/
|
531
531
|
"comma-style": Linter.RuleEntry<
|
@@ -571,7 +571,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
571
571
|
* @since 0.23.0
|
572
572
|
* @deprecated since 8.53.0.
|
573
573
|
* Formatting rules are being moved out of ESLint core.
|
574
|
-
* Please, use [`computed-property-spacing`](https://eslint.style/rules/
|
574
|
+
* Please, use [`computed-property-spacing`](https://eslint.style/rules/computed-property-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
575
575
|
* @see https://eslint.org/docs/latest/rules/computed-property-spacing
|
576
576
|
*/
|
577
577
|
"computed-property-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -661,7 +661,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
661
661
|
* @since 0.21.0
|
662
662
|
* @deprecated since 8.53.0.
|
663
663
|
* Formatting rules are being moved out of ESLint core.
|
664
|
-
* Please, use [`dot-location`](https://eslint.style/rules/
|
664
|
+
* Please, use [`dot-location`](https://eslint.style/rules/dot-location) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
665
665
|
* @see https://eslint.org/docs/latest/rules/dot-location
|
666
666
|
*/
|
667
667
|
"dot-location": Linter.RuleEntry<["object" | "property"]>;
|
@@ -690,7 +690,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
690
690
|
* @since 0.7.1
|
691
691
|
* @deprecated since 8.53.0.
|
692
692
|
* Formatting rules are being moved out of ESLint core.
|
693
|
-
* Please, use [`eol-last`](https://eslint.style/rules/
|
693
|
+
* Please, use [`eol-last`](https://eslint.style/rules/eol-last) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
694
694
|
* @see https://eslint.org/docs/latest/rules/eol-last
|
695
695
|
*/
|
696
696
|
"eol-last": Linter.RuleEntry<
|
@@ -736,7 +736,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
736
736
|
* @since 3.3.0
|
737
737
|
* @deprecated since 8.53.0.
|
738
738
|
* Formatting rules are being moved out of ESLint core.
|
739
|
-
* Please, use [`function-call-spacing`](https://eslint.style/rules/
|
739
|
+
* Please, use [`function-call-spacing`](https://eslint.style/rules/function-call-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
740
740
|
* @see https://eslint.org/docs/latest/rules/func-call-spacing
|
741
741
|
*/
|
742
742
|
"func-call-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -824,7 +824,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
824
824
|
* @since 6.2.0
|
825
825
|
* @deprecated since 8.53.0.
|
826
826
|
* Formatting rules are being moved out of ESLint core.
|
827
|
-
* Please, use [`function-call-argument-newline`](https://eslint.style/rules/
|
827
|
+
* Please, use [`function-call-argument-newline`](https://eslint.style/rules/function-call-argument-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
828
828
|
* @see https://eslint.org/docs/latest/rules/function-call-argument-newline
|
829
829
|
*/
|
830
830
|
"function-call-argument-newline": Linter.RuleEntry<
|
@@ -842,7 +842,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
842
842
|
* @since 4.6.0
|
843
843
|
* @deprecated since 8.53.0.
|
844
844
|
* Formatting rules are being moved out of ESLint core.
|
845
|
-
* Please, use [`function-paren-newline`](https://eslint.style/rules/
|
845
|
+
* Please, use [`function-paren-newline`](https://eslint.style/rules/function-paren-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
846
846
|
* @see https://eslint.org/docs/latest/rules/function-paren-newline
|
847
847
|
*/
|
848
848
|
"function-paren-newline": Linter.RuleEntry<
|
@@ -864,7 +864,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
864
864
|
* @since 0.17.0
|
865
865
|
* @deprecated since 8.53.0.
|
866
866
|
* Formatting rules are being moved out of ESLint core.
|
867
|
-
* Please, use [`generator-star-spacing`](https://eslint.style/rules/
|
867
|
+
* Please, use [`generator-star-spacing`](https://eslint.style/rules/generator-star-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
868
868
|
* @see https://eslint.org/docs/latest/rules/generator-star-spacing
|
869
869
|
*/
|
870
870
|
"generator-star-spacing": Linter.RuleEntry<
|
@@ -1044,7 +1044,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1044
1044
|
* @since 4.12.0
|
1045
1045
|
* @deprecated since 8.53.0.
|
1046
1046
|
* Formatting rules are being moved out of ESLint core.
|
1047
|
-
* Please, use [`implicit-arrow-linebreak`](https://eslint.style/rules/
|
1047
|
+
* Please, use [`implicit-arrow-linebreak`](https://eslint.style/rules/implicit-arrow-linebreak) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1048
1048
|
* @see https://eslint.org/docs/latest/rules/implicit-arrow-linebreak
|
1049
1049
|
*/
|
1050
1050
|
"implicit-arrow-linebreak": Linter.RuleEntry<["beside" | "below"]>;
|
@@ -1055,7 +1055,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1055
1055
|
* @since 0.14.0
|
1056
1056
|
* @deprecated since 8.53.0.
|
1057
1057
|
* Formatting rules are being moved out of ESLint core.
|
1058
|
-
* Please, use [`indent`](https://eslint.style/rules/
|
1058
|
+
* Please, use [`indent`](https://eslint.style/rules/indent) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1059
1059
|
* @see https://eslint.org/docs/latest/rules/indent
|
1060
1060
|
*/
|
1061
1061
|
indent: Linter.RuleEntry<
|
@@ -1160,7 +1160,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1160
1160
|
* @since 4.0.0-alpha.0
|
1161
1161
|
* @deprecated since 4.0.0.
|
1162
1162
|
* Formatting rules are being moved out of ESLint core.
|
1163
|
-
* Please, use [`indent`](https://eslint.style/rules/
|
1163
|
+
* Please, use [`indent`](https://eslint.style/rules/indent) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1164
1164
|
* @see https://eslint.org/docs/latest/rules/indent-legacy
|
1165
1165
|
*/
|
1166
1166
|
"indent-legacy": Linter.RuleEntry<
|
@@ -1282,7 +1282,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1282
1282
|
* @since 1.4.0
|
1283
1283
|
* @deprecated since 8.53.0.
|
1284
1284
|
* Formatting rules are being moved out of ESLint core.
|
1285
|
-
* Please, use [`jsx-quotes`](https://eslint.style/rules/
|
1285
|
+
* Please, use [`jsx-quotes`](https://eslint.style/rules/jsx-quotes) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1286
1286
|
* @see https://eslint.org/docs/latest/rules/jsx-quotes
|
1287
1287
|
*/
|
1288
1288
|
"jsx-quotes": Linter.RuleEntry<["prefer-double" | "prefer-single"]>;
|
@@ -1293,7 +1293,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1293
1293
|
* @since 0.9.0
|
1294
1294
|
* @deprecated since 8.53.0.
|
1295
1295
|
* Formatting rules are being moved out of ESLint core.
|
1296
|
-
* Please, use [`key-spacing`](https://eslint.style/rules/
|
1296
|
+
* Please, use [`key-spacing`](https://eslint.style/rules/key-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1297
1297
|
* @see https://eslint.org/docs/latest/rules/key-spacing
|
1298
1298
|
*/
|
1299
1299
|
"key-spacing": Linter.RuleEntry<
|
@@ -1451,7 +1451,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1451
1451
|
* @since 2.0.0-beta.1
|
1452
1452
|
* @deprecated since 8.53.0.
|
1453
1453
|
* Formatting rules are being moved out of ESLint core.
|
1454
|
-
* Please, use [`keyword-spacing`](https://eslint.style/rules/
|
1454
|
+
* Please, use [`keyword-spacing`](https://eslint.style/rules/keyword-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1455
1455
|
* @see https://eslint.org/docs/latest/rules/keyword-spacing
|
1456
1456
|
*/
|
1457
1457
|
"keyword-spacing": Linter.RuleEntry<
|
@@ -1482,7 +1482,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1482
1482
|
* @since 3.5.0
|
1483
1483
|
* @deprecated since 9.3.0.
|
1484
1484
|
* Formatting rules are being moved out of ESLint core.
|
1485
|
-
* Please, use [`line-comment-position`](https://eslint.style/rules/
|
1485
|
+
* Please, use [`line-comment-position`](https://eslint.style/rules/line-comment-position) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1486
1486
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
1487
1487
|
*/
|
1488
1488
|
"line-comment-position": Linter.RuleEntry<
|
@@ -1507,7 +1507,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1507
1507
|
* @since 0.21.0
|
1508
1508
|
* @deprecated since 8.53.0.
|
1509
1509
|
* Formatting rules are being moved out of ESLint core.
|
1510
|
-
* Please, use [`linebreak-style`](https://eslint.style/rules/
|
1510
|
+
* Please, use [`linebreak-style`](https://eslint.style/rules/linebreak-style) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1511
1511
|
* @see https://eslint.org/docs/latest/rules/linebreak-style
|
1512
1512
|
*/
|
1513
1513
|
"linebreak-style": Linter.RuleEntry<["unix" | "windows"]>;
|
@@ -1518,7 +1518,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1518
1518
|
* @since 0.22.0
|
1519
1519
|
* @deprecated since 8.53.0.
|
1520
1520
|
* Formatting rules are being moved out of ESLint core.
|
1521
|
-
* Please, use [`lines-around-comment`](https://eslint.style/rules/
|
1521
|
+
* Please, use [`lines-around-comment`](https://eslint.style/rules/lines-around-comment) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1522
1522
|
* @see https://eslint.org/docs/latest/rules/lines-around-comment
|
1523
1523
|
*/
|
1524
1524
|
"lines-around-comment": Linter.RuleEntry<
|
@@ -1587,7 +1587,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1587
1587
|
* @since 3.5.0
|
1588
1588
|
* @deprecated since 4.0.0.
|
1589
1589
|
* The rule was replaced with a more general rule.
|
1590
|
-
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/
|
1590
|
+
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/padding-line-between-statements) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1591
1591
|
* @see https://eslint.org/docs/latest/rules/lines-around-directive
|
1592
1592
|
*/
|
1593
1593
|
"lines-around-directive": Linter.RuleEntry<["always" | "never"]>;
|
@@ -1598,7 +1598,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1598
1598
|
* @since 4.9.0
|
1599
1599
|
* @deprecated since 8.53.0.
|
1600
1600
|
* Formatting rules are being moved out of ESLint core.
|
1601
|
-
* Please, use [`lines-between-class-members`](https://eslint.style/rules/
|
1601
|
+
* Please, use [`lines-between-class-members`](https://eslint.style/rules/lines-between-class-members) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1602
1602
|
* @see https://eslint.org/docs/latest/rules/lines-between-class-members
|
1603
1603
|
*/
|
1604
1604
|
"lines-between-class-members": Linter.RuleEntry<
|
@@ -1674,7 +1674,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1674
1674
|
* @since 0.0.9
|
1675
1675
|
* @deprecated since 8.53.0.
|
1676
1676
|
* Formatting rules are being moved out of ESLint core.
|
1677
|
-
* Please, use [`max-len`](https://eslint.style/rules/
|
1677
|
+
* Please, use [`max-len`](https://eslint.style/rules/max-len) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1678
1678
|
* @see https://eslint.org/docs/latest/rules/max-len
|
1679
1679
|
*/
|
1680
1680
|
"max-len": Linter.RuleEntry<
|
@@ -1841,7 +1841,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1841
1841
|
* @since 2.5.0
|
1842
1842
|
* @deprecated since 8.53.0.
|
1843
1843
|
* Formatting rules are being moved out of ESLint core.
|
1844
|
-
* Please, use [`max-statements-per-line`](https://eslint.style/rules/
|
1844
|
+
* Please, use [`max-statements-per-line`](https://eslint.style/rules/max-statements-per-line) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1845
1845
|
* @see https://eslint.org/docs/latest/rules/max-statements-per-line
|
1846
1846
|
*/
|
1847
1847
|
"max-statements-per-line": Linter.RuleEntry<
|
@@ -1862,7 +1862,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1862
1862
|
* @since 4.10.0
|
1863
1863
|
* @deprecated since 9.3.0.
|
1864
1864
|
* Formatting rules are being moved out of ESLint core.
|
1865
|
-
* Please, use [`multiline-comment-style`](https://eslint.style/rules/
|
1865
|
+
* Please, use [`multiline-comment-style`](https://eslint.style/rules/multiline-comment-style) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1866
1866
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
1867
1867
|
*/
|
1868
1868
|
"multiline-comment-style": Linter.RuleEntry<
|
@@ -1875,7 +1875,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1875
1875
|
* @since 3.1.0
|
1876
1876
|
* @deprecated since 8.53.0.
|
1877
1877
|
* Formatting rules are being moved out of ESLint core.
|
1878
|
-
* Please, use [`multiline-ternary`](https://eslint.style/rules/
|
1878
|
+
* Please, use [`multiline-ternary`](https://eslint.style/rules/multiline-ternary) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1879
1879
|
* @see https://eslint.org/docs/latest/rules/multiline-ternary
|
1880
1880
|
*/
|
1881
1881
|
"multiline-ternary": Linter.RuleEntry<
|
@@ -1917,7 +1917,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1917
1917
|
* @since 0.0.6
|
1918
1918
|
* @deprecated since 8.53.0.
|
1919
1919
|
* Formatting rules are being moved out of ESLint core.
|
1920
|
-
* Please, use [`new-parens`](https://eslint.style/rules/
|
1920
|
+
* Please, use [`new-parens`](https://eslint.style/rules/new-parens) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1921
1921
|
* @see https://eslint.org/docs/latest/rules/new-parens
|
1922
1922
|
*/
|
1923
1923
|
"new-parens": Linter.RuleEntry<["always" | "never"]>;
|
@@ -1928,7 +1928,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1928
1928
|
* @since 0.18.0
|
1929
1929
|
* @deprecated since 4.0.0.
|
1930
1930
|
* The rule was replaced with a more general rule.
|
1931
|
-
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/
|
1931
|
+
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/padding-line-between-statements) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1932
1932
|
* @see https://eslint.org/docs/latest/rules/newline-after-var
|
1933
1933
|
*/
|
1934
1934
|
"newline-after-var": Linter.RuleEntry<["always" | "never"]>;
|
@@ -1939,7 +1939,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1939
1939
|
* @since 2.3.0
|
1940
1940
|
* @deprecated since 4.0.0.
|
1941
1941
|
* The rule was replaced with a more general rule.
|
1942
|
-
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/
|
1942
|
+
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/padding-line-between-statements) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1943
1943
|
* @see https://eslint.org/docs/latest/rules/newline-before-return
|
1944
1944
|
*/
|
1945
1945
|
"newline-before-return": Linter.RuleEntry<[]>;
|
@@ -1950,7 +1950,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
1950
1950
|
* @since 2.0.0-rc.0
|
1951
1951
|
* @deprecated since 8.53.0.
|
1952
1952
|
* Formatting rules are being moved out of ESLint core.
|
1953
|
-
* Please, use [`newline-per-chained-call`](https://eslint.style/rules/
|
1953
|
+
* Please, use [`newline-per-chained-call`](https://eslint.style/rules/newline-per-chained-call) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
1954
1954
|
* @see https://eslint.org/docs/latest/rules/newline-per-chained-call
|
1955
1955
|
*/
|
1956
1956
|
"newline-per-chained-call": Linter.RuleEntry<
|
@@ -2097,7 +2097,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2097
2097
|
* @since 2.0.0-alpha-2
|
2098
2098
|
* @deprecated since 8.53.0.
|
2099
2099
|
* Formatting rules are being moved out of ESLint core.
|
2100
|
-
* Please, use [`no-confusing-arrow`](https://eslint.style/rules/
|
2100
|
+
* Please, use [`no-confusing-arrow`](https://eslint.style/rules/no-confusing-arrow) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2101
2101
|
* @see https://eslint.org/docs/latest/rules/no-confusing-arrow
|
2102
2102
|
*/
|
2103
2103
|
"no-confusing-arrow": Linter.RuleEntry<
|
@@ -2292,6 +2292,10 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2292
2292
|
* @default false
|
2293
2293
|
*/
|
2294
2294
|
includeExports: boolean;
|
2295
|
+
/**
|
2296
|
+
* @default false
|
2297
|
+
*/
|
2298
|
+
allowSeparateTypeImports: boolean;
|
2295
2299
|
}>,
|
2296
2300
|
]
|
2297
2301
|
>;
|
@@ -2504,7 +2508,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2504
2508
|
* @since 0.1.4
|
2505
2509
|
* @deprecated since 8.53.0.
|
2506
2510
|
* Formatting rules are being moved out of ESLint core.
|
2507
|
-
* Please, use [`no-extra-parens`](https://eslint.style/rules/
|
2511
|
+
* Please, use [`no-extra-parens`](https://eslint.style/rules/no-extra-parens) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2508
2512
|
* @see https://eslint.org/docs/latest/rules/no-extra-parens
|
2509
2513
|
*/
|
2510
2514
|
"no-extra-parens":
|
@@ -2547,7 +2551,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2547
2551
|
* @since 0.0.9
|
2548
2552
|
* @deprecated since 8.53.0.
|
2549
2553
|
* Formatting rules are being moved out of ESLint core.
|
2550
|
-
* Please, use [`no-extra-semi`](https://eslint.style/rules/
|
2554
|
+
* Please, use [`no-extra-semi`](https://eslint.style/rules/no-extra-semi) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2551
2555
|
* @see https://eslint.org/docs/latest/rules/no-extra-semi
|
2552
2556
|
*/
|
2553
2557
|
"no-extra-semi": Linter.RuleEntry<[]>;
|
@@ -2586,7 +2590,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2586
2590
|
* @since 0.0.6
|
2587
2591
|
* @deprecated since 8.53.0.
|
2588
2592
|
* Formatting rules are being moved out of ESLint core.
|
2589
|
-
* Please, use [`no-floating-decimal`](https://eslint.style/rules/
|
2593
|
+
* Please, use [`no-floating-decimal`](https://eslint.style/rules/no-floating-decimal) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2590
2594
|
* @see https://eslint.org/docs/latest/rules/no-floating-decimal
|
2591
2595
|
*/
|
2592
2596
|
"no-floating-decimal": Linter.RuleEntry<[]>;
|
@@ -2905,7 +2909,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2905
2909
|
* @since 2.12.0
|
2906
2910
|
* @deprecated since 8.53.0.
|
2907
2911
|
* Formatting rules are being moved out of ESLint core.
|
2908
|
-
* Please, use [`no-mixed-operators`](https://eslint.style/rules/
|
2912
|
+
* Please, use [`no-mixed-operators`](https://eslint.style/rules/no-mixed-operators) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2909
2913
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
2910
2914
|
*/
|
2911
2915
|
"no-mixed-operators": Linter.RuleEntry<
|
@@ -2960,7 +2964,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2960
2964
|
* @since 0.7.1
|
2961
2965
|
* @deprecated since 8.53.0.
|
2962
2966
|
* Formatting rules are being moved out of ESLint core.
|
2963
|
-
* Please, use [`no-mixed-spaces-and-tabs`](https://eslint.style/rules/
|
2967
|
+
* Please, use [`no-mixed-spaces-and-tabs`](https://eslint.style/rules/no-mixed-spaces-and-tabs) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2964
2968
|
* @see https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs
|
2965
2969
|
*/
|
2966
2970
|
"no-mixed-spaces-and-tabs": Linter.RuleEntry<["smart-tabs"]>;
|
@@ -2979,7 +2983,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
2979
2983
|
* @since 0.9.0
|
2980
2984
|
* @deprecated since 8.53.0.
|
2981
2985
|
* Formatting rules are being moved out of ESLint core.
|
2982
|
-
* Please, use [`no-multi-spaces`](https://eslint.style/rules/
|
2986
|
+
* Please, use [`no-multi-spaces`](https://eslint.style/rules/no-multi-spaces) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
2983
2987
|
* @see https://eslint.org/docs/latest/rules/no-multi-spaces
|
2984
2988
|
*/
|
2985
2989
|
"no-multi-spaces": Linter.RuleEntry<
|
@@ -3011,7 +3015,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
3011
3015
|
* @since 0.9.0
|
3012
3016
|
* @deprecated since 8.53.0.
|
3013
3017
|
* Formatting rules are being moved out of ESLint core.
|
3014
|
-
* Please, use [`no-multiple-empty-lines`](https://eslint.style/rules/
|
3018
|
+
* Please, use [`no-multiple-empty-lines`](https://eslint.style/rules/no-multiple-empty-lines) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
3015
3019
|
* @see https://eslint.org/docs/latest/rules/no-multiple-empty-lines
|
3016
3020
|
*/
|
3017
3021
|
"no-multiple-empty-lines": Linter.RuleEntry<
|
@@ -3637,7 +3641,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
3637
3641
|
* @since 0.1.2
|
3638
3642
|
* @deprecated since 3.3.0.
|
3639
3643
|
* Formatting rules are being moved out of ESLint core.
|
3640
|
-
* Please, use [`function-call-spacing`](https://eslint.style/rules/
|
3644
|
+
* Please, use [`function-call-spacing`](https://eslint.style/rules/function-call-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
3641
3645
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
3642
3646
|
*/
|
3643
3647
|
"no-spaced-func": Linter.RuleEntry<[]>;
|
@@ -3679,7 +3683,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
3679
3683
|
* @since 3.2.0
|
3680
3684
|
* @deprecated since 8.53.0.
|
3681
3685
|
* Formatting rules are being moved out of ESLint core.
|
3682
|
-
* Please, use [`no-tabs`](https://eslint.style/rules/
|
3686
|
+
* Please, use [`no-tabs`](https://eslint.style/rules/no-tabs) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
3683
3687
|
* @see https://eslint.org/docs/latest/rules/no-tabs
|
3684
3688
|
*/
|
3685
3689
|
"no-tabs": Linter.RuleEntry<
|
@@ -3734,7 +3738,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
3734
3738
|
* @since 0.7.1
|
3735
3739
|
* @deprecated since 8.53.0.
|
3736
3740
|
* Formatting rules are being moved out of ESLint core.
|
3737
|
-
* Please, use [`no-trailing-spaces`](https://eslint.style/rules/
|
3741
|
+
* Please, use [`no-trailing-spaces`](https://eslint.style/rules/no-trailing-spaces) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
3738
3742
|
* @see https://eslint.org/docs/latest/rules/no-trailing-spaces
|
3739
3743
|
*/
|
3740
3744
|
"no-trailing-spaces": Linter.RuleEntry<
|
@@ -4285,7 +4289,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4285
4289
|
* @since 2.0.0-beta.1
|
4286
4290
|
* @deprecated since 8.53.0.
|
4287
4291
|
* Formatting rules are being moved out of ESLint core.
|
4288
|
-
* Please, use [`no-whitespace-before-property`](https://eslint.style/rules/
|
4292
|
+
* Please, use [`no-whitespace-before-property`](https://eslint.style/rules/no-whitespace-before-property) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4289
4293
|
* @see https://eslint.org/docs/latest/rules/no-whitespace-before-property
|
4290
4294
|
*/
|
4291
4295
|
"no-whitespace-before-property": Linter.RuleEntry<[]>;
|
@@ -4307,7 +4311,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4307
4311
|
* @since 3.17.0
|
4308
4312
|
* @deprecated since 8.53.0.
|
4309
4313
|
* Formatting rules are being moved out of ESLint core.
|
4310
|
-
* Please, use [`nonblock-statement-body-position`](https://eslint.style/rules/
|
4314
|
+
* Please, use [`nonblock-statement-body-position`](https://eslint.style/rules/nonblock-statement-body-position) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4311
4315
|
* @see https://eslint.org/docs/latest/rules/nonblock-statement-body-position
|
4312
4316
|
*/
|
4313
4317
|
"nonblock-statement-body-position": Linter.RuleEntry<
|
@@ -4325,7 +4329,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4325
4329
|
* @since 2.12.0
|
4326
4330
|
* @deprecated since 8.53.0.
|
4327
4331
|
* Formatting rules are being moved out of ESLint core.
|
4328
|
-
* Please, use [`object-curly-newline`](https://eslint.style/rules/
|
4332
|
+
* Please, use [`object-curly-newline`](https://eslint.style/rules/object-curly-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4329
4333
|
* @see https://eslint.org/docs/latest/rules/object-curly-newline
|
4330
4334
|
*/
|
4331
4335
|
"object-curly-newline": Linter.RuleEntry<
|
@@ -4373,7 +4377,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4373
4377
|
* @since 0.22.0
|
4374
4378
|
* @deprecated since 8.53.0.
|
4375
4379
|
* Formatting rules are being moved out of ESLint core.
|
4376
|
-
* Please, use [`object-curly-spacing`](https://eslint.style/rules/
|
4380
|
+
* Please, use [`object-curly-spacing`](https://eslint.style/rules/object-curly-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4377
4381
|
* @see https://eslint.org/docs/latest/rules/object-curly-spacing
|
4378
4382
|
*/
|
4379
4383
|
"object-curly-spacing":
|
@@ -4414,7 +4418,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4414
4418
|
* @since 2.10.0
|
4415
4419
|
* @deprecated since 8.53.0.
|
4416
4420
|
* Formatting rules are being moved out of ESLint core.
|
4417
|
-
* Please, use [`object-property-newline`](https://eslint.style/rules/
|
4421
|
+
* Please, use [`object-property-newline`](https://eslint.style/rules/object-property-newline) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4418
4422
|
* @see https://eslint.org/docs/latest/rules/object-property-newline
|
4419
4423
|
*/
|
4420
4424
|
"object-property-newline": Linter.RuleEntry<
|
@@ -4508,7 +4512,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4508
4512
|
* @since 2.0.0-beta.3
|
4509
4513
|
* @deprecated since 8.53.0.
|
4510
4514
|
* Formatting rules are being moved out of ESLint core.
|
4511
|
-
* Please, use [`one-var-declaration-per-line`](https://eslint.style/rules/
|
4515
|
+
* Please, use [`one-var-declaration-per-line`](https://eslint.style/rules/one-var-declaration-per-line) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4512
4516
|
* @see https://eslint.org/docs/latest/rules/one-var-declaration-per-line
|
4513
4517
|
*/
|
4514
4518
|
"one-var-declaration-per-line": Linter.RuleEntry<
|
@@ -4529,7 +4533,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4529
4533
|
* @since 0.19.0
|
4530
4534
|
* @deprecated since 8.53.0.
|
4531
4535
|
* Formatting rules are being moved out of ESLint core.
|
4532
|
-
* Please, use [`operator-linebreak`](https://eslint.style/rules/
|
4536
|
+
* Please, use [`operator-linebreak`](https://eslint.style/rules/operator-linebreak) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4533
4537
|
* @see https://eslint.org/docs/latest/rules/operator-linebreak
|
4534
4538
|
*/
|
4535
4539
|
"operator-linebreak": Linter.RuleEntry<
|
@@ -4547,7 +4551,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4547
4551
|
* @since 0.9.0
|
4548
4552
|
* @deprecated since 8.53.0.
|
4549
4553
|
* Formatting rules are being moved out of ESLint core.
|
4550
|
-
* Please, use [`padded-blocks`](https://eslint.style/rules/
|
4554
|
+
* Please, use [`padded-blocks`](https://eslint.style/rules/padded-blocks) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4551
4555
|
* @see https://eslint.org/docs/latest/rules/padded-blocks
|
4552
4556
|
*/
|
4553
4557
|
"padded-blocks": Linter.RuleEntry<
|
@@ -4577,7 +4581,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4577
4581
|
* @since 4.0.0-beta.0
|
4578
4582
|
* @deprecated since 8.53.0.
|
4579
4583
|
* Formatting rules are being moved out of ESLint core.
|
4580
|
-
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/
|
4584
|
+
* Please, use [`padding-line-between-statements`](https://eslint.style/rules/padding-line-between-statements) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4581
4585
|
* @see https://eslint.org/docs/latest/rules/padding-line-between-statements
|
4582
4586
|
*/
|
4583
4587
|
"padding-line-between-statements": Linter.RuleEntry<
|
@@ -4782,7 +4786,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4782
4786
|
* @since 0.0.6
|
4783
4787
|
* @deprecated since 8.53.0.
|
4784
4788
|
* Formatting rules are being moved out of ESLint core.
|
4785
|
-
* Please, use [`quote-props`](https://eslint.style/rules/
|
4789
|
+
* Please, use [`quote-props`](https://eslint.style/rules/quote-props) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4786
4790
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
4787
4791
|
*/
|
4788
4792
|
"quote-props":
|
@@ -4824,7 +4828,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4824
4828
|
* @since 0.0.7
|
4825
4829
|
* @deprecated since 8.53.0.
|
4826
4830
|
* Formatting rules are being moved out of ESLint core.
|
4827
|
-
* Please, use [`quotes`](https://eslint.style/rules/
|
4831
|
+
* Please, use [`quotes`](https://eslint.style/rules/quotes) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4828
4832
|
* @see https://eslint.org/docs/latest/rules/quotes
|
4829
4833
|
*/
|
4830
4834
|
quotes: Linter.RuleEntry<
|
@@ -4911,7 +4915,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4911
4915
|
* @since 2.12.0
|
4912
4916
|
* @deprecated since 8.53.0.
|
4913
4917
|
* Formatting rules are being moved out of ESLint core.
|
4914
|
-
* Please, use [`rest-spread-spacing`](https://eslint.style/rules/
|
4918
|
+
* Please, use [`rest-spread-spacing`](https://eslint.style/rules/rest-spread-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4915
4919
|
* @see https://eslint.org/docs/latest/rules/rest-spread-spacing
|
4916
4920
|
*/
|
4917
4921
|
"rest-spread-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -4922,7 +4926,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4922
4926
|
* @since 0.0.6
|
4923
4927
|
* @deprecated since 8.53.0.
|
4924
4928
|
* Formatting rules are being moved out of ESLint core.
|
4925
|
-
* Please, use [`semi`](https://eslint.style/rules/
|
4929
|
+
* Please, use [`semi`](https://eslint.style/rules/semi) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4926
4930
|
* @see https://eslint.org/docs/latest/rules/semi
|
4927
4931
|
*/
|
4928
4932
|
semi:
|
@@ -4958,7 +4962,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4958
4962
|
* @since 0.16.0
|
4959
4963
|
* @deprecated since 8.53.0.
|
4960
4964
|
* Formatting rules are being moved out of ESLint core.
|
4961
|
-
* Please, use [`semi-spacing`](https://eslint.style/rules/
|
4965
|
+
* Please, use [`semi-spacing`](https://eslint.style/rules/semi-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4962
4966
|
* @see https://eslint.org/docs/latest/rules/semi-spacing
|
4963
4967
|
*/
|
4964
4968
|
"semi-spacing": Linter.RuleEntry<
|
@@ -4982,7 +4986,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
4982
4986
|
* @since 4.0.0-beta.0
|
4983
4987
|
* @deprecated since 8.53.0.
|
4984
4988
|
* Formatting rules are being moved out of ESLint core.
|
4985
|
-
* Please, use [`semi-style`](https://eslint.style/rules/
|
4989
|
+
* Please, use [`semi-style`](https://eslint.style/rules/semi-style) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
4986
4990
|
* @see https://eslint.org/docs/latest/rules/semi-style
|
4987
4991
|
*/
|
4988
4992
|
"semi-style": Linter.RuleEntry<["last" | "first"]>;
|
@@ -5079,7 +5083,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5079
5083
|
* @since 0.9.0
|
5080
5084
|
* @deprecated since 8.53.0.
|
5081
5085
|
* Formatting rules are being moved out of ESLint core.
|
5082
|
-
* Please, use [`space-before-blocks`](https://eslint.style/rules/
|
5086
|
+
* Please, use [`space-before-blocks`](https://eslint.style/rules/space-before-blocks) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5083
5087
|
* @see https://eslint.org/docs/latest/rules/space-before-blocks
|
5084
5088
|
*/
|
5085
5089
|
"space-before-blocks": Linter.RuleEntry<
|
@@ -5101,7 +5105,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5101
5105
|
* @since 0.18.0
|
5102
5106
|
* @deprecated since 8.53.0.
|
5103
5107
|
* Formatting rules are being moved out of ESLint core.
|
5104
|
-
* Please, use [`space-before-function-paren`](https://eslint.style/rules/
|
5108
|
+
* Please, use [`space-before-function-paren`](https://eslint.style/rules/space-before-function-paren) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5105
5109
|
* @see https://eslint.org/docs/latest/rules/space-before-function-paren
|
5106
5110
|
*/
|
5107
5111
|
"space-before-function-paren": Linter.RuleEntry<
|
@@ -5123,7 +5127,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5123
5127
|
* @since 0.8.0
|
5124
5128
|
* @deprecated since 8.53.0.
|
5125
5129
|
* Formatting rules are being moved out of ESLint core.
|
5126
|
-
* Please, use [`space-in-parens`](https://eslint.style/rules/
|
5130
|
+
* Please, use [`space-in-parens`](https://eslint.style/rules/space-in-parens) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5127
5131
|
* @see https://eslint.org/docs/latest/rules/space-in-parens
|
5128
5132
|
*/
|
5129
5133
|
"space-in-parens": Linter.RuleEntry<
|
@@ -5141,7 +5145,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5141
5145
|
* @since 0.2.0
|
5142
5146
|
* @deprecated since 8.53.0.
|
5143
5147
|
* Formatting rules are being moved out of ESLint core.
|
5144
|
-
* Please, use [`space-infix-ops`](https://eslint.style/rules/
|
5148
|
+
* Please, use [`space-infix-ops`](https://eslint.style/rules/space-infix-ops) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5145
5149
|
* @see https://eslint.org/docs/latest/rules/space-infix-ops
|
5146
5150
|
*/
|
5147
5151
|
"space-infix-ops": Linter.RuleEntry<
|
@@ -5161,7 +5165,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5161
5165
|
* @since 0.10.0
|
5162
5166
|
* @deprecated since 8.53.0.
|
5163
5167
|
* Formatting rules are being moved out of ESLint core.
|
5164
|
-
* Please, use [`space-unary-ops`](https://eslint.style/rules/
|
5168
|
+
* Please, use [`space-unary-ops`](https://eslint.style/rules/space-unary-ops) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5165
5169
|
* @see https://eslint.org/docs/latest/rules/space-unary-ops
|
5166
5170
|
*/
|
5167
5171
|
"space-unary-ops": Linter.RuleEntry<
|
@@ -5186,7 +5190,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5186
5190
|
* @since 0.23.0
|
5187
5191
|
* @deprecated since 8.53.0.
|
5188
5192
|
* Formatting rules are being moved out of ESLint core.
|
5189
|
-
* Please, use [`spaced-comment`](https://eslint.style/rules/
|
5193
|
+
* Please, use [`spaced-comment`](https://eslint.style/rules/spaced-comment) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5190
5194
|
* @see https://eslint.org/docs/latest/rules/spaced-comment
|
5191
5195
|
*/
|
5192
5196
|
"spaced-comment": Linter.RuleEntry<
|
@@ -5225,7 +5229,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5225
5229
|
* @since 4.0.0-beta.0
|
5226
5230
|
* @deprecated since 8.53.0.
|
5227
5231
|
* Formatting rules are being moved out of ESLint core.
|
5228
|
-
* Please, use [`switch-colon-spacing`](https://eslint.style/rules/
|
5232
|
+
* Please, use [`switch-colon-spacing`](https://eslint.style/rules/switch-colon-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5229
5233
|
* @see https://eslint.org/docs/latest/rules/switch-colon-spacing
|
5230
5234
|
*/
|
5231
5235
|
"switch-colon-spacing": Linter.RuleEntry<
|
@@ -5257,7 +5261,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5257
5261
|
* @since 2.0.0-rc.0
|
5258
5262
|
* @deprecated since 8.53.0.
|
5259
5263
|
* Formatting rules are being moved out of ESLint core.
|
5260
|
-
* Please, use [`template-curly-spacing`](https://eslint.style/rules/
|
5264
|
+
* Please, use [`template-curly-spacing`](https://eslint.style/rules/template-curly-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5261
5265
|
* @see https://eslint.org/docs/latest/rules/template-curly-spacing
|
5262
5266
|
*/
|
5263
5267
|
"template-curly-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -5268,7 +5272,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5268
5272
|
* @since 3.15.0
|
5269
5273
|
* @deprecated since 8.53.0.
|
5270
5274
|
* Formatting rules are being moved out of ESLint core.
|
5271
|
-
* Please, use [`template-tag-spacing`](https://eslint.style/rules/
|
5275
|
+
* Please, use [`template-tag-spacing`](https://eslint.style/rules/template-tag-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5272
5276
|
* @see https://eslint.org/docs/latest/rules/template-tag-spacing
|
5273
5277
|
*/
|
5274
5278
|
"template-tag-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -5339,7 +5343,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5339
5343
|
* @since 0.0.9
|
5340
5344
|
* @deprecated since 8.53.0.
|
5341
5345
|
* Formatting rules are being moved out of ESLint core.
|
5342
|
-
* Please, use [`wrap-iife`](https://eslint.style/rules/
|
5346
|
+
* Please, use [`wrap-iife`](https://eslint.style/rules/wrap-iife) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5343
5347
|
* @see https://eslint.org/docs/latest/rules/wrap-iife
|
5344
5348
|
*/
|
5345
5349
|
"wrap-iife": Linter.RuleEntry<
|
@@ -5360,7 +5364,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5360
5364
|
* @since 0.1.0
|
5361
5365
|
* @deprecated since 8.53.0.
|
5362
5366
|
* Formatting rules are being moved out of ESLint core.
|
5363
|
-
* Please, use [`wrap-regex`](https://eslint.style/rules/
|
5367
|
+
* Please, use [`wrap-regex`](https://eslint.style/rules/wrap-regex) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5364
5368
|
* @see https://eslint.org/docs/latest/rules/wrap-regex
|
5365
5369
|
*/
|
5366
5370
|
"wrap-regex": Linter.RuleEntry<[]>;
|
@@ -5371,7 +5375,7 @@ export interface ESLintRules extends Linter.RulesRecord {
|
|
5371
5375
|
* @since 2.0.0-alpha-1
|
5372
5376
|
* @deprecated since 8.53.0.
|
5373
5377
|
* Formatting rules are being moved out of ESLint core.
|
5374
|
-
* Please, use [`yield-star-spacing`](https://eslint.style/rules/
|
5378
|
+
* Please, use [`yield-star-spacing`](https://eslint.style/rules/yield-star-spacing) in [`@stylistic/eslint-plugin`](https://eslint.style).
|
5375
5379
|
* @see https://eslint.org/docs/latest/rules/yield-star-spacing
|
5376
5380
|
*/
|
5377
5381
|
"yield-star-spacing": Linter.RuleEntry<
|