@eslinted/defaults 17.0.0-rc.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +162 -162
- package/dist/rules/index.d.ts +162 -162
- package/dist/rules/js.d.ts +67 -67
- package/dist/rules/js.stylistic.d.ts +67 -67
- package/dist/rules/js.stylistic.js +67 -67
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +3 -3
- package/dist/rules/svelte/disable.js +3 -3
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -1
- package/dist/rules/svelte/extend.js +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +4 -4
- package/dist/rules/ts/extend.d.ts +7 -7
- package/dist/rules/ts/extend.js +7 -7
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +91 -91
- package/dist/rules/ts/ts.d.ts +84 -84
- package/dist/rules/ts/ts.js +84 -84
- package/dist/rules/ts/ts.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/js.stylistic.ts +74 -74
- package/src/rules/json/plugin/extend.ts +7 -7
- package/src/rules/svelte/disable.ts +3 -3
- package/src/rules/svelte/extend.ts +2 -2
- package/src/rules/svelte/svelte.ts +1 -1
- package/src/rules/ts/extend.ts +9 -9
- package/src/rules/ts/ts.ts +101 -101
- package/src/rules/yml/extend.ts +3 -3
package/dist/rules/js.d.ts
CHANGED
|
@@ -307,9 +307,9 @@ declare const _default: ({
|
|
|
307
307
|
} | {
|
|
308
308
|
name: string;
|
|
309
309
|
rules: {
|
|
310
|
-
readonly "
|
|
311
|
-
readonly "
|
|
312
|
-
readonly "
|
|
310
|
+
readonly "stylistic/array-bracket-newline": import("./state.js").State.ON;
|
|
311
|
+
readonly "stylistic/array-bracket-spacing": import("./state.js").State.ON;
|
|
312
|
+
readonly "stylistic/array-element-newline": readonly [
|
|
313
313
|
import("./state.js").State.ON,
|
|
314
314
|
{
|
|
315
315
|
readonly consistent: true;
|
|
@@ -317,44 +317,44 @@ declare const _default: ({
|
|
|
317
317
|
readonly minItems: 3;
|
|
318
318
|
}
|
|
319
319
|
];
|
|
320
|
-
readonly "
|
|
320
|
+
readonly "stylistic/arrow-parens": readonly [
|
|
321
321
|
import("./state.js").State.ON,
|
|
322
322
|
"as-needed"
|
|
323
323
|
];
|
|
324
|
-
readonly "
|
|
325
|
-
readonly "
|
|
326
|
-
readonly "
|
|
324
|
+
readonly "stylistic/arrow-spacing": import("./state.js").State.ON;
|
|
325
|
+
readonly "stylistic/block-spacing": import("./state.js").State.ON;
|
|
326
|
+
readonly "stylistic/brace-style": readonly [
|
|
327
327
|
import("./state.js").State.ON,
|
|
328
328
|
"stroustrup",
|
|
329
329
|
{
|
|
330
330
|
readonly allowSingleLine: true;
|
|
331
331
|
}
|
|
332
332
|
];
|
|
333
|
-
readonly "
|
|
333
|
+
readonly "stylistic/comma-dangle": readonly [
|
|
334
334
|
import("./state.js").State.ON,
|
|
335
335
|
"always-multiline"
|
|
336
336
|
];
|
|
337
|
-
readonly "
|
|
338
|
-
readonly "
|
|
339
|
-
readonly "
|
|
340
|
-
readonly "
|
|
341
|
-
readonly "
|
|
337
|
+
readonly "stylistic/comma-spacing": import("./state.js").State.ON;
|
|
338
|
+
readonly "stylistic/comma-style": import("./state.js").State.ON;
|
|
339
|
+
readonly "stylistic/computed-property-spacing": import("./state.js").State.ON;
|
|
340
|
+
readonly "stylistic/curly-newline": import("./state.js").State.ON;
|
|
341
|
+
readonly "stylistic/dot-location": readonly [
|
|
342
342
|
import("./state.js").State.ON,
|
|
343
343
|
"property"
|
|
344
344
|
];
|
|
345
|
-
readonly "
|
|
346
|
-
readonly "
|
|
345
|
+
readonly "stylistic/eol-last": import("./state.js").State.ON;
|
|
346
|
+
readonly "stylistic/function-call-argument-newline": readonly [
|
|
347
347
|
import("./state.js").State.ON,
|
|
348
348
|
"consistent"
|
|
349
349
|
];
|
|
350
|
-
readonly "
|
|
351
|
-
readonly "
|
|
350
|
+
readonly "stylistic/function-call-spacing": import("./state.js").State.ON;
|
|
351
|
+
readonly "stylistic/function-paren-newline": readonly [
|
|
352
352
|
import("./state.js").State.ON,
|
|
353
353
|
"multiline-arguments"
|
|
354
354
|
];
|
|
355
|
-
readonly "
|
|
356
|
-
readonly "
|
|
357
|
-
readonly "
|
|
355
|
+
readonly "stylistic/generator-star-spacing": import("./state.js").State.ON;
|
|
356
|
+
readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.ON;
|
|
357
|
+
readonly "stylistic/indent": readonly [
|
|
358
358
|
import("./state.js").State.ON,
|
|
359
359
|
2,
|
|
360
360
|
{
|
|
@@ -368,13 +368,13 @@ declare const _default: ({
|
|
|
368
368
|
readonly offsetTernaryExpressions: true;
|
|
369
369
|
}
|
|
370
370
|
];
|
|
371
|
-
readonly "
|
|
371
|
+
readonly "stylistic/indent-binary-ops": readonly [
|
|
372
372
|
import("./state.js").State.ON,
|
|
373
373
|
2
|
|
374
374
|
];
|
|
375
|
-
readonly "
|
|
376
|
-
readonly "
|
|
377
|
-
readonly "
|
|
375
|
+
readonly "stylistic/key-spacing": import("./state.js").State.ON;
|
|
376
|
+
readonly "stylistic/keyword-spacing": import("./state.js").State.ON;
|
|
377
|
+
readonly "stylistic/lines-between-class-members": readonly [
|
|
378
378
|
import("./state.js").State.ON,
|
|
379
379
|
{
|
|
380
380
|
readonly enforce: readonly [
|
|
@@ -396,7 +396,7 @@ declare const _default: ({
|
|
|
396
396
|
];
|
|
397
397
|
}
|
|
398
398
|
];
|
|
399
|
-
readonly "
|
|
399
|
+
readonly "stylistic/max-len": readonly [
|
|
400
400
|
import("./state.js").State.ON,
|
|
401
401
|
{
|
|
402
402
|
readonly code: 300;
|
|
@@ -408,18 +408,18 @@ declare const _default: ({
|
|
|
408
408
|
readonly ignoreRegExpLiterals: true;
|
|
409
409
|
}
|
|
410
410
|
];
|
|
411
|
-
readonly "
|
|
412
|
-
readonly "
|
|
413
|
-
readonly "
|
|
411
|
+
readonly "stylistic/max-statements-per-line": import("./state.js").State.ON;
|
|
412
|
+
readonly "stylistic/member-delimiter-style": import("./state.js").State.ON;
|
|
413
|
+
readonly "stylistic/multiline-ternary": readonly [
|
|
414
414
|
import("./state.js").State.ON,
|
|
415
415
|
"always-multiline"
|
|
416
416
|
];
|
|
417
|
-
readonly "
|
|
418
|
-
readonly "
|
|
419
|
-
readonly "
|
|
420
|
-
readonly "
|
|
421
|
-
readonly "
|
|
422
|
-
readonly "
|
|
417
|
+
readonly "stylistic/newline-per-chained-call": import("./state.js").State.ON;
|
|
418
|
+
readonly "stylistic/no-extra-parens": import("./state.js").State.ON;
|
|
419
|
+
readonly "stylistic/no-extra-semi": import("./state.js").State.ON;
|
|
420
|
+
readonly "stylistic/no-floating-decimal": import("./state.js").State.ON;
|
|
421
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.ON;
|
|
422
|
+
readonly "stylistic/no-multi-spaces": readonly [
|
|
423
423
|
import("./state.js").State.ON,
|
|
424
424
|
{
|
|
425
425
|
readonly exceptions: {
|
|
@@ -428,7 +428,7 @@ declare const _default: ({
|
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
430
|
];
|
|
431
|
-
readonly "
|
|
431
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
432
432
|
import("./state.js").State.ON,
|
|
433
433
|
{
|
|
434
434
|
readonly max: 1;
|
|
@@ -436,14 +436,14 @@ declare const _default: ({
|
|
|
436
436
|
readonly maxEOF: 0;
|
|
437
437
|
}
|
|
438
438
|
];
|
|
439
|
-
readonly "
|
|
440
|
-
readonly "
|
|
441
|
-
readonly "
|
|
442
|
-
readonly "
|
|
439
|
+
readonly "stylistic/no-tabs": import("./state.js").State.ON;
|
|
440
|
+
readonly "stylistic/no-trailing-spaces": import("./state.js").State.ON;
|
|
441
|
+
readonly "stylistic/no-whitespace-before-property": import("./state.js").State.ON;
|
|
442
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
443
443
|
import("./state.js").State.ON,
|
|
444
444
|
"below"
|
|
445
445
|
];
|
|
446
|
-
readonly "
|
|
446
|
+
readonly "stylistic/object-curly-newline": readonly [
|
|
447
447
|
import("./state.js").State.ON,
|
|
448
448
|
{
|
|
449
449
|
readonly consistent: true;
|
|
@@ -451,30 +451,30 @@ declare const _default: ({
|
|
|
451
451
|
readonly minProperties: 3;
|
|
452
452
|
}
|
|
453
453
|
];
|
|
454
|
-
readonly "
|
|
454
|
+
readonly "stylistic/object-curly-spacing": readonly [
|
|
455
455
|
import("./state.js").State.ON,
|
|
456
456
|
"always",
|
|
457
457
|
{
|
|
458
458
|
readonly emptyObjects: "never";
|
|
459
459
|
}
|
|
460
460
|
];
|
|
461
|
-
readonly "
|
|
462
|
-
readonly "
|
|
461
|
+
readonly "stylistic/object-property-newline": import("./state.js").State.ON;
|
|
462
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
463
463
|
import("./state.js").State.ON,
|
|
464
464
|
"always"
|
|
465
465
|
];
|
|
466
|
-
readonly "
|
|
466
|
+
readonly "stylistic/operator-linebreak": readonly [
|
|
467
467
|
import("./state.js").State.ON,
|
|
468
468
|
"before"
|
|
469
469
|
];
|
|
470
|
-
readonly "
|
|
470
|
+
readonly "stylistic/padded-blocks": readonly [
|
|
471
471
|
import("./state.js").State.ON,
|
|
472
472
|
"never",
|
|
473
473
|
{
|
|
474
474
|
readonly allowSingleLineBlocks: true;
|
|
475
475
|
}
|
|
476
476
|
];
|
|
477
|
-
readonly "
|
|
477
|
+
readonly "stylistic/padding-line-between-statements": readonly [
|
|
478
478
|
import("./state.js").State.WARN,
|
|
479
479
|
{
|
|
480
480
|
readonly blankLine: "never";
|
|
@@ -659,14 +659,14 @@ declare const _default: ({
|
|
|
659
659
|
];
|
|
660
660
|
}
|
|
661
661
|
];
|
|
662
|
-
readonly "
|
|
662
|
+
readonly "stylistic/quote-props": readonly [
|
|
663
663
|
import("./state.js").State.ON,
|
|
664
664
|
"as-needed",
|
|
665
665
|
{
|
|
666
666
|
readonly keywords: true;
|
|
667
667
|
}
|
|
668
668
|
];
|
|
669
|
-
readonly "
|
|
669
|
+
readonly "stylistic/quotes": readonly [
|
|
670
670
|
import("./state.js").State.ON,
|
|
671
671
|
"double",
|
|
672
672
|
{
|
|
@@ -674,21 +674,21 @@ declare const _default: ({
|
|
|
674
674
|
readonly allowTemplateLiterals: "always";
|
|
675
675
|
}
|
|
676
676
|
];
|
|
677
|
-
readonly "
|
|
678
|
-
readonly "
|
|
679
|
-
readonly "
|
|
680
|
-
readonly "
|
|
681
|
-
readonly "
|
|
682
|
-
readonly "
|
|
677
|
+
readonly "stylistic/rest-spread-spacing": import("./state.js").State.ON;
|
|
678
|
+
readonly "stylistic/semi": import("./state.js").State.ON;
|
|
679
|
+
readonly "stylistic/semi-spacing": import("./state.js").State.ON;
|
|
680
|
+
readonly "stylistic/semi-style": import("./state.js").State.ON;
|
|
681
|
+
readonly "stylistic/space-before-blocks": import("./state.js").State.ON;
|
|
682
|
+
readonly "stylistic/space-before-function-paren": readonly [
|
|
683
683
|
import("./state.js").State.ON,
|
|
684
684
|
{
|
|
685
685
|
readonly named: "never";
|
|
686
686
|
}
|
|
687
687
|
];
|
|
688
|
-
readonly "
|
|
689
|
-
readonly "
|
|
690
|
-
readonly "
|
|
691
|
-
readonly "
|
|
688
|
+
readonly "stylistic/space-in-parens": import("./state.js").State.ON;
|
|
689
|
+
readonly "stylistic/space-infix-ops": import("./state.js").State.ON;
|
|
690
|
+
readonly "stylistic/space-unary-ops": import("./state.js").State.ON;
|
|
691
|
+
readonly "stylistic/spaced-comment": readonly [
|
|
692
692
|
import("./state.js").State.ON,
|
|
693
693
|
"always",
|
|
694
694
|
{
|
|
@@ -723,10 +723,10 @@ declare const _default: ({
|
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
];
|
|
726
|
-
readonly "
|
|
727
|
-
readonly "
|
|
728
|
-
readonly "
|
|
729
|
-
readonly "
|
|
726
|
+
readonly "stylistic/switch-colon-spacing": import("./state.js").State.ON;
|
|
727
|
+
readonly "stylistic/template-curly-spacing": import("./state.js").State.ON;
|
|
728
|
+
readonly "stylistic/template-tag-spacing": import("./state.js").State.ON;
|
|
729
|
+
readonly "stylistic/type-annotation-spacing": readonly [
|
|
730
730
|
import("./state.js").State.ON,
|
|
731
731
|
{
|
|
732
732
|
readonly before: true;
|
|
@@ -739,17 +739,17 @@ declare const _default: ({
|
|
|
739
739
|
};
|
|
740
740
|
}
|
|
741
741
|
];
|
|
742
|
-
readonly "
|
|
743
|
-
readonly "
|
|
744
|
-
readonly "
|
|
742
|
+
readonly "stylistic/type-generic-spacing": import("./state.js").State.ON;
|
|
743
|
+
readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.ON;
|
|
744
|
+
readonly "stylistic/wrap-iife": readonly [
|
|
745
745
|
import("./state.js").State.ON,
|
|
746
746
|
"inside",
|
|
747
747
|
{
|
|
748
748
|
readonly functionPrototypeMethods: true;
|
|
749
749
|
}
|
|
750
750
|
];
|
|
751
|
-
readonly "
|
|
752
|
-
readonly "
|
|
751
|
+
readonly "stylistic/wrap-regex": import("./state.js").State.ON;
|
|
752
|
+
readonly "stylistic/yield-star-spacing": import("./state.js").State.ON;
|
|
753
753
|
};
|
|
754
754
|
})[];
|
|
755
755
|
export default _default;
|
|
@@ -2,9 +2,9 @@ import { State } from "./state.js";
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
name: string;
|
|
4
4
|
rules: {
|
|
5
|
-
readonly "
|
|
6
|
-
readonly "
|
|
7
|
-
readonly "
|
|
5
|
+
readonly "stylistic/array-bracket-newline": State.ON;
|
|
6
|
+
readonly "stylistic/array-bracket-spacing": State.ON;
|
|
7
|
+
readonly "stylistic/array-element-newline": readonly [
|
|
8
8
|
State.ON,
|
|
9
9
|
{
|
|
10
10
|
readonly consistent: true;
|
|
@@ -12,44 +12,44 @@ declare const _default: {
|
|
|
12
12
|
readonly minItems: 3;
|
|
13
13
|
}
|
|
14
14
|
];
|
|
15
|
-
readonly "
|
|
15
|
+
readonly "stylistic/arrow-parens": readonly [
|
|
16
16
|
State.ON,
|
|
17
17
|
"as-needed"
|
|
18
18
|
];
|
|
19
|
-
readonly "
|
|
20
|
-
readonly "
|
|
21
|
-
readonly "
|
|
19
|
+
readonly "stylistic/arrow-spacing": State.ON;
|
|
20
|
+
readonly "stylistic/block-spacing": State.ON;
|
|
21
|
+
readonly "stylistic/brace-style": readonly [
|
|
22
22
|
State.ON,
|
|
23
23
|
"stroustrup",
|
|
24
24
|
{
|
|
25
25
|
readonly allowSingleLine: true;
|
|
26
26
|
}
|
|
27
27
|
];
|
|
28
|
-
readonly "
|
|
28
|
+
readonly "stylistic/comma-dangle": readonly [
|
|
29
29
|
State.ON,
|
|
30
30
|
"always-multiline"
|
|
31
31
|
];
|
|
32
|
-
readonly "
|
|
33
|
-
readonly "
|
|
34
|
-
readonly "
|
|
35
|
-
readonly "
|
|
36
|
-
readonly "
|
|
32
|
+
readonly "stylistic/comma-spacing": State.ON;
|
|
33
|
+
readonly "stylistic/comma-style": State.ON;
|
|
34
|
+
readonly "stylistic/computed-property-spacing": State.ON;
|
|
35
|
+
readonly "stylistic/curly-newline": State.ON;
|
|
36
|
+
readonly "stylistic/dot-location": readonly [
|
|
37
37
|
State.ON,
|
|
38
38
|
"property"
|
|
39
39
|
];
|
|
40
|
-
readonly "
|
|
41
|
-
readonly "
|
|
40
|
+
readonly "stylistic/eol-last": State.ON;
|
|
41
|
+
readonly "stylistic/function-call-argument-newline": readonly [
|
|
42
42
|
State.ON,
|
|
43
43
|
"consistent"
|
|
44
44
|
];
|
|
45
|
-
readonly "
|
|
46
|
-
readonly "
|
|
45
|
+
readonly "stylistic/function-call-spacing": State.ON;
|
|
46
|
+
readonly "stylistic/function-paren-newline": readonly [
|
|
47
47
|
State.ON,
|
|
48
48
|
"multiline-arguments"
|
|
49
49
|
];
|
|
50
|
-
readonly "
|
|
51
|
-
readonly "
|
|
52
|
-
readonly "
|
|
50
|
+
readonly "stylistic/generator-star-spacing": State.ON;
|
|
51
|
+
readonly "stylistic/implicit-arrow-linebreak": State.ON;
|
|
52
|
+
readonly "stylistic/indent": readonly [
|
|
53
53
|
State.ON,
|
|
54
54
|
2,
|
|
55
55
|
{
|
|
@@ -63,13 +63,13 @@ declare const _default: {
|
|
|
63
63
|
readonly offsetTernaryExpressions: true;
|
|
64
64
|
}
|
|
65
65
|
];
|
|
66
|
-
readonly "
|
|
66
|
+
readonly "stylistic/indent-binary-ops": readonly [
|
|
67
67
|
State.ON,
|
|
68
68
|
2
|
|
69
69
|
];
|
|
70
|
-
readonly "
|
|
71
|
-
readonly "
|
|
72
|
-
readonly "
|
|
70
|
+
readonly "stylistic/key-spacing": State.ON;
|
|
71
|
+
readonly "stylistic/keyword-spacing": State.ON;
|
|
72
|
+
readonly "stylistic/lines-between-class-members": readonly [
|
|
73
73
|
State.ON,
|
|
74
74
|
{
|
|
75
75
|
readonly enforce: readonly [
|
|
@@ -91,7 +91,7 @@ declare const _default: {
|
|
|
91
91
|
];
|
|
92
92
|
}
|
|
93
93
|
];
|
|
94
|
-
readonly "
|
|
94
|
+
readonly "stylistic/max-len": readonly [
|
|
95
95
|
State.ON,
|
|
96
96
|
{
|
|
97
97
|
readonly code: 300;
|
|
@@ -103,18 +103,18 @@ declare const _default: {
|
|
|
103
103
|
readonly ignoreRegExpLiterals: true;
|
|
104
104
|
}
|
|
105
105
|
];
|
|
106
|
-
readonly "
|
|
107
|
-
readonly "
|
|
108
|
-
readonly "
|
|
106
|
+
readonly "stylistic/max-statements-per-line": State.ON;
|
|
107
|
+
readonly "stylistic/member-delimiter-style": State.ON;
|
|
108
|
+
readonly "stylistic/multiline-ternary": readonly [
|
|
109
109
|
State.ON,
|
|
110
110
|
"always-multiline"
|
|
111
111
|
];
|
|
112
|
-
readonly "
|
|
113
|
-
readonly "
|
|
114
|
-
readonly "
|
|
115
|
-
readonly "
|
|
116
|
-
readonly "
|
|
117
|
-
readonly "
|
|
112
|
+
readonly "stylistic/newline-per-chained-call": State.ON;
|
|
113
|
+
readonly "stylistic/no-extra-parens": State.ON;
|
|
114
|
+
readonly "stylistic/no-extra-semi": State.ON;
|
|
115
|
+
readonly "stylistic/no-floating-decimal": State.ON;
|
|
116
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": State.ON;
|
|
117
|
+
readonly "stylistic/no-multi-spaces": readonly [
|
|
118
118
|
State.ON,
|
|
119
119
|
{
|
|
120
120
|
readonly exceptions: {
|
|
@@ -123,7 +123,7 @@ declare const _default: {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
];
|
|
126
|
-
readonly "
|
|
126
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
127
127
|
State.ON,
|
|
128
128
|
{
|
|
129
129
|
readonly max: 1;
|
|
@@ -131,14 +131,14 @@ declare const _default: {
|
|
|
131
131
|
readonly maxEOF: 0;
|
|
132
132
|
}
|
|
133
133
|
];
|
|
134
|
-
readonly "
|
|
135
|
-
readonly "
|
|
136
|
-
readonly "
|
|
137
|
-
readonly "
|
|
134
|
+
readonly "stylistic/no-tabs": State.ON;
|
|
135
|
+
readonly "stylistic/no-trailing-spaces": State.ON;
|
|
136
|
+
readonly "stylistic/no-whitespace-before-property": State.ON;
|
|
137
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
138
138
|
State.ON,
|
|
139
139
|
"below"
|
|
140
140
|
];
|
|
141
|
-
readonly "
|
|
141
|
+
readonly "stylistic/object-curly-newline": readonly [
|
|
142
142
|
State.ON,
|
|
143
143
|
{
|
|
144
144
|
readonly consistent: true;
|
|
@@ -146,30 +146,30 @@ declare const _default: {
|
|
|
146
146
|
readonly minProperties: 3;
|
|
147
147
|
}
|
|
148
148
|
];
|
|
149
|
-
readonly "
|
|
149
|
+
readonly "stylistic/object-curly-spacing": readonly [
|
|
150
150
|
State.ON,
|
|
151
151
|
"always",
|
|
152
152
|
{
|
|
153
153
|
readonly emptyObjects: "never";
|
|
154
154
|
}
|
|
155
155
|
];
|
|
156
|
-
readonly "
|
|
157
|
-
readonly "
|
|
156
|
+
readonly "stylistic/object-property-newline": State.ON;
|
|
157
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
158
158
|
State.ON,
|
|
159
159
|
"always"
|
|
160
160
|
];
|
|
161
|
-
readonly "
|
|
161
|
+
readonly "stylistic/operator-linebreak": readonly [
|
|
162
162
|
State.ON,
|
|
163
163
|
"before"
|
|
164
164
|
];
|
|
165
|
-
readonly "
|
|
165
|
+
readonly "stylistic/padded-blocks": readonly [
|
|
166
166
|
State.ON,
|
|
167
167
|
"never",
|
|
168
168
|
{
|
|
169
169
|
readonly allowSingleLineBlocks: true;
|
|
170
170
|
}
|
|
171
171
|
];
|
|
172
|
-
readonly "
|
|
172
|
+
readonly "stylistic/padding-line-between-statements": readonly [
|
|
173
173
|
State.WARN,
|
|
174
174
|
{
|
|
175
175
|
readonly blankLine: "never";
|
|
@@ -354,14 +354,14 @@ declare const _default: {
|
|
|
354
354
|
];
|
|
355
355
|
}
|
|
356
356
|
];
|
|
357
|
-
readonly "
|
|
357
|
+
readonly "stylistic/quote-props": readonly [
|
|
358
358
|
State.ON,
|
|
359
359
|
"as-needed",
|
|
360
360
|
{
|
|
361
361
|
readonly keywords: true;
|
|
362
362
|
}
|
|
363
363
|
];
|
|
364
|
-
readonly "
|
|
364
|
+
readonly "stylistic/quotes": readonly [
|
|
365
365
|
State.ON,
|
|
366
366
|
"double",
|
|
367
367
|
{
|
|
@@ -369,21 +369,21 @@ declare const _default: {
|
|
|
369
369
|
readonly allowTemplateLiterals: "always";
|
|
370
370
|
}
|
|
371
371
|
];
|
|
372
|
-
readonly "
|
|
373
|
-
readonly "
|
|
374
|
-
readonly "
|
|
375
|
-
readonly "
|
|
376
|
-
readonly "
|
|
377
|
-
readonly "
|
|
372
|
+
readonly "stylistic/rest-spread-spacing": State.ON;
|
|
373
|
+
readonly "stylistic/semi": State.ON;
|
|
374
|
+
readonly "stylistic/semi-spacing": State.ON;
|
|
375
|
+
readonly "stylistic/semi-style": State.ON;
|
|
376
|
+
readonly "stylistic/space-before-blocks": State.ON;
|
|
377
|
+
readonly "stylistic/space-before-function-paren": readonly [
|
|
378
378
|
State.ON,
|
|
379
379
|
{
|
|
380
380
|
readonly named: "never";
|
|
381
381
|
}
|
|
382
382
|
];
|
|
383
|
-
readonly "
|
|
384
|
-
readonly "
|
|
385
|
-
readonly "
|
|
386
|
-
readonly "
|
|
383
|
+
readonly "stylistic/space-in-parens": State.ON;
|
|
384
|
+
readonly "stylistic/space-infix-ops": State.ON;
|
|
385
|
+
readonly "stylistic/space-unary-ops": State.ON;
|
|
386
|
+
readonly "stylistic/spaced-comment": readonly [
|
|
387
387
|
State.ON,
|
|
388
388
|
"always",
|
|
389
389
|
{
|
|
@@ -418,10 +418,10 @@ declare const _default: {
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
];
|
|
421
|
-
readonly "
|
|
422
|
-
readonly "
|
|
423
|
-
readonly "
|
|
424
|
-
readonly "
|
|
421
|
+
readonly "stylistic/switch-colon-spacing": State.ON;
|
|
422
|
+
readonly "stylistic/template-curly-spacing": State.ON;
|
|
423
|
+
readonly "stylistic/template-tag-spacing": State.ON;
|
|
424
|
+
readonly "stylistic/type-annotation-spacing": readonly [
|
|
425
425
|
State.ON,
|
|
426
426
|
{
|
|
427
427
|
readonly before: true;
|
|
@@ -434,17 +434,17 @@ declare const _default: {
|
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
];
|
|
437
|
-
readonly "
|
|
438
|
-
readonly "
|
|
439
|
-
readonly "
|
|
437
|
+
readonly "stylistic/type-generic-spacing": State.ON;
|
|
438
|
+
readonly "stylistic/type-named-tuple-spacing": State.ON;
|
|
439
|
+
readonly "stylistic/wrap-iife": readonly [
|
|
440
440
|
State.ON,
|
|
441
441
|
"inside",
|
|
442
442
|
{
|
|
443
443
|
readonly functionPrototypeMethods: true;
|
|
444
444
|
}
|
|
445
445
|
];
|
|
446
|
-
readonly "
|
|
447
|
-
readonly "
|
|
446
|
+
readonly "stylistic/wrap-regex": State.ON;
|
|
447
|
+
readonly "stylistic/yield-star-spacing": State.ON;
|
|
448
448
|
};
|
|
449
449
|
};
|
|
450
450
|
export default _default;
|