@eslinted/defaults 9.2.0 → 10.0.0-rc.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/rules/index.d.ts +26 -86
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/js/enable-stylistic.d.ts +25 -85
- package/dist/rules/scopes/js/enable-stylistic.d.ts.map +1 -1
- package/dist/rules/scopes/js/enable-stylistic.js +116 -112
- package/dist/rules/scopes/js/enable-stylistic.js.map +1 -1
- package/dist/rules/scopes/js/index.d.ts +25 -85
- package/dist/rules/scopes/js/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable-ext.d.ts +1 -1
- package/dist/rules/scopes/json/enable-ext.js +1 -1
- package/dist/rules/scopes/json/index.d.ts +1 -1
- package/dist/rules/strings/option.d.ts +1 -1
- package/dist/rules/strings/option.d.ts.map +1 -1
- package/dist/rules/strings/option.js +1 -1
- package/dist/rules/strings/option.js.map +1 -1
- package/package.json +36 -35
- package/src/rules/scopes/js/enable-stylistic.ts +139 -122
- package/src/rules/scopes/json/enable-ext.ts +1 -1
- package/src/rules/strings/option.ts +1 -1
package/dist/rules/index.d.ts
CHANGED
|
@@ -363,12 +363,12 @@ export declare const rules: {
|
|
|
363
363
|
readonly ArrayExpression: {
|
|
364
364
|
readonly consistent: true;
|
|
365
365
|
readonly multiline: true;
|
|
366
|
-
readonly minItems:
|
|
366
|
+
readonly minItems: 3;
|
|
367
367
|
};
|
|
368
368
|
readonly ArrayPattern: {
|
|
369
369
|
readonly consistent: true;
|
|
370
370
|
readonly multiline: true;
|
|
371
|
-
readonly minItems:
|
|
371
|
+
readonly minItems: 3;
|
|
372
372
|
};
|
|
373
373
|
}];
|
|
374
374
|
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
|
|
@@ -501,7 +501,7 @@ export declare const rules: {
|
|
|
501
501
|
readonly exceptAfterOverload: true;
|
|
502
502
|
}];
|
|
503
503
|
readonly "@stylistic/max-len": readonly ["error", {
|
|
504
|
-
readonly code:
|
|
504
|
+
readonly code: 300;
|
|
505
505
|
readonly tabWidth: 2;
|
|
506
506
|
readonly ignoreComments: true;
|
|
507
507
|
readonly ignoreTrailingComments: true;
|
|
@@ -568,34 +568,28 @@ export declare const rules: {
|
|
|
568
568
|
}];
|
|
569
569
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
570
570
|
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
|
|
571
|
-
readonly overrides: {
|
|
572
|
-
readonly if: "below";
|
|
573
|
-
readonly else: "below";
|
|
574
|
-
readonly while: "below";
|
|
575
|
-
readonly do: "below";
|
|
576
|
-
readonly for: "below";
|
|
577
|
-
};
|
|
571
|
+
readonly overrides: {};
|
|
578
572
|
}];
|
|
579
573
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
|
580
574
|
readonly ObjectExpression: {
|
|
581
575
|
readonly consistent: true;
|
|
582
576
|
readonly multiline: true;
|
|
583
|
-
readonly minProperties:
|
|
577
|
+
readonly minProperties: 3;
|
|
584
578
|
};
|
|
585
579
|
readonly ObjectPattern: {
|
|
586
580
|
readonly consistent: true;
|
|
587
581
|
readonly multiline: true;
|
|
588
|
-
readonly minProperties:
|
|
582
|
+
readonly minProperties: 3;
|
|
589
583
|
};
|
|
590
584
|
readonly ImportDeclaration: {
|
|
591
585
|
readonly consistent: true;
|
|
592
586
|
readonly multiline: true;
|
|
593
|
-
readonly minProperties:
|
|
587
|
+
readonly minProperties: 3;
|
|
594
588
|
};
|
|
595
589
|
readonly ExportDeclaration: {
|
|
596
590
|
readonly consistent: true;
|
|
597
591
|
readonly multiline: true;
|
|
598
|
-
readonly minProperties:
|
|
592
|
+
readonly minProperties: 3;
|
|
599
593
|
};
|
|
600
594
|
}];
|
|
601
595
|
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
|
@@ -607,101 +601,47 @@ export declare const rules: {
|
|
|
607
601
|
}];
|
|
608
602
|
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
|
609
603
|
readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
|
|
610
|
-
readonly overrides: {
|
|
611
|
-
readonly "=": "after";
|
|
612
|
-
};
|
|
604
|
+
readonly overrides: {};
|
|
613
605
|
}];
|
|
614
|
-
readonly "@stylistic/padded-blocks": readonly ["error", {
|
|
615
|
-
readonly blocks: "never";
|
|
616
|
-
readonly classes: "never";
|
|
617
|
-
readonly switches: "never";
|
|
618
|
-
}, {
|
|
606
|
+
readonly "@stylistic/padded-blocks": readonly ["error", "never", {
|
|
619
607
|
readonly allowSingleLineBlocks: true;
|
|
620
608
|
}];
|
|
621
609
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
|
622
|
-
readonly
|
|
610
|
+
readonly blankline: "never";
|
|
611
|
+
readonly prev: readonly ["block-like", "block", "break", "case", "cjs-export", "cjs-import", "class", "const", "continue", "debugger", "default", "directive", "do", "empty", "enum", "export", "for", "function-overload", "function", "if", "iife", "import", "interface", "let", "multiline-block-like", "multiline-const", "multiline-export", "multiline-let", "multiline-var", "return", "singleline-const", "singleline-export", "singleline-let", "singleline-var", "switch", "throw", "try", "type", "var", "while", "with"];
|
|
623
612
|
readonly next: "*";
|
|
624
|
-
readonly blankLine: "always";
|
|
625
|
-
}, {
|
|
626
|
-
readonly prev: "directive";
|
|
627
|
-
readonly next: "directive";
|
|
628
|
-
readonly blankLine: "never";
|
|
629
613
|
}, {
|
|
630
|
-
readonly prev: readonly ["import", "cjs-import"];
|
|
631
|
-
readonly next: "*";
|
|
632
614
|
readonly blankLine: "always";
|
|
633
|
-
|
|
634
|
-
readonly prev: readonly ["import", "cjs-import"];
|
|
635
|
-
readonly next: readonly ["import", "cjs-import"];
|
|
636
|
-
readonly blankLine: "never";
|
|
637
|
-
}, {
|
|
638
|
-
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
|
639
|
-
readonly next: "*";
|
|
640
|
-
readonly blankLine: "always";
|
|
641
|
-
}, {
|
|
642
|
-
readonly prev: "case";
|
|
615
|
+
readonly prev: readonly ["block-like", "block", "class", "debugger", "directive", "do", "empty", "for", "function-overload", "function", "if", "interface", "multiline-block-like", "switch", "try", "while", "with"];
|
|
643
616
|
readonly next: "*";
|
|
644
|
-
readonly blankLine: "always";
|
|
645
|
-
}, {
|
|
646
|
-
readonly prev: "case";
|
|
647
|
-
readonly next: readonly ["case", "default"];
|
|
648
|
-
readonly blankLine: "always";
|
|
649
|
-
}, {
|
|
650
|
-
readonly prev: "default";
|
|
651
|
-
readonly next: "*";
|
|
652
|
-
readonly blankLine: "always";
|
|
653
617
|
}, {
|
|
654
|
-
readonly prev: "type";
|
|
655
|
-
readonly next: "*";
|
|
656
|
-
readonly blankLine: "always";
|
|
657
|
-
}, {
|
|
658
|
-
readonly prev: "type";
|
|
659
|
-
readonly next: "type";
|
|
660
618
|
readonly blankLine: "never";
|
|
619
|
+
readonly prev: "interface";
|
|
620
|
+
readonly next: readonly ["class", "function-overload", "function"];
|
|
661
621
|
}, {
|
|
662
|
-
readonly prev: "function";
|
|
663
|
-
readonly next: "*";
|
|
664
|
-
readonly blankLine: "always";
|
|
665
|
-
}, {
|
|
666
|
-
readonly prev: "function-overload";
|
|
667
|
-
readonly next: "*";
|
|
668
|
-
readonly blankLine: "always";
|
|
669
|
-
}, {
|
|
670
|
-
readonly prev: "function-overload";
|
|
671
|
-
readonly next: "function-overload";
|
|
672
622
|
readonly blankLine: "never";
|
|
673
|
-
}, {
|
|
674
623
|
readonly prev: "function-overload";
|
|
675
|
-
readonly next: "function";
|
|
676
|
-
readonly blankLine: "never";
|
|
624
|
+
readonly next: readonly ["function-overload", "function"];
|
|
677
625
|
}, {
|
|
678
|
-
readonly prev: readonly ["const", "let", "var"];
|
|
679
|
-
readonly next: "*";
|
|
680
626
|
readonly blankLine: "always";
|
|
627
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
628
|
+
readonly next: "*";
|
|
681
629
|
}, {
|
|
682
|
-
readonly prev: readonly ["const", "let", "var"];
|
|
683
|
-
readonly next: readonly ["const", "let", "var"];
|
|
684
630
|
readonly blankLine: "never";
|
|
631
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
632
|
+
readonly next: readonly ["cjs-import", "import"];
|
|
685
633
|
}, {
|
|
686
|
-
readonly prev: "expression";
|
|
687
|
-
readonly next: "*";
|
|
688
634
|
readonly blankLine: "always";
|
|
635
|
+
readonly prev: "*";
|
|
636
|
+
readonly next: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
689
637
|
}, {
|
|
690
|
-
readonly prev: "expression";
|
|
691
|
-
readonly next: "expression";
|
|
692
638
|
readonly blankLine: "never";
|
|
639
|
+
readonly prev: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
640
|
+
readonly next: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
693
641
|
}, {
|
|
694
|
-
readonly prev: "*";
|
|
695
|
-
readonly next: readonly ["throw", "return", "break", "continue"];
|
|
696
642
|
readonly blankLine: "always";
|
|
697
|
-
}, {
|
|
698
643
|
readonly prev: "*";
|
|
699
|
-
readonly next: readonly ["
|
|
700
|
-
readonly blankLine: "always";
|
|
701
|
-
}, {
|
|
702
|
-
readonly prev: readonly ["export", "cjs-export"];
|
|
703
|
-
readonly next: readonly ["export", "cjs-export"];
|
|
704
|
-
readonly blankLine: "never";
|
|
644
|
+
readonly next: readonly ["break", "continue", "return", "throw"];
|
|
705
645
|
}];
|
|
706
646
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
|
707
647
|
readonly keywords: true;
|
|
@@ -1579,7 +1519,7 @@ export declare const rules: {
|
|
|
1579
1519
|
readonly "jsonc/object-curly-newline": readonly ["error", {
|
|
1580
1520
|
readonly consistent: true;
|
|
1581
1521
|
readonly multiline: true;
|
|
1582
|
-
readonly minProperties:
|
|
1522
|
+
readonly minProperties: 3;
|
|
1583
1523
|
}];
|
|
1584
1524
|
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
|
1585
1525
|
readonly arraysInObjects: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAC"}
|
|
@@ -14,12 +14,12 @@ export declare const EnableStylistic: {
|
|
|
14
14
|
readonly ArrayExpression: {
|
|
15
15
|
readonly consistent: true;
|
|
16
16
|
readonly multiline: true;
|
|
17
|
-
readonly minItems:
|
|
17
|
+
readonly minItems: 3;
|
|
18
18
|
};
|
|
19
19
|
readonly ArrayPattern: {
|
|
20
20
|
readonly consistent: true;
|
|
21
21
|
readonly multiline: true;
|
|
22
|
-
readonly minItems:
|
|
22
|
+
readonly minItems: 3;
|
|
23
23
|
};
|
|
24
24
|
}];
|
|
25
25
|
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
|
|
@@ -152,7 +152,7 @@ export declare const EnableStylistic: {
|
|
|
152
152
|
readonly exceptAfterOverload: true;
|
|
153
153
|
}];
|
|
154
154
|
readonly "@stylistic/max-len": readonly ["error", {
|
|
155
|
-
readonly code:
|
|
155
|
+
readonly code: 300;
|
|
156
156
|
readonly tabWidth: 2;
|
|
157
157
|
readonly ignoreComments: true;
|
|
158
158
|
readonly ignoreTrailingComments: true;
|
|
@@ -219,34 +219,28 @@ export declare const EnableStylistic: {
|
|
|
219
219
|
}];
|
|
220
220
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
221
221
|
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
|
|
222
|
-
readonly overrides: {
|
|
223
|
-
readonly if: "below";
|
|
224
|
-
readonly else: "below";
|
|
225
|
-
readonly while: "below";
|
|
226
|
-
readonly do: "below";
|
|
227
|
-
readonly for: "below";
|
|
228
|
-
};
|
|
222
|
+
readonly overrides: {};
|
|
229
223
|
}];
|
|
230
224
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
|
231
225
|
readonly ObjectExpression: {
|
|
232
226
|
readonly consistent: true;
|
|
233
227
|
readonly multiline: true;
|
|
234
|
-
readonly minProperties:
|
|
228
|
+
readonly minProperties: 3;
|
|
235
229
|
};
|
|
236
230
|
readonly ObjectPattern: {
|
|
237
231
|
readonly consistent: true;
|
|
238
232
|
readonly multiline: true;
|
|
239
|
-
readonly minProperties:
|
|
233
|
+
readonly minProperties: 3;
|
|
240
234
|
};
|
|
241
235
|
readonly ImportDeclaration: {
|
|
242
236
|
readonly consistent: true;
|
|
243
237
|
readonly multiline: true;
|
|
244
|
-
readonly minProperties:
|
|
238
|
+
readonly minProperties: 3;
|
|
245
239
|
};
|
|
246
240
|
readonly ExportDeclaration: {
|
|
247
241
|
readonly consistent: true;
|
|
248
242
|
readonly multiline: true;
|
|
249
|
-
readonly minProperties:
|
|
243
|
+
readonly minProperties: 3;
|
|
250
244
|
};
|
|
251
245
|
}];
|
|
252
246
|
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
|
@@ -258,101 +252,47 @@ export declare const EnableStylistic: {
|
|
|
258
252
|
}];
|
|
259
253
|
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
|
260
254
|
readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
|
|
261
|
-
readonly overrides: {
|
|
262
|
-
readonly "=": "after";
|
|
263
|
-
};
|
|
255
|
+
readonly overrides: {};
|
|
264
256
|
}];
|
|
265
|
-
readonly "@stylistic/padded-blocks": readonly ["error", {
|
|
266
|
-
readonly blocks: "never";
|
|
267
|
-
readonly classes: "never";
|
|
268
|
-
readonly switches: "never";
|
|
269
|
-
}, {
|
|
257
|
+
readonly "@stylistic/padded-blocks": readonly ["error", "never", {
|
|
270
258
|
readonly allowSingleLineBlocks: true;
|
|
271
259
|
}];
|
|
272
260
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
|
273
|
-
readonly
|
|
261
|
+
readonly blankline: "never";
|
|
262
|
+
readonly prev: readonly ["block-like", "block", "break", "case", "cjs-export", "cjs-import", "class", "const", "continue", "debugger", "default", "directive", "do", "empty", "enum", "export", "for", "function-overload", "function", "if", "iife", "import", "interface", "let", "multiline-block-like", "multiline-const", "multiline-export", "multiline-let", "multiline-var", "return", "singleline-const", "singleline-export", "singleline-let", "singleline-var", "switch", "throw", "try", "type", "var", "while", "with"];
|
|
274
263
|
readonly next: "*";
|
|
275
|
-
readonly blankLine: "always";
|
|
276
|
-
}, {
|
|
277
|
-
readonly prev: "directive";
|
|
278
|
-
readonly next: "directive";
|
|
279
|
-
readonly blankLine: "never";
|
|
280
264
|
}, {
|
|
281
|
-
readonly prev: readonly ["import", "cjs-import"];
|
|
282
|
-
readonly next: "*";
|
|
283
265
|
readonly blankLine: "always";
|
|
284
|
-
|
|
285
|
-
readonly prev: readonly ["import", "cjs-import"];
|
|
286
|
-
readonly next: readonly ["import", "cjs-import"];
|
|
287
|
-
readonly blankLine: "never";
|
|
288
|
-
}, {
|
|
289
|
-
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
|
290
|
-
readonly next: "*";
|
|
291
|
-
readonly blankLine: "always";
|
|
292
|
-
}, {
|
|
293
|
-
readonly prev: "case";
|
|
266
|
+
readonly prev: readonly ["block-like", "block", "class", "debugger", "directive", "do", "empty", "for", "function-overload", "function", "if", "interface", "multiline-block-like", "switch", "try", "while", "with"];
|
|
294
267
|
readonly next: "*";
|
|
295
|
-
readonly blankLine: "always";
|
|
296
|
-
}, {
|
|
297
|
-
readonly prev: "case";
|
|
298
|
-
readonly next: readonly ["case", "default"];
|
|
299
|
-
readonly blankLine: "always";
|
|
300
|
-
}, {
|
|
301
|
-
readonly prev: "default";
|
|
302
|
-
readonly next: "*";
|
|
303
|
-
readonly blankLine: "always";
|
|
304
268
|
}, {
|
|
305
|
-
readonly prev: "type";
|
|
306
|
-
readonly next: "*";
|
|
307
|
-
readonly blankLine: "always";
|
|
308
|
-
}, {
|
|
309
|
-
readonly prev: "type";
|
|
310
|
-
readonly next: "type";
|
|
311
269
|
readonly blankLine: "never";
|
|
270
|
+
readonly prev: "interface";
|
|
271
|
+
readonly next: readonly ["class", "function-overload", "function"];
|
|
312
272
|
}, {
|
|
313
|
-
readonly prev: "function";
|
|
314
|
-
readonly next: "*";
|
|
315
|
-
readonly blankLine: "always";
|
|
316
|
-
}, {
|
|
317
|
-
readonly prev: "function-overload";
|
|
318
|
-
readonly next: "*";
|
|
319
|
-
readonly blankLine: "always";
|
|
320
|
-
}, {
|
|
321
|
-
readonly prev: "function-overload";
|
|
322
|
-
readonly next: "function-overload";
|
|
323
273
|
readonly blankLine: "never";
|
|
324
|
-
}, {
|
|
325
274
|
readonly prev: "function-overload";
|
|
326
|
-
readonly next: "function";
|
|
327
|
-
readonly blankLine: "never";
|
|
275
|
+
readonly next: readonly ["function-overload", "function"];
|
|
328
276
|
}, {
|
|
329
|
-
readonly prev: readonly ["const", "let", "var"];
|
|
330
|
-
readonly next: "*";
|
|
331
277
|
readonly blankLine: "always";
|
|
278
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
279
|
+
readonly next: "*";
|
|
332
280
|
}, {
|
|
333
|
-
readonly prev: readonly ["const", "let", "var"];
|
|
334
|
-
readonly next: readonly ["const", "let", "var"];
|
|
335
281
|
readonly blankLine: "never";
|
|
282
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
283
|
+
readonly next: readonly ["cjs-import", "import"];
|
|
336
284
|
}, {
|
|
337
|
-
readonly prev: "expression";
|
|
338
|
-
readonly next: "*";
|
|
339
285
|
readonly blankLine: "always";
|
|
286
|
+
readonly prev: "*";
|
|
287
|
+
readonly next: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
340
288
|
}, {
|
|
341
|
-
readonly prev: "expression";
|
|
342
|
-
readonly next: "expression";
|
|
343
289
|
readonly blankLine: "never";
|
|
290
|
+
readonly prev: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
291
|
+
readonly next: readonly ["cjs-export", "export", "multiline-export", "singleline-export"];
|
|
344
292
|
}, {
|
|
345
|
-
readonly prev: "*";
|
|
346
|
-
readonly next: readonly ["throw", "return", "break", "continue"];
|
|
347
293
|
readonly blankLine: "always";
|
|
348
|
-
}, {
|
|
349
294
|
readonly prev: "*";
|
|
350
|
-
readonly next: readonly ["
|
|
351
|
-
readonly blankLine: "always";
|
|
352
|
-
}, {
|
|
353
|
-
readonly prev: readonly ["export", "cjs-export"];
|
|
354
|
-
readonly next: readonly ["export", "cjs-export"];
|
|
355
|
-
readonly blankLine: "never";
|
|
295
|
+
readonly next: readonly ["break", "continue", "return", "throw"];
|
|
356
296
|
}];
|
|
357
297
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
|
358
298
|
readonly keywords: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-stylistic.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/js/enable-stylistic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enable-stylistic.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/js/enable-stylistic.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkpBlB,CAAC"}
|