immosquare-cleaner 0.1.50 → 0.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/rubocop-3.3.4.yml +2 -0
- data/linters/rubocop.yml +2 -0
- data/node_modules/@eslint/core/README.md +10 -11
- data/node_modules/@eslint/core/dist/cjs/types.d.cts +4 -0
- data/node_modules/@eslint/core/dist/esm/types.d.ts +4 -0
- data/node_modules/@eslint/core/package.json +1 -1
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/eslint/README.md +7 -8
- data/node_modules/eslint/bin/eslint.js +5 -0
- data/node_modules/eslint/lib/cli.js +13 -12
- data/node_modules/eslint/lib/config/config-loader.js +16 -7
- data/node_modules/eslint/lib/config/config.js +13 -10
- data/node_modules/eslint/lib/config/default-config.js +2 -8
- data/node_modules/eslint/lib/eslint/eslint.js +11 -0
- data/node_modules/eslint/lib/languages/js/index.js +8 -0
- data/node_modules/eslint/lib/linter/linter.js +16 -19
- data/node_modules/eslint/lib/rule-tester/rule-tester.js +6 -16
- data/node_modules/eslint/lib/types/index.d.ts +12 -0
- data/node_modules/eslint/lib/types/rules/best-practices.d.ts +33 -2
- data/node_modules/eslint/lib/types/rules/deprecated.d.ts +18 -77
- data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +22 -6
- data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +2 -0
- data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +68 -5
- data/node_modules/eslint/lib/types/rules/variables.d.ts +9 -1
- data/node_modules/eslint/package.json +5 -4
- data/node_modules/npm-check-updates/build/index.js +266 -266
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +1 -1
- data/package.json +3 -3
- metadata +2 -2
@@ -191,6 +191,24 @@ export interface Deprecated extends Linter.RulesRecord {
|
|
191
191
|
*/
|
192
192
|
"no-negated-in-lhs": Linter.RuleEntry<[]>;
|
193
193
|
|
194
|
+
/**
|
195
|
+
* Rule to disallow `Object` constructors.
|
196
|
+
*
|
197
|
+
* @since 0.0.9
|
198
|
+
* @deprecated since 8.50.0, use [`no-object-constructor`](https://eslint.org/docs/rules/no-object-constructor) instead.
|
199
|
+
* @see https://eslint.org/docs/rules/no-object-constructor
|
200
|
+
*/
|
201
|
+
"no-new-object": Linter.RuleEntry<[]>;
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Rule to disallow `new` operators with the `Symbol` object.
|
205
|
+
*
|
206
|
+
* @since 2.0.0-beta.1
|
207
|
+
* @deprecated since 8.27.0, use [`no-new-native-nonconstructor`](https://eslint.org/docs/rules/no-new-native-nonconstructor) instead.
|
208
|
+
* @see https://eslint.org/docs/rules/no-new-symbol
|
209
|
+
*/
|
210
|
+
"no-new-symbol": Linter.RuleEntry<[]>;
|
211
|
+
|
194
212
|
/**
|
195
213
|
* Rule to disallow spacing between function identifiers and their applications.
|
196
214
|
*
|
@@ -214,81 +232,4 @@ export interface Deprecated extends Linter.RulesRecord {
|
|
214
232
|
}>,
|
215
233
|
]
|
216
234
|
>;
|
217
|
-
|
218
|
-
/**
|
219
|
-
* Rule to require JSDoc comments.
|
220
|
-
*
|
221
|
-
* @since 1.4.0
|
222
|
-
* @deprecated since 5.10.0
|
223
|
-
* @see https://eslint.org/docs/rules/require-jsdoc
|
224
|
-
*/
|
225
|
-
"require-jsdoc": Linter.RuleEntry<
|
226
|
-
[
|
227
|
-
Partial<{
|
228
|
-
require: Partial<{
|
229
|
-
/**
|
230
|
-
* @default true
|
231
|
-
*/
|
232
|
-
FunctionDeclaration: boolean;
|
233
|
-
/**
|
234
|
-
* @default false
|
235
|
-
*/
|
236
|
-
MethodDefinition: boolean;
|
237
|
-
/**
|
238
|
-
* @default false
|
239
|
-
*/
|
240
|
-
ClassDeclaration: boolean;
|
241
|
-
/**
|
242
|
-
* @default false
|
243
|
-
*/
|
244
|
-
ArrowFunctionExpression: boolean;
|
245
|
-
/**
|
246
|
-
* @default false
|
247
|
-
*/
|
248
|
-
FunctionExpression: boolean;
|
249
|
-
}>;
|
250
|
-
}>,
|
251
|
-
]
|
252
|
-
>;
|
253
|
-
|
254
|
-
/**
|
255
|
-
* Rule to enforce valid JSDoc comments.
|
256
|
-
*
|
257
|
-
* @since 0.4.0
|
258
|
-
* @deprecated since 5.10.0
|
259
|
-
* @see https://eslint.org/docs/rules/valid-jsdoc
|
260
|
-
*/
|
261
|
-
"valid-jsdoc": Linter.RuleEntry<
|
262
|
-
[
|
263
|
-
Partial<{
|
264
|
-
prefer: Record<string, string>;
|
265
|
-
preferType: Record<string, string>;
|
266
|
-
/**
|
267
|
-
* @default true
|
268
|
-
*/
|
269
|
-
requireReturn: boolean;
|
270
|
-
/**
|
271
|
-
* @default true
|
272
|
-
*/
|
273
|
-
requireReturnType: boolean;
|
274
|
-
/**
|
275
|
-
* @remarks
|
276
|
-
* Also accept for regular expression pattern
|
277
|
-
*/
|
278
|
-
matchDescription: string;
|
279
|
-
/**
|
280
|
-
* @default true
|
281
|
-
*/
|
282
|
-
requireParamDescription: boolean;
|
283
|
-
/**
|
284
|
-
* @default true
|
285
|
-
*/
|
286
|
-
requireReturnDescription: boolean;
|
287
|
-
/**
|
288
|
-
* @default true
|
289
|
-
*/
|
290
|
-
requireParamType: boolean;
|
291
|
-
}>,
|
292
|
-
]
|
293
|
-
>;
|
294
235
|
}
|
@@ -52,6 +52,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
52
52
|
* Rule to require parentheses around arrow function arguments.
|
53
53
|
*
|
54
54
|
* @since 1.0.0-rc-1
|
55
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/arrow-parens) in `@stylistic/eslint-plugin-js`.
|
55
56
|
* @see https://eslint.org/docs/rules/arrow-parens
|
56
57
|
*/
|
57
58
|
"arrow-parens":
|
@@ -72,6 +73,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
72
73
|
* Rule to enforce consistent spacing before and after the arrow in arrow functions.
|
73
74
|
*
|
74
75
|
* @since 1.0.0-rc-1
|
76
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/arrow-spacing) in `@stylistic/eslint-plugin-js`.
|
75
77
|
* @see https://eslint.org/docs/rules/arrow-spacing
|
76
78
|
*/
|
77
79
|
"arrow-spacing": Linter.RuleEntry<[]>;
|
@@ -91,6 +93,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
91
93
|
* Rule to enforce consistent spacing around `*` operators in generator functions.
|
92
94
|
*
|
93
95
|
* @since 0.17.0
|
96
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/generator-star-spacing) in `@stylistic/eslint-plugin-js`.
|
94
97
|
* @see https://eslint.org/docs/rules/generator-star-spacing
|
95
98
|
*/
|
96
99
|
"generator-star-spacing": Linter.RuleEntry<
|
@@ -168,6 +171,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
168
171
|
* Rule to disallow arrow functions where they could be confused with comparisons.
|
169
172
|
*
|
170
173
|
* @since 2.0.0-alpha-2
|
174
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-confusing-arrow) in `@stylistic/eslint-plugin-js`.
|
171
175
|
* @see https://eslint.org/docs/rules/no-confusing-arrow
|
172
176
|
*/
|
173
177
|
"no-confusing-arrow": Linter.RuleEntry<
|
@@ -221,15 +225,15 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
221
225
|
>;
|
222
226
|
|
223
227
|
/**
|
224
|
-
* Rule to disallow `new`
|
225
|
-
*
|
228
|
+
* Rule to disallow `new` operator with global non-constructor functions
|
229
|
+
*
|
226
230
|
* @remarks
|
227
231
|
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
228
232
|
*
|
229
|
-
* @since
|
230
|
-
* @see https://eslint.org/docs/rules/no-new-
|
233
|
+
* @since 8.27.0
|
234
|
+
* @see https://eslint.org/docs/rules/no-new-native-nonconstructor
|
231
235
|
*/
|
232
|
-
"no-new-
|
236
|
+
"no-new-native-nonconstructor": Linter.RuleEntry<[]>;
|
233
237
|
|
234
238
|
/**
|
235
239
|
* Rule to disallow specified names in exports.
|
@@ -324,7 +328,16 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
324
328
|
* @since 2.9.0
|
325
329
|
* @see https://eslint.org/docs/rules/no-useless-computed-key
|
326
330
|
*/
|
327
|
-
"no-useless-computed-key": Linter.RuleEntry<
|
331
|
+
"no-useless-computed-key": Linter.RuleEntry<
|
332
|
+
[
|
333
|
+
Partial<{
|
334
|
+
/**
|
335
|
+
* @default true
|
336
|
+
*/
|
337
|
+
enforceForClassMembers: boolean;
|
338
|
+
}>,
|
339
|
+
]
|
340
|
+
>;
|
328
341
|
|
329
342
|
/**
|
330
343
|
* Rule to disallow unnecessary constructors.
|
@@ -537,6 +550,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
537
550
|
* Rule to enforce spacing between rest and spread operators and their expressions.
|
538
551
|
*
|
539
552
|
* @since 2.12.0
|
553
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/rest-spread-spacing) in `@stylistic/eslint-plugin-js`.
|
540
554
|
* @see https://eslint.org/docs/rules/rest-spread-spacing
|
541
555
|
*/
|
542
556
|
"rest-spread-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -586,6 +600,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
586
600
|
* Rule to require or disallow spacing around embedded expressions of template strings.
|
587
601
|
*
|
588
602
|
* @since 2.0.0-rc.0
|
603
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/template-curly-spacing) in `@stylistic/eslint-plugin-js`.
|
589
604
|
* @see https://eslint.org/docs/rules/template-curly-spacing
|
590
605
|
*/
|
591
606
|
"template-curly-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -594,6 +609,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
|
|
594
609
|
* Rule to require or disallow spacing around the `*` in `yield*` expressions.
|
595
610
|
*
|
596
611
|
* @since 2.0.0-alpha-1
|
612
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/yield-star-spacing) in `@stylistic/eslint-plugin-js`.
|
597
613
|
* @see https://eslint.org/docs/rules/yield-star-spacing
|
598
614
|
*/
|
599
615
|
"yield-star-spacing": Linter.RuleEntry<
|
@@ -280,6 +280,7 @@ export interface PossibleErrors extends Linter.RulesRecord {
|
|
280
280
|
* Rule to disallow unnecessary parentheses.
|
281
281
|
*
|
282
282
|
* @since 0.1.4
|
283
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-extra-parens) in `@stylistic/eslint-plugin-js`.
|
283
284
|
* @see https://eslint.org/docs/rules/no-extra-parens
|
284
285
|
*/
|
285
286
|
"no-extra-parens":
|
@@ -319,6 +320,7 @@ export interface PossibleErrors extends Linter.RulesRecord {
|
|
319
320
|
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
320
321
|
*
|
321
322
|
* @since 0.0.9
|
323
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-extra-semi) in `@stylistic/eslint-plugin-js`.
|
322
324
|
* @see https://eslint.org/docs/rules/no-extra-semi
|
323
325
|
*/
|
324
326
|
"no-extra-semi": Linter.RuleEntry<[]>;
|
@@ -32,6 +32,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
32
32
|
* Rule to enforce linebreaks after opening and before closing array brackets.
|
33
33
|
*
|
34
34
|
* @since 4.0.0-alpha.1
|
35
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/array-bracket-newline) in `@stylistic/eslint-plugin-js`.
|
35
36
|
* @see https://eslint.org/docs/rules/array-bracket-newline
|
36
37
|
*/
|
37
38
|
"array-bracket-newline": Linter.RuleEntry<
|
@@ -56,6 +57,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
56
57
|
* Rule to enforce consistent spacing inside array brackets.
|
57
58
|
*
|
58
59
|
* @since 0.24.0
|
60
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/array-bracket-spacing) in `@stylistic/eslint-plugin-js`.
|
59
61
|
* @see https://eslint.org/docs/rules/array-bracket-spacing
|
60
62
|
*/
|
61
63
|
"array-bracket-spacing":
|
@@ -102,6 +104,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
102
104
|
* Rule to enforce line breaks after each array element.
|
103
105
|
*
|
104
106
|
* @since 4.0.0-rc.0
|
107
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/array-element-newline) in `@stylistic/eslint-plugin-js`.
|
105
108
|
* @see https://eslint.org/docs/rules/array-element-newline
|
106
109
|
*/
|
107
110
|
"array-element-newline": Linter.RuleEntry<
|
@@ -126,6 +129,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
126
129
|
* Rule to disallow or enforce spaces inside of blocks after opening block and before closing block.
|
127
130
|
*
|
128
131
|
* @since 1.2.0
|
132
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/block-spacing) in `@stylistic/eslint-plugin-js`.
|
129
133
|
* @see https://eslint.org/docs/rules/block-spacing
|
130
134
|
*/
|
131
135
|
"block-spacing": Linter.RuleEntry<["always" | "never"]>;
|
@@ -134,6 +138,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
134
138
|
* Rule to enforce consistent brace style for blocks.
|
135
139
|
*
|
136
140
|
* @since 0.0.7
|
141
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/brace-style) in `@stylistic/eslint-plugin-js`.
|
137
142
|
* @see https://eslint.org/docs/rules/brace-style
|
138
143
|
*/
|
139
144
|
"brace-style": Linter.RuleEntry<
|
@@ -211,6 +216,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
211
216
|
* Rule to require or disallow trailing commas.
|
212
217
|
*
|
213
218
|
* @since 0.16.0
|
219
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/comma-dangle) in `@stylistic/eslint-plugin-js`.
|
214
220
|
* @see https://eslint.org/docs/rules/comma-dangle
|
215
221
|
*/
|
216
222
|
"comma-dangle": Linter.RuleEntry<
|
@@ -248,6 +254,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
248
254
|
* Rule to enforce consistent spacing before and after commas.
|
249
255
|
*
|
250
256
|
* @since 0.9.0
|
257
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/comma-spacing) in `@stylistic/eslint-plugin-js`.
|
251
258
|
* @see https://eslint.org/docs/rules/comma-spacing
|
252
259
|
*/
|
253
260
|
"comma-spacing": Linter.RuleEntry<
|
@@ -269,6 +276,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
269
276
|
* Rule to enforce consistent comma style.
|
270
277
|
*
|
271
278
|
* @since 0.9.0
|
279
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/comma-style) in `@stylistic/eslint-plugin-js`.
|
272
280
|
* @see https://eslint.org/docs/rules/comma-style
|
273
281
|
*/
|
274
282
|
"comma-style": Linter.RuleEntry<
|
@@ -284,6 +292,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
284
292
|
* Rule to enforce consistent spacing inside computed property brackets.
|
285
293
|
*
|
286
294
|
* @since 0.23.0
|
295
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/computed-property-spacing) in `@stylistic/eslint-plugin-js`.
|
287
296
|
* @see https://eslint.org/docs/rules/computed-property-spacing
|
288
297
|
*/
|
289
298
|
"computed-property-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -300,6 +309,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
300
309
|
* Rule to require or disallow newline at the end of files.
|
301
310
|
*
|
302
311
|
* @since 0.7.1
|
312
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/eol-last) in `@stylistic/eslint-plugin-js`.
|
303
313
|
* @see https://eslint.org/docs/rules/eol-last
|
304
314
|
*/
|
305
315
|
"eol-last": Linter.RuleEntry<
|
@@ -312,6 +322,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
312
322
|
* Rule to require or disallow spacing between function identifiers and their invocations.
|
313
323
|
*
|
314
324
|
* @since 3.3.0
|
325
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/function-call-spacing) in `@stylistic/eslint-plugin-js`.
|
315
326
|
* @see https://eslint.org/docs/rules/func-call-spacing
|
316
327
|
*/
|
317
328
|
"func-call-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -382,6 +393,9 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
382
393
|
* @default false
|
383
394
|
*/
|
384
395
|
allowArrowFunctions: boolean;
|
396
|
+
overrides: {
|
397
|
+
namedExports: "declaration" | "expression" | "ignore";
|
398
|
+
}
|
385
399
|
}>,
|
386
400
|
]
|
387
401
|
>;
|
@@ -390,6 +404,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
390
404
|
* Rule to enforce consistent line breaks inside function parentheses.
|
391
405
|
*
|
392
406
|
* @since 4.6.0
|
407
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/function-paren-newline) in `@stylistic/eslint-plugin-js`.
|
393
408
|
* @see https://eslint.org/docs/rules/function-paren-newline
|
394
409
|
*/
|
395
410
|
"function-paren-newline": Linter.RuleEntry<
|
@@ -469,6 +484,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
469
484
|
* Rule to enforce the location of arrow function bodies.
|
470
485
|
*
|
471
486
|
* @since 4.12.0
|
487
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/implicit-arrow-linebreak) in `@stylistic/eslint-plugin-js`.
|
472
488
|
* @see https://eslint.org/docs/rules/implicit-arrow-linebreak
|
473
489
|
*/
|
474
490
|
"implicit-arrow-linebreak": Linter.RuleEntry<["beside" | "below"]>;
|
@@ -579,6 +595,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
579
595
|
* Rule to enforce the consistent use of either double or single quotes in JSX attributes.
|
580
596
|
*
|
581
597
|
* @since 1.4.0
|
598
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/jsx-quotes) in `@stylistic/eslint-plugin-js`.
|
582
599
|
* @see https://eslint.org/docs/rules/jsx-quotes
|
583
600
|
*/
|
584
601
|
"jsx-quotes": Linter.RuleEntry<["prefer-double" | "prefer-single"]>;
|
@@ -587,6 +604,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
587
604
|
* Rule to enforce consistent spacing between keys and values in object literal properties.
|
588
605
|
*
|
589
606
|
* @since 0.9.0
|
607
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/key-spacing) in `@stylistic/eslint-plugin-js`.
|
590
608
|
* @see https://eslint.org/docs/rules/key-spacing
|
591
609
|
*/
|
592
610
|
"key-spacing": Linter.RuleEntry<
|
@@ -742,6 +760,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
742
760
|
* Rule to enforce consistent spacing before and after keywords.
|
743
761
|
*
|
744
762
|
* @since 2.0.0-beta.1
|
763
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/keyword-spacing) in `@stylistic/eslint-plugin-js`.
|
745
764
|
* @see https://eslint.org/docs/rules/keyword-spacing
|
746
765
|
*/
|
747
766
|
"keyword-spacing": Linter.RuleEntry<
|
@@ -770,6 +789,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
770
789
|
* Rule to enforce position of line comments.
|
771
790
|
*
|
772
791
|
* @since 3.5.0
|
792
|
+
* @deprecated since 9.3.0, please use the [corresponding rule](https://eslint.style/rules/js/line-comment-position) in `@stylistic/eslint-plugin-js`.
|
773
793
|
* @see https://eslint.org/docs/rules/line-comment-position
|
774
794
|
*/
|
775
795
|
"line-comment-position": Linter.RuleEntry<
|
@@ -792,6 +812,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
792
812
|
* Rule to enforce consistent linebreak style.
|
793
813
|
*
|
794
814
|
* @since 0.21.0
|
815
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/linebreak-style) in `@stylistic/eslint-plugin-js`.
|
795
816
|
* @see https://eslint.org/docs/rules/linebreak-style
|
796
817
|
*/
|
797
818
|
"linebreak-style": Linter.RuleEntry<["unix" | "windows"]>;
|
@@ -800,6 +821,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
800
821
|
* Rule to require empty lines around comments.
|
801
822
|
*
|
802
823
|
* @since 0.22.0
|
824
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/lines-around-comment) in `@stylistic/eslint-plugin-js`.
|
803
825
|
* @see https://eslint.org/docs/rules/lines-around-comment
|
804
826
|
*/
|
805
827
|
"lines-around-comment": Linter.RuleEntry<
|
@@ -866,11 +888,20 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
866
888
|
* Rule to require or disallow an empty line between class members.
|
867
889
|
*
|
868
890
|
* @since 4.9.0
|
891
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/lines-between-class-members) in `@stylistic/eslint-plugin-js`.
|
869
892
|
* @see https://eslint.org/docs/rules/lines-between-class-members
|
870
893
|
*/
|
871
894
|
"lines-between-class-members": Linter.RuleEntry<
|
872
895
|
[
|
873
|
-
"always" | "never"
|
896
|
+
"always" | "never" | {
|
897
|
+
enforce: Array<
|
898
|
+
{
|
899
|
+
blankLine: "always" | "never";
|
900
|
+
prev: "method" | "field" | "*";
|
901
|
+
next: "method" | "field" | "*";
|
902
|
+
}
|
903
|
+
>
|
904
|
+
},
|
874
905
|
Partial<{
|
875
906
|
/**
|
876
907
|
* @default false
|
@@ -901,6 +932,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
901
932
|
* Rule to enforce a maximum line length.
|
902
933
|
*
|
903
934
|
* @since 0.0.9
|
935
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/max-len) in `@stylistic/eslint-plugin-js`.
|
904
936
|
* @see https://eslint.org/docs/rules/max-len
|
905
937
|
*/
|
906
938
|
"max-len": Linter.RuleEntry<
|
@@ -1061,6 +1093,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1061
1093
|
* Rule to enforce a maximum number of statements allowed per line.
|
1062
1094
|
*
|
1063
1095
|
* @since 2.5.0
|
1096
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/max-statements-per-line) in `@stylistic/eslint-plugin-js`.
|
1064
1097
|
* @see https://eslint.org/docs/rules/max-statements-per-line
|
1065
1098
|
*/
|
1066
1099
|
"max-statements-per-line": Linter.RuleEntry<
|
@@ -1079,6 +1112,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1079
1112
|
* Rule to enforce a particular style for multiline comments.
|
1080
1113
|
*
|
1081
1114
|
* @since 4.10.0
|
1115
|
+
* @deprecated since 9.3.0, please use the [corresponding rule](https://eslint.style/rules/js/multiline-comment-style) in `@stylistic/eslint-plugin-js`.
|
1082
1116
|
* @see https://eslint.org/docs/rules/multiline-comment-style
|
1083
1117
|
*/
|
1084
1118
|
"multiline-comment-style": Linter.RuleEntry<["starred-block" | "bare-block" | "separate-lines"]>;
|
@@ -1087,6 +1121,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1087
1121
|
* Rule to enforce newlines between operands of ternary expressions.
|
1088
1122
|
*
|
1089
1123
|
* @since 3.1.0
|
1124
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/multiline-ternary) in `@stylistic/eslint-plugin-js`.
|
1090
1125
|
* @see https://eslint.org/docs/rules/multiline-ternary
|
1091
1126
|
*/
|
1092
1127
|
"multiline-ternary": Linter.RuleEntry<["always" | "always-multiline" | "never"]>;
|
@@ -1124,6 +1159,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1124
1159
|
* Rule to enforce or disallow parentheses when invoking a constructor with no arguments.
|
1125
1160
|
*
|
1126
1161
|
* @since 0.0.6
|
1162
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/new-parens) in `@stylistic/eslint-plugin-js`.
|
1127
1163
|
* @see https://eslint.org/docs/rules/new-parens
|
1128
1164
|
*/
|
1129
1165
|
"new-parens": Linter.RuleEntry<["always" | "never"]>;
|
@@ -1132,6 +1168,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1132
1168
|
* Rule to require a newline after each call in a method chain.
|
1133
1169
|
*
|
1134
1170
|
* @since 2.0.0-rc.0
|
1171
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/newline-per-chained-call) in `@stylistic/eslint-plugin-js`.
|
1135
1172
|
* @see https://eslint.org/docs/rules/newline-per-chained-call
|
1136
1173
|
*/
|
1137
1174
|
"newline-per-chained-call": Linter.RuleEntry<
|
@@ -1199,6 +1236,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1199
1236
|
* Rule to disallow mixed binary operators.
|
1200
1237
|
*
|
1201
1238
|
* @since 2.12.0
|
1239
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-mixed-operators) in `@stylistic/eslint-plugin-js`.
|
1202
1240
|
* @see https://eslint.org/docs/rules/no-mixed-operators
|
1203
1241
|
*/
|
1204
1242
|
"no-mixed-operators": Linter.RuleEntry<
|
@@ -1230,6 +1268,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1230
1268
|
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
1231
1269
|
*
|
1232
1270
|
* @since 0.7.1
|
1271
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-mixed-spaces-and-tabs) in `@stylistic/eslint-plugin-js`.
|
1233
1272
|
* @see https://eslint.org/docs/rules/no-mixed-spaces-and-tabs
|
1234
1273
|
*/
|
1235
1274
|
"no-mixed-spaces-and-tabs": Linter.RuleEntry<["smart-tabs"]>;
|
@@ -1246,6 +1285,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1246
1285
|
* Rule to disallow multiple empty lines.
|
1247
1286
|
*
|
1248
1287
|
* @since 0.9.0
|
1288
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-multiple-empty-lines) in `@stylistic/eslint-plugin-js`.
|
1249
1289
|
* @see https://eslint.org/docs/rules/no-multiple-empty-lines
|
1250
1290
|
*/
|
1251
1291
|
"no-multiple-empty-lines": Linter.RuleEntry<
|
@@ -1279,12 +1319,12 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1279
1319
|
"no-nested-ternary": Linter.RuleEntry<[]>;
|
1280
1320
|
|
1281
1321
|
/**
|
1282
|
-
* Rule to disallow `Object`
|
1322
|
+
* Rule to disallow calls to the `Object` constructor without an argument
|
1283
1323
|
*
|
1284
|
-
* @since
|
1285
|
-
* @see https://eslint.org/docs/rules/no-
|
1324
|
+
* @since 8.50.0
|
1325
|
+
* @see https://eslint.org/docs/rules/no-object-constructor
|
1286
1326
|
*/
|
1287
|
-
"no-
|
1327
|
+
"no-object-constructor": Linter.RuleEntry<[]>;
|
1288
1328
|
|
1289
1329
|
/**
|
1290
1330
|
* Rule to disallow the unary operators `++` and `--`.
|
@@ -1325,6 +1365,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1325
1365
|
* Rule to disallow all tabs.
|
1326
1366
|
*
|
1327
1367
|
* @since 3.2.0
|
1368
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-tabs) in `@stylistic/eslint-plugin-js`.
|
1328
1369
|
* @see https://eslint.org/docs/rules/no-tabs
|
1329
1370
|
*/
|
1330
1371
|
"no-tabs": Linter.RuleEntry<
|
@@ -1350,6 +1391,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1350
1391
|
* Rule to disallow trailing whitespace at the end of lines.
|
1351
1392
|
*
|
1352
1393
|
* @since 0.7.1
|
1394
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-trailing-spaces) in `@stylistic/eslint-plugin-js`.
|
1353
1395
|
* @see https://eslint.org/docs/rules/no-trailing-spaces
|
1354
1396
|
*/
|
1355
1397
|
"no-trailing-spaces": Linter.RuleEntry<
|
@@ -1439,6 +1481,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1439
1481
|
* Rule to disallow whitespace before properties.
|
1440
1482
|
*
|
1441
1483
|
* @since 2.0.0-beta.1
|
1484
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-whitespace-before-property) in `@stylistic/eslint-plugin-js`.
|
1442
1485
|
* @see https://eslint.org/docs/rules/no-whitespace-before-property
|
1443
1486
|
*/
|
1444
1487
|
"no-whitespace-before-property": Linter.RuleEntry<[]>;
|
@@ -1447,6 +1490,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1447
1490
|
* Rule to enforce the location of single-line statements.
|
1448
1491
|
*
|
1449
1492
|
* @since 3.17.0
|
1493
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/nonblock-statement-body-position) in `@stylistic/eslint-plugin-js`.
|
1450
1494
|
* @see https://eslint.org/docs/rules/nonblock-statement-body-position
|
1451
1495
|
*/
|
1452
1496
|
"nonblock-statement-body-position": Linter.RuleEntry<
|
@@ -1462,6 +1506,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1462
1506
|
* Rule to enforce consistent line breaks inside braces.
|
1463
1507
|
*
|
1464
1508
|
* @since 2.12.0
|
1509
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/object-curly-newline) in `@stylistic/eslint-plugin-js`.
|
1465
1510
|
* @see https://eslint.org/docs/rules/object-curly-newline
|
1466
1511
|
*/
|
1467
1512
|
"object-curly-newline": Linter.RuleEntry<
|
@@ -1504,6 +1549,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1504
1549
|
* Rule to enforce consistent spacing inside braces.
|
1505
1550
|
*
|
1506
1551
|
* @since 0.22.0
|
1552
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/object-curly-spacing) in `@stylistic/eslint-plugin-js`.
|
1507
1553
|
* @see https://eslint.org/docs/rules/object-curly-spacing
|
1508
1554
|
*/
|
1509
1555
|
"object-curly-spacing":
|
@@ -1542,6 +1588,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1542
1588
|
* Rule to enforce placing object properties on separate lines.
|
1543
1589
|
*
|
1544
1590
|
* @since 2.10.0
|
1591
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/object-property-newline) in `@stylistic/eslint-plugin-js`.
|
1545
1592
|
* @see https://eslint.org/docs/rules/object-property-newline
|
1546
1593
|
*/
|
1547
1594
|
"object-property-newline": Linter.RuleEntry<
|
@@ -1582,6 +1629,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1582
1629
|
* Rule to require or disallow newlines around variable declarations.
|
1583
1630
|
*
|
1584
1631
|
* @since 2.0.0-beta.3
|
1632
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/one-var-declaration-per-line) in `@stylistic/eslint-plugin-js`.
|
1585
1633
|
* @see https://eslint.org/docs/rules/one-var-declaration-per-line
|
1586
1634
|
*/
|
1587
1635
|
"one-var-declaration-per-line": Linter.RuleEntry<["initializations" | "always"]>;
|
@@ -1598,6 +1646,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1598
1646
|
* Rule to enforce consistent linebreak style for operators.
|
1599
1647
|
*
|
1600
1648
|
* @since 0.19.0
|
1649
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/operator-linebreak) in `@stylistic/eslint-plugin-js`.
|
1601
1650
|
* @see https://eslint.org/docs/rules/operator-linebreak
|
1602
1651
|
*/
|
1603
1652
|
"operator-linebreak": Linter.RuleEntry<
|
@@ -1613,6 +1662,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1613
1662
|
* Rule to require or disallow padding within blocks.
|
1614
1663
|
*
|
1615
1664
|
* @since 0.9.0
|
1665
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/padded-blocks) in `@stylistic/eslint-plugin-js`.
|
1616
1666
|
* @see https://eslint.org/docs/rules/padded-blocks
|
1617
1667
|
*/
|
1618
1668
|
"padded-blocks": Linter.RuleEntry<
|
@@ -1631,6 +1681,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1631
1681
|
* Rule to require or disallow padding lines between statements.
|
1632
1682
|
*
|
1633
1683
|
* @since 4.0.0-beta.0
|
1684
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/padding-line-between-statements) in `@stylistic/eslint-plugin-js`.
|
1634
1685
|
* @see https://eslint.org/docs/rules/padding-line-between-statements
|
1635
1686
|
*/
|
1636
1687
|
"padding-line-between-statements": Linter.RuleEntry<
|
@@ -1655,6 +1706,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1655
1706
|
* Rule to require quotes around object literal property names.
|
1656
1707
|
*
|
1657
1708
|
* @since 0.0.6
|
1709
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/quote-props) in `@stylistic/eslint-plugin-js`.
|
1658
1710
|
* @see https://eslint.org/docs/rules/quote-props
|
1659
1711
|
*/
|
1660
1712
|
"quote-props":
|
@@ -1746,6 +1798,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1746
1798
|
* Rule to enforce consistent spacing before and after semicolons.
|
1747
1799
|
*
|
1748
1800
|
* @since 0.16.0
|
1801
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/semi-spacing) in `@stylistic/eslint-plugin-js`.
|
1749
1802
|
* @see https://eslint.org/docs/rules/semi-spacing
|
1750
1803
|
*/
|
1751
1804
|
"semi-spacing": Linter.RuleEntry<
|
@@ -1767,6 +1820,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1767
1820
|
* Rule to enforce location of semicolons.
|
1768
1821
|
*
|
1769
1822
|
* @since 4.0.0-beta.0
|
1823
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/semi-style) in `@stylistic/eslint-plugin-js`.
|
1770
1824
|
* @see https://eslint.org/docs/rules/semi-style
|
1771
1825
|
*/
|
1772
1826
|
"semi-style": Linter.RuleEntry<["last" | "first"]>;
|
@@ -1822,6 +1876,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1822
1876
|
* Rule to enforce consistent spacing before blocks.
|
1823
1877
|
*
|
1824
1878
|
* @since 0.9.0
|
1879
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/space-before-blocks) in `@stylistic/eslint-plugin-js`.
|
1825
1880
|
* @see https://eslint.org/docs/rules/space-before-blocks
|
1826
1881
|
*/
|
1827
1882
|
"space-before-blocks": Linter.RuleEntry<
|
@@ -1832,6 +1887,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1832
1887
|
* Rule to enforce consistent spacing before `function` definition opening parenthesis.
|
1833
1888
|
*
|
1834
1889
|
* @since 0.18.0
|
1890
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/space-before-function-paren) in `@stylistic/eslint-plugin-js`.
|
1835
1891
|
* @see https://eslint.org/docs/rules/space-before-function-paren
|
1836
1892
|
*/
|
1837
1893
|
"space-before-function-paren": Linter.RuleEntry<
|
@@ -1842,6 +1898,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1842
1898
|
* Rule to enforce consistent spacing inside parentheses.
|
1843
1899
|
*
|
1844
1900
|
* @since 0.8.0
|
1901
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/space-in-parens) in `@stylistic/eslint-plugin-js`.
|
1845
1902
|
* @see https://eslint.org/docs/rules/space-in-parens
|
1846
1903
|
*/
|
1847
1904
|
"space-in-parens": Linter.RuleEntry<
|
@@ -1857,6 +1914,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1857
1914
|
* Rule to require spacing around infix operators.
|
1858
1915
|
*
|
1859
1916
|
* @since 0.2.0
|
1917
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/space-infix-ops) in `@stylistic/eslint-plugin-js`.
|
1860
1918
|
* @see https://eslint.org/docs/rules/space-infix-ops
|
1861
1919
|
*/
|
1862
1920
|
"space-infix-ops": Linter.RuleEntry<
|
@@ -1874,6 +1932,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1874
1932
|
* Rule to enforce consistent spacing before or after unary operators.
|
1875
1933
|
*
|
1876
1934
|
* @since 0.10.0
|
1935
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/space-unary-ops) in `@stylistic/eslint-plugin-js`.
|
1877
1936
|
* @see https://eslint.org/docs/rules/space-unary-ops
|
1878
1937
|
*/
|
1879
1938
|
"space-unary-ops": Linter.RuleEntry<
|
@@ -1896,6 +1955,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1896
1955
|
* Rule to enforce consistent spacing after the `//` or `/*` in a comment.
|
1897
1956
|
*
|
1898
1957
|
* @since 0.23.0
|
1958
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/spaced-comment) in `@stylistic/eslint-plugin-js`.
|
1899
1959
|
* @see https://eslint.org/docs/rules/spaced-comment
|
1900
1960
|
*/
|
1901
1961
|
"spaced-comment": Linter.RuleEntry<
|
@@ -1924,6 +1984,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1924
1984
|
* Rule to enforce spacing around colons of switch statements.
|
1925
1985
|
*
|
1926
1986
|
* @since 4.0.0-beta.0
|
1987
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/switch-colon-spacing) in `@stylistic/eslint-plugin-js`.
|
1927
1988
|
* @see https://eslint.org/docs/rules/switch-colon-spacing
|
1928
1989
|
*/
|
1929
1990
|
"switch-colon-spacing": Linter.RuleEntry<
|
@@ -1945,6 +2006,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1945
2006
|
* Rule to require or disallow spacing between template tags and their literals.
|
1946
2007
|
*
|
1947
2008
|
* @since 3.15.0
|
2009
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/template-tag-spacing) in `@stylistic/eslint-plugin-js`.
|
1948
2010
|
* @see https://eslint.org/docs/rules/template-tag-spacing
|
1949
2011
|
*/
|
1950
2012
|
"template-tag-spacing": Linter.RuleEntry<["never" | "always"]>;
|
@@ -1961,6 +2023,7 @@ export interface StylisticIssues extends Linter.RulesRecord {
|
|
1961
2023
|
* Rule to require parenthesis around regex literals.
|
1962
2024
|
*
|
1963
2025
|
* @since 0.1.0
|
2026
|
+
* @deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/wrap-regex) in `@stylistic/eslint-plugin-js`.
|
1964
2027
|
* @see https://eslint.org/docs/rules/wrap-regex
|
1965
2028
|
*/
|
1966
2029
|
"wrap-regex": Linter.RuleEntry<[]>;
|