@eslinted/defaults 20.3.0 → 20.4.0-rc.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/dist/index.d.ts CHANGED
@@ -18,6 +18,55 @@ declare const _default: {
18
18
  rules: {
19
19
  readonly "stylistic/eol-last": import("./rules/state.js").State.WARN;
20
20
  readonly "stylistic/linebreak-style": import("./rules/state.js").State.WARN;
21
+ readonly "stylistic/exp-list-style": readonly [
22
+ import("./rules/state.js").State.WARN,
23
+ {
24
+ readonly singleLine: {
25
+ readonly maxItems: 2;
26
+ };
27
+ readonly overrides: {
28
+ readonly ExportNamedDeclaration: {
29
+ readonly singleLine: {
30
+ readonly maxItems: 1;
31
+ };
32
+ };
33
+ readonly TSInterfaceBody: {
34
+ readonly singleLine: {
35
+ readonly maxItems: 0;
36
+ readonly spacing: "never";
37
+ };
38
+ };
39
+ readonly TSEnumBody: {
40
+ readonly singleLine: {
41
+ readonly maxItems: 0;
42
+ readonly spacing: "never";
43
+ };
44
+ };
45
+ readonly TSTupleType: {
46
+ readonly singleLine: {
47
+ readonly maxItems: 3;
48
+ };
49
+ };
50
+ readonly TSTypeParameterDeclaration: {
51
+ readonly singleLine: {
52
+ readonly maxItems: 1;
53
+ };
54
+ };
55
+ readonly JSONArrayExpression: {
56
+ readonly singleLine: {
57
+ readonly maxItems: 0;
58
+ readonly spacing: "never";
59
+ };
60
+ };
61
+ readonly JSONObjectExpression: {
62
+ readonly singleLine: {
63
+ readonly maxItems: 0;
64
+ readonly spacing: "never";
65
+ };
66
+ };
67
+ };
68
+ }
69
+ ];
21
70
  };
22
71
  }[];
23
72
  js: ({
@@ -307,10 +356,10 @@ declare const _default: {
307
356
  };
308
357
  } | {
309
358
  rules: {
310
- readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.WARN;
311
- readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.WARN;
359
+ readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.OFF;
360
+ readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.OFF;
312
361
  readonly "stylistic/array-element-newline": readonly [
313
- import("./rules/state.js").State.WARN,
362
+ import("./rules/state.js").State.OFF,
314
363
  {
315
364
  readonly consistent: true;
316
365
  readonly multiline: true;
@@ -343,12 +392,12 @@ declare const _default: {
343
392
  "property"
344
393
  ];
345
394
  readonly "stylistic/function-call-argument-newline": readonly [
346
- import("./rules/state.js").State.WARN,
395
+ import("./rules/state.js").State.OFF,
347
396
  "consistent"
348
397
  ];
349
398
  readonly "stylistic/function-call-spacing": import("./rules/state.js").State.WARN;
350
399
  readonly "stylistic/function-paren-newline": readonly [
351
- import("./rules/state.js").State.WARN,
400
+ import("./rules/state.js").State.OFF,
352
401
  "multiline-arguments"
353
402
  ];
354
403
  readonly "stylistic/generator-star-spacing": import("./rules/state.js").State.WARN;
@@ -443,7 +492,7 @@ declare const _default: {
443
492
  "below"
444
493
  ];
445
494
  readonly "stylistic/object-curly-newline": readonly [
446
- import("./rules/state.js").State.WARN,
495
+ import("./rules/state.js").State.OFF,
447
496
  {
448
497
  readonly consistent: true;
449
498
  readonly multiline: true;
@@ -451,13 +500,13 @@ declare const _default: {
451
500
  }
452
501
  ];
453
502
  readonly "stylistic/object-curly-spacing": readonly [
454
- import("./rules/state.js").State.WARN,
503
+ import("./rules/state.js").State.OFF,
455
504
  "always",
456
505
  {
457
506
  readonly emptyObjects: "never";
458
507
  }
459
508
  ];
460
- readonly "stylistic/object-property-newline": import("./rules/state.js").State.WARN;
509
+ readonly "stylistic/object-property-newline": import("./rules/state.js").State.OFF;
461
510
  readonly "stylistic/one-var-declaration-per-line": readonly [
462
511
  import("./rules/state.js").State.WARN,
463
512
  "always"
@@ -499,7 +548,7 @@ declare const _default: {
499
548
  readonly named: "never";
500
549
  }
501
550
  ];
502
- readonly "stylistic/space-in-parens": import("./rules/state.js").State.WARN;
551
+ readonly "stylistic/space-in-parens": import("./rules/state.js").State.OFF;
503
552
  readonly "stylistic/space-infix-ops": import("./rules/state.js").State.WARN;
504
553
  readonly "stylistic/space-unary-ops": import("./rules/state.js").State.WARN;
505
554
  readonly "stylistic/spaced-comment": readonly [
@@ -983,9 +1032,9 @@ declare const _default: {
983
1032
  } | {
984
1033
  rules: {
985
1034
  readonly "jsonc/no-comments": import("./rules/state.js").State.ON;
986
- readonly "jsonc/array-bracket-spacing": import("./rules/state.js").State.WARN;
1035
+ readonly "jsonc/array-bracket-spacing": import("./rules/state.js").State.OFF;
987
1036
  readonly "jsonc/array-element-newline": readonly [
988
- import("./rules/state.js").State.WARN,
1037
+ import("./rules/state.js").State.OFF,
989
1038
  "consistent"
990
1039
  ];
991
1040
  readonly "jsonc/comma-dangle": import("./rules/state.js").State.ON;
@@ -1004,7 +1053,7 @@ declare const _default: {
1004
1053
  }
1005
1054
  ];
1006
1055
  readonly "jsonc/object-curly-newline": readonly [
1007
- import("./rules/state.js").State.WARN,
1056
+ import("./rules/state.js").State.OFF,
1008
1057
  {
1009
1058
  readonly consistent: true;
1010
1059
  readonly multiline: true;
@@ -1012,13 +1061,13 @@ declare const _default: {
1012
1061
  }
1013
1062
  ];
1014
1063
  readonly "jsonc/object-curly-spacing": readonly [
1015
- import("./rules/state.js").State.WARN,
1064
+ import("./rules/state.js").State.OFF,
1016
1065
  "always",
1017
1066
  {
1018
1067
  readonly emptyObjects: "never";
1019
1068
  }
1020
1069
  ];
1021
- readonly "jsonc/object-property-newline": import("./rules/state.js").State.WARN;
1070
+ readonly "jsonc/object-property-newline": import("./rules/state.js").State.OFF;
1022
1071
  };
1023
1072
  })[];
1024
1073
  jsonc: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -3,6 +3,55 @@ declare const _default: {
3
3
  rules: {
4
4
  readonly "stylistic/eol-last": State.WARN;
5
5
  readonly "stylistic/linebreak-style": State.WARN;
6
+ readonly "stylistic/exp-list-style": readonly [
7
+ State.WARN,
8
+ {
9
+ readonly singleLine: {
10
+ readonly maxItems: 2;
11
+ };
12
+ readonly overrides: {
13
+ readonly ExportNamedDeclaration: {
14
+ readonly singleLine: {
15
+ readonly maxItems: 1;
16
+ };
17
+ };
18
+ readonly TSInterfaceBody: {
19
+ readonly singleLine: {
20
+ readonly maxItems: 0;
21
+ readonly spacing: "never";
22
+ };
23
+ };
24
+ readonly TSEnumBody: {
25
+ readonly singleLine: {
26
+ readonly maxItems: 0;
27
+ readonly spacing: "never";
28
+ };
29
+ };
30
+ readonly TSTupleType: {
31
+ readonly singleLine: {
32
+ readonly maxItems: 3;
33
+ };
34
+ };
35
+ readonly TSTypeParameterDeclaration: {
36
+ readonly singleLine: {
37
+ readonly maxItems: 1;
38
+ };
39
+ };
40
+ readonly JSONArrayExpression: {
41
+ readonly singleLine: {
42
+ readonly maxItems: 0;
43
+ readonly spacing: "never";
44
+ };
45
+ };
46
+ readonly JSONObjectExpression: {
47
+ readonly singleLine: {
48
+ readonly maxItems: 0;
49
+ readonly spacing: "never";
50
+ };
51
+ };
52
+ };
53
+ }
54
+ ];
6
55
  };
7
56
  }[];
8
57
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/rules/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;AAEhC,wBAOE"}
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/rules/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhC,wBAwDE"}
@@ -3,6 +3,55 @@ export default [
3
3
  rules: {
4
4
  "stylistic/eol-last": 1,
5
5
  "stylistic/linebreak-style": 1,
6
+ "stylistic/exp-list-style": [
7
+ 1,
8
+ {
9
+ singleLine: {
10
+ maxItems: 2,
11
+ },
12
+ overrides: {
13
+ ExportNamedDeclaration: {
14
+ singleLine: {
15
+ maxItems: 1,
16
+ },
17
+ },
18
+ TSInterfaceBody: {
19
+ singleLine: {
20
+ maxItems: 0,
21
+ spacing: "never",
22
+ },
23
+ },
24
+ TSEnumBody: {
25
+ singleLine: {
26
+ maxItems: 0,
27
+ spacing: "never",
28
+ },
29
+ },
30
+ TSTupleType: {
31
+ singleLine: {
32
+ maxItems: 3,
33
+ },
34
+ },
35
+ TSTypeParameterDeclaration: {
36
+ singleLine: {
37
+ maxItems: 1,
38
+ },
39
+ },
40
+ JSONArrayExpression: {
41
+ singleLine: {
42
+ maxItems: 0,
43
+ spacing: "never",
44
+ },
45
+ },
46
+ JSONObjectExpression: {
47
+ singleLine: {
48
+ maxItems: 0,
49
+ spacing: "never",
50
+ },
51
+ },
52
+ },
53
+ },
54
+ ],
6
55
  },
7
56
  },
8
57
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/rules/global.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,oBAAoB,GAAY;YAChC,2BAA2B,GAAY;SAC/B;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/rules/global.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,oBAAoB,GAAY;YAChC,2BAA2B,GAAY;YACvC,0BAA0B,EAAE;;gBAE1B;oBACE,UAAU,EAAE;wBACV,QAAQ,EAAE,CAAC;qBACZ;oBACD,SAAS,EAAE;wBACT,sBAAsB,EAAE;4BACtB,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;6BACZ;yBACF;wBACD,eAAe,EAAE;4BACf,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;gCACX,OAAO,EAAE,OAAO;6BACjB;yBACF;wBACD,UAAU,EAAE;4BACV,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;gCACX,OAAO,EAAE,OAAO;6BACjB;yBACF;wBACD,WAAW,EAAE;4BACX,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;6BACZ;yBACF;wBACD,0BAA0B,EAAE;4BAC1B,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;6BACZ;yBACF;wBACD,mBAAmB,EAAE;4BACnB,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;gCACX,OAAO,EAAE,OAAO;6BACjB;yBACF;wBACD,oBAAoB,EAAE;4BACpB,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;gCACX,OAAO,EAAE,OAAO;6BACjB;yBACF;qBACF;iBACF;aACF;SACO;KACX;CACF,CAAC"}
@@ -3,6 +3,55 @@ declare const _default: {
3
3
  rules: {
4
4
  readonly "stylistic/eol-last": import("./state.js").State.WARN;
5
5
  readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
6
+ readonly "stylistic/exp-list-style": readonly [
7
+ import("./state.js").State.WARN,
8
+ {
9
+ readonly singleLine: {
10
+ readonly maxItems: 2;
11
+ };
12
+ readonly overrides: {
13
+ readonly ExportNamedDeclaration: {
14
+ readonly singleLine: {
15
+ readonly maxItems: 1;
16
+ };
17
+ };
18
+ readonly TSInterfaceBody: {
19
+ readonly singleLine: {
20
+ readonly maxItems: 0;
21
+ readonly spacing: "never";
22
+ };
23
+ };
24
+ readonly TSEnumBody: {
25
+ readonly singleLine: {
26
+ readonly maxItems: 0;
27
+ readonly spacing: "never";
28
+ };
29
+ };
30
+ readonly TSTupleType: {
31
+ readonly singleLine: {
32
+ readonly maxItems: 3;
33
+ };
34
+ };
35
+ readonly TSTypeParameterDeclaration: {
36
+ readonly singleLine: {
37
+ readonly maxItems: 1;
38
+ };
39
+ };
40
+ readonly JSONArrayExpression: {
41
+ readonly singleLine: {
42
+ readonly maxItems: 0;
43
+ readonly spacing: "never";
44
+ };
45
+ };
46
+ readonly JSONObjectExpression: {
47
+ readonly singleLine: {
48
+ readonly maxItems: 0;
49
+ readonly spacing: "never";
50
+ };
51
+ };
52
+ };
53
+ }
54
+ ];
6
55
  };
7
56
  }[];
8
57
  js: ({
@@ -292,10 +341,10 @@ declare const _default: {
292
341
  };
293
342
  } | {
294
343
  rules: {
295
- readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
296
- readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
344
+ readonly "stylistic/array-bracket-newline": import("./state.js").State.OFF;
345
+ readonly "stylistic/array-bracket-spacing": import("./state.js").State.OFF;
297
346
  readonly "stylistic/array-element-newline": readonly [
298
- import("./state.js").State.WARN,
347
+ import("./state.js").State.OFF,
299
348
  {
300
349
  readonly consistent: true;
301
350
  readonly multiline: true;
@@ -328,12 +377,12 @@ declare const _default: {
328
377
  "property"
329
378
  ];
330
379
  readonly "stylistic/function-call-argument-newline": readonly [
331
- import("./state.js").State.WARN,
380
+ import("./state.js").State.OFF,
332
381
  "consistent"
333
382
  ];
334
383
  readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
335
384
  readonly "stylistic/function-paren-newline": readonly [
336
- import("./state.js").State.WARN,
385
+ import("./state.js").State.OFF,
337
386
  "multiline-arguments"
338
387
  ];
339
388
  readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
@@ -428,7 +477,7 @@ declare const _default: {
428
477
  "below"
429
478
  ];
430
479
  readonly "stylistic/object-curly-newline": readonly [
431
- import("./state.js").State.WARN,
480
+ import("./state.js").State.OFF,
432
481
  {
433
482
  readonly consistent: true;
434
483
  readonly multiline: true;
@@ -436,13 +485,13 @@ declare const _default: {
436
485
  }
437
486
  ];
438
487
  readonly "stylistic/object-curly-spacing": readonly [
439
- import("./state.js").State.WARN,
488
+ import("./state.js").State.OFF,
440
489
  "always",
441
490
  {
442
491
  readonly emptyObjects: "never";
443
492
  }
444
493
  ];
445
- readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
494
+ readonly "stylistic/object-property-newline": import("./state.js").State.OFF;
446
495
  readonly "stylistic/one-var-declaration-per-line": readonly [
447
496
  import("./state.js").State.WARN,
448
497
  "always"
@@ -484,7 +533,7 @@ declare const _default: {
484
533
  readonly named: "never";
485
534
  }
486
535
  ];
487
- readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
536
+ readonly "stylistic/space-in-parens": import("./state.js").State.OFF;
488
537
  readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
489
538
  readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
490
539
  readonly "stylistic/spaced-comment": readonly [
@@ -968,9 +1017,9 @@ declare const _default: {
968
1017
  } | {
969
1018
  rules: {
970
1019
  readonly "jsonc/no-comments": import("./state.js").State.ON;
971
- readonly "jsonc/array-bracket-spacing": import("./state.js").State.WARN;
1020
+ readonly "jsonc/array-bracket-spacing": import("./state.js").State.OFF;
972
1021
  readonly "jsonc/array-element-newline": readonly [
973
- import("./state.js").State.WARN,
1022
+ import("./state.js").State.OFF,
974
1023
  "consistent"
975
1024
  ];
976
1025
  readonly "jsonc/comma-dangle": import("./state.js").State.ON;
@@ -989,7 +1038,7 @@ declare const _default: {
989
1038
  }
990
1039
  ];
991
1040
  readonly "jsonc/object-curly-newline": readonly [
992
- import("./state.js").State.WARN,
1041
+ import("./state.js").State.OFF,
993
1042
  {
994
1043
  readonly consistent: true;
995
1044
  readonly multiline: true;
@@ -997,13 +1046,13 @@ declare const _default: {
997
1046
  }
998
1047
  ];
999
1048
  readonly "jsonc/object-curly-spacing": readonly [
1000
- import("./state.js").State.WARN,
1049
+ import("./state.js").State.OFF,
1001
1050
  "always",
1002
1051
  {
1003
1052
  readonly emptyObjects: "never";
1004
1053
  }
1005
1054
  ];
1006
- readonly "jsonc/object-property-newline": import("./state.js").State.WARN;
1055
+ readonly "jsonc/object-property-newline": import("./state.js").State.OFF;
1007
1056
  };
1008
1057
  })[];
1009
1058
  jsonc: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAUE"}
@@ -285,10 +285,10 @@ declare const _default: ({
285
285
  };
286
286
  } | {
287
287
  rules: {
288
- readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
289
- readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
288
+ readonly "stylistic/array-bracket-newline": import("./state.js").State.OFF;
289
+ readonly "stylistic/array-bracket-spacing": import("./state.js").State.OFF;
290
290
  readonly "stylistic/array-element-newline": readonly [
291
- import("./state.js").State.WARN,
291
+ import("./state.js").State.OFF,
292
292
  {
293
293
  readonly consistent: true;
294
294
  readonly multiline: true;
@@ -321,12 +321,12 @@ declare const _default: ({
321
321
  "property"
322
322
  ];
323
323
  readonly "stylistic/function-call-argument-newline": readonly [
324
- import("./state.js").State.WARN,
324
+ import("./state.js").State.OFF,
325
325
  "consistent"
326
326
  ];
327
327
  readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
328
328
  readonly "stylistic/function-paren-newline": readonly [
329
- import("./state.js").State.WARN,
329
+ import("./state.js").State.OFF,
330
330
  "multiline-arguments"
331
331
  ];
332
332
  readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
@@ -421,7 +421,7 @@ declare const _default: ({
421
421
  "below"
422
422
  ];
423
423
  readonly "stylistic/object-curly-newline": readonly [
424
- import("./state.js").State.WARN,
424
+ import("./state.js").State.OFF,
425
425
  {
426
426
  readonly consistent: true;
427
427
  readonly multiline: true;
@@ -429,13 +429,13 @@ declare const _default: ({
429
429
  }
430
430
  ];
431
431
  readonly "stylistic/object-curly-spacing": readonly [
432
- import("./state.js").State.WARN,
432
+ import("./state.js").State.OFF,
433
433
  "always",
434
434
  {
435
435
  readonly emptyObjects: "never";
436
436
  }
437
437
  ];
438
- readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
438
+ readonly "stylistic/object-property-newline": import("./state.js").State.OFF;
439
439
  readonly "stylistic/one-var-declaration-per-line": readonly [
440
440
  import("./state.js").State.WARN,
441
441
  "always"
@@ -477,7 +477,7 @@ declare const _default: ({
477
477
  readonly named: "never";
478
478
  }
479
479
  ];
480
- readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
480
+ readonly "stylistic/space-in-parens": import("./state.js").State.OFF;
481
481
  readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
482
482
  readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
483
483
  readonly "stylistic/spaced-comment": readonly [
@@ -1,10 +1,10 @@
1
1
  import { State } from "./state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
- readonly "stylistic/array-bracket-newline": State.WARN;
5
- readonly "stylistic/array-bracket-spacing": State.WARN;
4
+ readonly "stylistic/array-bracket-newline": State.OFF;
5
+ readonly "stylistic/array-bracket-spacing": State.OFF;
6
6
  readonly "stylistic/array-element-newline": readonly [
7
- State.WARN,
7
+ State.OFF,
8
8
  {
9
9
  readonly consistent: true;
10
10
  readonly multiline: true;
@@ -37,12 +37,12 @@ declare const _default: {
37
37
  "property"
38
38
  ];
39
39
  readonly "stylistic/function-call-argument-newline": readonly [
40
- State.WARN,
40
+ State.OFF,
41
41
  "consistent"
42
42
  ];
43
43
  readonly "stylistic/function-call-spacing": State.WARN;
44
44
  readonly "stylistic/function-paren-newline": readonly [
45
- State.WARN,
45
+ State.OFF,
46
46
  "multiline-arguments"
47
47
  ];
48
48
  readonly "stylistic/generator-star-spacing": State.WARN;
@@ -137,7 +137,7 @@ declare const _default: {
137
137
  "below"
138
138
  ];
139
139
  readonly "stylistic/object-curly-newline": readonly [
140
- State.WARN,
140
+ State.OFF,
141
141
  {
142
142
  readonly consistent: true;
143
143
  readonly multiline: true;
@@ -145,13 +145,13 @@ declare const _default: {
145
145
  }
146
146
  ];
147
147
  readonly "stylistic/object-curly-spacing": readonly [
148
- State.WARN,
148
+ State.OFF,
149
149
  "always",
150
150
  {
151
151
  readonly emptyObjects: "never";
152
152
  }
153
153
  ];
154
- readonly "stylistic/object-property-newline": State.WARN;
154
+ readonly "stylistic/object-property-newline": State.OFF;
155
155
  readonly "stylistic/one-var-declaration-per-line": readonly [
156
156
  State.WARN,
157
157
  "always"
@@ -193,7 +193,7 @@ declare const _default: {
193
193
  readonly named: "never";
194
194
  }
195
195
  ];
196
- readonly "stylistic/space-in-parens": State.WARN;
196
+ readonly "stylistic/space-in-parens": State.OFF;
197
197
  readonly "stylistic/space-infix-ops": State.WARN;
198
198
  readonly "stylistic/space-unary-ops": State.WARN;
199
199
  readonly "stylistic/spaced-comment": readonly [
@@ -1,9 +1,9 @@
1
1
  export default {
2
2
  rules: {
3
- "stylistic/array-bracket-newline": 1,
4
- "stylistic/array-bracket-spacing": 1,
3
+ "stylistic/array-bracket-newline": 0,
4
+ "stylistic/array-bracket-spacing": 0,
5
5
  "stylistic/array-element-newline": [
6
- 1,
6
+ 0,
7
7
  {
8
8
  consistent: true,
9
9
  multiline: true,
@@ -36,12 +36,12 @@ export default {
36
36
  "property",
37
37
  ],
38
38
  "stylistic/function-call-argument-newline": [
39
- 1,
39
+ 0,
40
40
  "consistent",
41
41
  ],
42
42
  "stylistic/function-call-spacing": 1,
43
43
  "stylistic/function-paren-newline": [
44
- 1,
44
+ 0,
45
45
  "multiline-arguments",
46
46
  ],
47
47
  "stylistic/generator-star-spacing": 1,
@@ -136,7 +136,7 @@ export default {
136
136
  "below",
137
137
  ],
138
138
  "stylistic/object-curly-newline": [
139
- 1,
139
+ 0,
140
140
  {
141
141
  consistent: true,
142
142
  multiline: true,
@@ -144,13 +144,13 @@ export default {
144
144
  },
145
145
  ],
146
146
  "stylistic/object-curly-spacing": [
147
- 1,
147
+ 0,
148
148
  "always",
149
149
  {
150
150
  emptyObjects: "never",
151
151
  },
152
152
  ],
153
- "stylistic/object-property-newline": 1,
153
+ "stylistic/object-property-newline": 0,
154
154
  "stylistic/one-var-declaration-per-line": [
155
155
  1,
156
156
  "always",
@@ -192,7 +192,7 @@ export default {
192
192
  named: "never",
193
193
  },
194
194
  ],
195
- "stylistic/space-in-parens": 1,
195
+ "stylistic/space-in-parens": 0,
196
196
  "stylistic/space-infix-ops": 1,
197
197
  "stylistic/space-unary-ops": 1,
198
198
  "stylistic/spaced-comment": [
@@ -1 +1 @@
1
- {"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,iCAAiC,GAAY;QAC7C,iCAAiC,GAAY;QAC7C,iCAAiC,EAAE;;YAEjC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;aACZ;SACF;QACD,wBAAwB,EAAE;;YAExB,WAAW;SACZ;QACD,yBAAyB,GAAY;QACrC,yBAAyB,GAAY;QACrC,uBAAuB,EAAE;;YAEvB,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,wBAAwB,EAAE;;YAExB,kBAAkB;SACnB;QACD,yBAAyB,GAAY;QACrC,uBAAuB,GAAY;QACnC,qCAAqC,GAAY;QACjD,yBAAyB,GAAY;QACrC,wBAAwB,EAAE;;YAExB,UAAU;SACX;QAED,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAY;QAC7C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAY;QAC9C,oCAAoC,GAAY;QAChD,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;oBACN,OAAO,EAAE,CAAC;iBACX;gBACD,aAAa,EAAE,CAAC;gBAChB,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,6BAA6B,EAAE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EAAE;oBACT,KAAK,EAAE;wBACL,MAAM,EAAE,KAAK;wBACb,KAAK,EAAE,IAAI;qBACZ;iBACF;aACF;SACF;QACD,gCAAgC,GAAY;QAC5C,oCAAoC,GAAY;QAChD,qBAAqB,EAAE;;YAErB,QAAQ;YACR;gBACE,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,sBAAsB,GAAY;QAClC,8BAA8B,GAAY;KAClC;CACX,CAAC"}
1
+ {"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,iCAAiC,GAAW;QAC5C,iCAAiC,GAAW;QAC5C,iCAAiC,EAAE;;YAEjC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;aACZ;SACF;QACD,wBAAwB,EAAE;;YAExB,WAAW;SACZ;QACD,yBAAyB,GAAY;QACrC,yBAAyB,GAAY;QACrC,uBAAuB,EAAE;;YAEvB,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,wBAAwB,EAAE;;YAExB,kBAAkB;SACnB;QACD,yBAAyB,GAAY;QACrC,uBAAuB,GAAY;QACnC,qCAAqC,GAAY;QACjD,yBAAyB,GAAY;QACrC,wBAAwB,EAAE;;YAExB,UAAU;SACX;QAED,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAY;QAC7C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAY;QAC9C,oCAAoC,GAAY;QAChD,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;oBACN,OAAO,EAAE,CAAC;iBACX;gBACD,aAAa,EAAE,CAAC;gBAChB,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,6BAA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X,SAAS,EAAE;oBACT,KAAK,EAAE;wBACL,MAAM,EAAE,KAAK;wBACb,KAAK,EAAE,IAAI;qBACZ;iBACF;aACF;SACF;QACD,gCAAgC,GAAY;QAC5C,oCAAoC,GAAY;QAChD,qBAAqB,EAAE;;YAErB,QAAQ;YACR;gBACE,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,sBAAsB,GAAY;QAClC,8BAA8B,GAAY;KAClC;CACX,CAAC"}
@@ -6,9 +6,9 @@ declare const _default: ({
6
6
  } | {
7
7
  rules: {
8
8
  readonly "jsonc/no-comments": import("../state.js").State.ON;
9
- readonly "jsonc/array-bracket-spacing": import("../state.js").State.WARN;
9
+ readonly "jsonc/array-bracket-spacing": import("../state.js").State.OFF;
10
10
  readonly "jsonc/array-element-newline": readonly [
11
- import("../state.js").State.WARN,
11
+ import("../state.js").State.OFF,
12
12
  "consistent"
13
13
  ];
14
14
  readonly "jsonc/comma-dangle": import("../state.js").State.ON;
@@ -27,7 +27,7 @@ declare const _default: ({
27
27
  }
28
28
  ];
29
29
  readonly "jsonc/object-curly-newline": readonly [
30
- import("../state.js").State.WARN,
30
+ import("../state.js").State.OFF,
31
31
  {
32
32
  readonly consistent: true;
33
33
  readonly multiline: true;
@@ -35,13 +35,13 @@ declare const _default: ({
35
35
  }
36
36
  ];
37
37
  readonly "jsonc/object-curly-spacing": readonly [
38
- import("../state.js").State.WARN,
38
+ import("../state.js").State.OFF,
39
39
  "always",
40
40
  {
41
41
  readonly emptyObjects: "never";
42
42
  }
43
43
  ];
44
- readonly "jsonc/object-property-newline": import("../state.js").State.WARN;
44
+ readonly "jsonc/object-property-newline": import("../state.js").State.OFF;
45
45
  };
46
46
  })[];
47
47
  export default _default;
@@ -2,9 +2,9 @@ import { State } from "../state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
4
  readonly "jsonc/no-comments": State.ON;
5
- readonly "jsonc/array-bracket-spacing": State.WARN;
5
+ readonly "jsonc/array-bracket-spacing": State.OFF;
6
6
  readonly "jsonc/array-element-newline": readonly [
7
- State.WARN,
7
+ State.OFF,
8
8
  "consistent"
9
9
  ];
10
10
  readonly "jsonc/comma-dangle": State.ON;
@@ -23,7 +23,7 @@ declare const _default: {
23
23
  }
24
24
  ];
25
25
  readonly "jsonc/object-curly-newline": readonly [
26
- State.WARN,
26
+ State.OFF,
27
27
  {
28
28
  readonly consistent: true;
29
29
  readonly multiline: true;
@@ -31,13 +31,13 @@ declare const _default: {
31
31
  }
32
32
  ];
33
33
  readonly "jsonc/object-curly-spacing": readonly [
34
- State.WARN,
34
+ State.OFF,
35
35
  "always",
36
36
  {
37
37
  readonly emptyObjects: "never";
38
38
  }
39
39
  ];
40
- readonly "jsonc/object-property-newline": State.WARN;
40
+ readonly "jsonc/object-property-newline": State.OFF;
41
41
  };
42
42
  };
43
43
  export default _default;
@@ -1,9 +1,9 @@
1
1
  export default {
2
2
  rules: {
3
3
  "jsonc/no-comments": 2,
4
- "jsonc/array-bracket-spacing": 1,
4
+ "jsonc/array-bracket-spacing": 0,
5
5
  "jsonc/array-element-newline": [
6
- 1,
6
+ 0,
7
7
  "consistent",
8
8
  ],
9
9
  "jsonc/comma-dangle": 2,
@@ -22,7 +22,7 @@ export default {
22
22
  },
23
23
  ],
24
24
  "jsonc/object-curly-newline": [
25
- 1,
25
+ 0,
26
26
  {
27
27
  consistent: true,
28
28
  multiline: true,
@@ -30,13 +30,13 @@ export default {
30
30
  },
31
31
  ],
32
32
  "jsonc/object-curly-spacing": [
33
- 1,
33
+ 0,
34
34
  "always",
35
35
  {
36
36
  emptyObjects: "never",
37
37
  },
38
38
  ],
39
- "jsonc/object-property-newline": 1,
39
+ "jsonc/object-property-newline": 0,
40
40
  },
41
41
  };
42
42
  //# sourceMappingURL=jsonc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;QAmB7B,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAC/B,oBAAoB,GAAU;QAE9B,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QAMD,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;YACR;gBACE,YAAY,EAAE,OAAO;aACtB;SACF;QACD,+BAA+B,GAAY;KAInC;CACX,CAAC"}
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;QAmB7B,6BAA6B,GAAW;QACxC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAC/B,oBAAoB,GAAU;QAE9B,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QAMD,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;YACR;gBACE,YAAY,EAAE,OAAO;aACtB;SACF;QACD,+BAA+B,GAAW;KAIlC;CACX,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;AAGjC,wBAqDE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;AAGjC,wBAsDE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAEL,2CAA2C,GAAY;YACvD,8CAA8C,GAAY;YAC1D,mBAAmB,GAAY;YAC/B,6CAA6C,GAAY;YACzD,oBAAoB,GAAY;YAKhC,kBAAkB,GAAY;YAE9B,6BAA6B,GAAY;YACzC,mBAAmB,GAAY;YAI/B,wBAAwB,GAAY;YAWpC,6BAA6B,GAAU;YAEvC,oBAAoB,EAAE;;gBAEpB,QAAQ;gBACR;oBACE,UAAU,EAAE,CAAC,GAAG,CAAC;oBACjB,OAAO,EAAE;wBACP,GAAG;wBACH,GAAG;wBACH,IAAI;wBACJ,KAAK;wBACL,MAAM;wBACN,OAAO;wBACP,QAAQ;wBACR,WAAW;qBACZ;iBACF;aACF;SAEO;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAEL,2CAA2C,GAAY;YACvD,8CAA8C,GAAY;YAC1D,mBAAmB,GAAY;YAC/B,6CAA6C,GAAY;YACzD,oBAAoB,GAAY;YAKhC,kBAAkB,GAAY;YAE9B,6BAA6B,GAAY;YACzC,mBAAmB,GAAY;YAI/B,wBAAwB,GAAY;YAYpC,6BAA6B,GAAU;YAEvC,oBAAoB,EAAE;;gBAEpB,QAAQ;gBACR;oBACE,UAAU,EAAE,CAAC,GAAG,CAAC;oBACjB,OAAO,EAAE;wBACP,GAAG;wBACH,GAAG;wBACH,IAAI;wBACJ,KAAK;wBACL,MAAM;wBACN,OAAO;wBACP,QAAQ;wBACR,WAAW;qBACZ;iBACF;aACF;SAEO;KACX;CACF,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "20.3.0",
6
+ "version": "20.4.0-rc.1",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -5,6 +5,55 @@ export default [
5
5
  rules: {
6
6
  "stylistic/eol-last": State.WARN,
7
7
  "stylistic/linebreak-style": State.WARN,
8
+ "stylistic/exp-list-style": [
9
+ State.WARN,
10
+ {
11
+ singleLine: {
12
+ maxItems: 2,
13
+ },
14
+ overrides: {
15
+ ExportNamedDeclaration: {
16
+ singleLine: {
17
+ maxItems: 1,
18
+ },
19
+ },
20
+ TSInterfaceBody: {
21
+ singleLine: {
22
+ maxItems: 0,
23
+ spacing: "never",
24
+ },
25
+ },
26
+ TSEnumBody: {
27
+ singleLine: {
28
+ maxItems: 0,
29
+ spacing: "never",
30
+ },
31
+ },
32
+ TSTupleType: {
33
+ singleLine: {
34
+ maxItems: 3,
35
+ },
36
+ },
37
+ TSTypeParameterDeclaration: {
38
+ singleLine: {
39
+ maxItems: 1,
40
+ },
41
+ },
42
+ JSONArrayExpression: {
43
+ singleLine: {
44
+ maxItems: 0,
45
+ spacing: "never",
46
+ },
47
+ },
48
+ JSONObjectExpression: {
49
+ singleLine: {
50
+ maxItems: 0,
51
+ spacing: "never",
52
+ },
53
+ },
54
+ },
55
+ },
56
+ ],
8
57
  } as const,
9
58
  },
10
59
  ];
@@ -3,16 +3,16 @@ import { State } from "./state";
3
3
  // DOC: https://eslint.style/rules
4
4
  export default {
5
5
  rules: {
6
- "stylistic/array-bracket-newline": State.WARN,
7
- "stylistic/array-bracket-spacing": State.WARN,
6
+ "stylistic/array-bracket-newline": State.OFF /* @global stylistic/list-style */,
7
+ "stylistic/array-bracket-spacing": State.OFF /* @global stylistic/list-style */,
8
8
  "stylistic/array-element-newline": [
9
- State.WARN,
9
+ State.OFF,
10
10
  {
11
11
  consistent: true,
12
12
  multiline: true,
13
13
  minItems: 3,
14
14
  },
15
- ],
15
+ ] /* @global stylistic/list-style */,
16
16
  "stylistic/arrow-parens": [
17
17
  State.WARN,
18
18
  "as-needed",
@@ -40,14 +40,14 @@ export default {
40
40
  ],
41
41
  // "stylistic/eol-last": State.OFF /* @global */,
42
42
  "stylistic/function-call-argument-newline": [
43
- State.WARN,
43
+ State.OFF,
44
44
  "consistent",
45
- ],
45
+ ] /* @global stylistic/list-style */,
46
46
  "stylistic/function-call-spacing": State.WARN,
47
47
  "stylistic/function-paren-newline": [
48
- State.WARN,
48
+ State.OFF,
49
49
  "multiline-arguments",
50
- ] /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
50
+ ] /* @global stylistic/list-style | BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
51
51
  "stylistic/generator-star-spacing": State.WARN,
52
52
  "stylistic/implicit-arrow-linebreak": State.WARN,
53
53
  "stylistic/indent": [
@@ -147,21 +147,21 @@ export default {
147
147
  "below",
148
148
  ],
149
149
  "stylistic/object-curly-newline": [
150
- State.WARN,
150
+ State.OFF,
151
151
  {
152
152
  consistent: true,
153
153
  multiline: true,
154
154
  minProperties: 3,
155
155
  },
156
- ],
156
+ ] /* @global stylistic/list-style */,
157
157
  "stylistic/object-curly-spacing": [
158
- State.WARN,
158
+ State.OFF,
159
159
  "always",
160
160
  {
161
161
  emptyObjects: "never",
162
162
  },
163
- ],
164
- "stylistic/object-property-newline": State.WARN,
163
+ ] /* @global stylistic/list-style */,
164
+ "stylistic/object-property-newline": State.OFF /* @global stylistic/list-style */,
165
165
  "stylistic/one-var-declaration-per-line": [
166
166
  State.WARN,
167
167
  "always",
@@ -204,7 +204,7 @@ export default {
204
204
  named: "never",
205
205
  },
206
206
  ],
207
- "stylistic/space-in-parens": State.WARN,
207
+ "stylistic/space-in-parens": State.OFF /* @global stylistic/list-style */,
208
208
  "stylistic/space-infix-ops": State.WARN,
209
209
  "stylistic/space-unary-ops": State.WARN,
210
210
  "stylistic/spaced-comment": [
@@ -27,11 +27,11 @@ export default {
27
27
  // "jsonc/valid-json-number": State.OFF,
28
28
  // "jsonc/vue-custom-block/no-parsing-error": State.OFF,
29
29
  // "jsonc/array-bracket-newline": State.OFF /* BUG: DO NOT CONFIGURE */,
30
- "jsonc/array-bracket-spacing": State.WARN,
30
+ "jsonc/array-bracket-spacing": State.OFF /* @global stylistic/list-style */,
31
31
  "jsonc/array-element-newline": [
32
- State.WARN,
32
+ State.OFF,
33
33
  "consistent",
34
- ],
34
+ ] /* @global stylistic/list-style */,
35
35
  "jsonc/comma-dangle": State.ON,
36
36
  "jsonc/comma-style": State.WARN,
37
37
  "jsonc/indent": [
@@ -54,21 +54,21 @@ export default {
54
54
  // "jsonc/no-sparse-arrays": State.OFF,
55
55
  // "jsonc/no-useless-escape": State.OFF,
56
56
  "jsonc/object-curly-newline": [
57
- State.WARN,
57
+ State.OFF,
58
58
  {
59
59
  consistent: true,
60
60
  multiline: true,
61
61
  minProperties: 2,
62
62
  },
63
- ],
63
+ ] /* @global stylistic/list-style */,
64
64
  "jsonc/object-curly-spacing": [
65
- State.WARN,
65
+ State.OFF,
66
66
  "always",
67
67
  {
68
68
  emptyObjects: "never",
69
69
  },
70
- ],
71
- "jsonc/object-property-newline": State.WARN,
70
+ ] /* @global stylistic/list-style */,
71
+ "jsonc/object-property-newline": State.OFF /* @global stylistic/list-style */,
72
72
  // "jsonc/quote-props": State.OFF,
73
73
  // "jsonc/quotes": State.OFF,
74
74
  // "jsonc/space-unary-ops": State.OFF,
@@ -26,6 +26,7 @@ export default [
26
26
  // "yml/sort-sequence-values": State.OFF,
27
27
  // "yml/vue-custom-block/no-parsing-error": State.OFF,
28
28
  //#endregion
29
+
29
30
  //#region Extension
30
31
  // "yml/flow-mapping-curly-newline": State.OFF,
31
32
  // "yml/flow-mapping-curly-spacing": State.OFF,