@eslinted/defaults 20.4.0-rc.0 → 20.4.0-rc.2

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
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  json: string[];
15
15
  };
16
16
  rules: {
17
- "*": {
17
+ js: ({
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;
@@ -33,11 +33,13 @@ declare const _default: {
33
33
  readonly TSInterfaceBody: {
34
34
  readonly singleLine: {
35
35
  readonly maxItems: 0;
36
+ readonly spacing: "never";
36
37
  };
37
38
  };
38
39
  readonly TSEnumBody: {
39
40
  readonly singleLine: {
40
41
  readonly maxItems: 0;
42
+ readonly spacing: "never";
41
43
  };
42
44
  };
43
45
  readonly TSTupleType: {
@@ -53,19 +55,20 @@ declare const _default: {
53
55
  readonly JSONArrayExpression: {
54
56
  readonly singleLine: {
55
57
  readonly maxItems: 0;
58
+ readonly spacing: "never";
56
59
  };
57
60
  };
58
61
  readonly JSONObjectExpression: {
59
62
  readonly singleLine: {
60
63
  readonly maxItems: 0;
64
+ readonly spacing: "never";
61
65
  };
62
66
  };
63
67
  };
64
68
  }
65
69
  ];
66
70
  };
67
- }[];
68
- js: ({
71
+ }[] | {
69
72
  rules: {
70
73
  readonly "array-callback-return": readonly [
71
74
  import("./rules/state.js").State.ON,
@@ -352,16 +355,6 @@ declare const _default: {
352
355
  };
353
356
  } | {
354
357
  rules: {
355
- readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.OFF;
356
- readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.OFF;
357
- readonly "stylistic/array-element-newline": readonly [
358
- import("./rules/state.js").State.OFF,
359
- {
360
- readonly consistent: true;
361
- readonly multiline: true;
362
- readonly minItems: 3;
363
- }
364
- ];
365
358
  readonly "stylistic/arrow-parens": readonly [
366
359
  import("./rules/state.js").State.WARN,
367
360
  "as-needed"
@@ -387,15 +380,7 @@ declare const _default: {
387
380
  import("./rules/state.js").State.WARN,
388
381
  "property"
389
382
  ];
390
- readonly "stylistic/function-call-argument-newline": readonly [
391
- import("./rules/state.js").State.OFF,
392
- "consistent"
393
- ];
394
383
  readonly "stylistic/function-call-spacing": import("./rules/state.js").State.WARN;
395
- readonly "stylistic/function-paren-newline": readonly [
396
- import("./rules/state.js").State.OFF,
397
- "multiline-arguments"
398
- ];
399
384
  readonly "stylistic/generator-star-spacing": import("./rules/state.js").State.WARN;
400
385
  readonly "stylistic/implicit-arrow-linebreak": import("./rules/state.js").State.WARN;
401
386
  readonly "stylistic/indent": readonly [
@@ -487,22 +472,6 @@ declare const _default: {
487
472
  import("./rules/state.js").State.WARN,
488
473
  "below"
489
474
  ];
490
- readonly "stylistic/object-curly-newline": readonly [
491
- import("./rules/state.js").State.OFF,
492
- {
493
- readonly consistent: true;
494
- readonly multiline: true;
495
- readonly minProperties: 3;
496
- }
497
- ];
498
- readonly "stylistic/object-curly-spacing": readonly [
499
- import("./rules/state.js").State.OFF,
500
- "always",
501
- {
502
- readonly emptyObjects: "never";
503
- }
504
- ];
505
- readonly "stylistic/object-property-newline": import("./rules/state.js").State.OFF;
506
475
  readonly "stylistic/one-var-declaration-per-line": readonly [
507
476
  import("./rules/state.js").State.WARN,
508
477
  "always"
@@ -544,7 +513,6 @@ declare const _default: {
544
513
  readonly named: "never";
545
514
  }
546
515
  ];
547
- readonly "stylistic/space-in-parens": import("./rules/state.js").State.OFF;
548
516
  readonly "stylistic/space-infix-ops": import("./rules/state.js").State.WARN;
549
517
  readonly "stylistic/space-unary-ops": import("./rules/state.js").State.WARN;
550
518
  readonly "stylistic/spaced-comment": readonly [
@@ -1021,6 +989,60 @@ declare const _default: {
1021
989
  };
1022
990
  }[];
1023
991
  json: ({
992
+ rules: {
993
+ readonly "stylistic/eol-last": import("./rules/state.js").State.WARN;
994
+ readonly "stylistic/linebreak-style": import("./rules/state.js").State.WARN;
995
+ readonly "stylistic/exp-list-style": readonly [
996
+ import("./rules/state.js").State.WARN,
997
+ {
998
+ readonly singleLine: {
999
+ readonly maxItems: 2;
1000
+ };
1001
+ readonly overrides: {
1002
+ readonly ExportNamedDeclaration: {
1003
+ readonly singleLine: {
1004
+ readonly maxItems: 1;
1005
+ };
1006
+ };
1007
+ readonly TSInterfaceBody: {
1008
+ readonly singleLine: {
1009
+ readonly maxItems: 0;
1010
+ readonly spacing: "never";
1011
+ };
1012
+ };
1013
+ readonly TSEnumBody: {
1014
+ readonly singleLine: {
1015
+ readonly maxItems: 0;
1016
+ readonly spacing: "never";
1017
+ };
1018
+ };
1019
+ readonly TSTupleType: {
1020
+ readonly singleLine: {
1021
+ readonly maxItems: 3;
1022
+ };
1023
+ };
1024
+ readonly TSTypeParameterDeclaration: {
1025
+ readonly singleLine: {
1026
+ readonly maxItems: 1;
1027
+ };
1028
+ };
1029
+ readonly JSONArrayExpression: {
1030
+ readonly singleLine: {
1031
+ readonly maxItems: 0;
1032
+ readonly spacing: "never";
1033
+ };
1034
+ };
1035
+ readonly JSONObjectExpression: {
1036
+ readonly singleLine: {
1037
+ readonly maxItems: 0;
1038
+ readonly spacing: "never";
1039
+ };
1040
+ };
1041
+ };
1042
+ }
1043
+ ];
1044
+ };
1045
+ }[] | {
1024
1046
  rules: {
1025
1047
  readonly "json/no-unsafe-values": import("./rules/state.js").State.ON;
1026
1048
  readonly "json/no-unnormalized-keys": import("./rules/state.js").State.ON;
@@ -1028,11 +1050,6 @@ declare const _default: {
1028
1050
  } | {
1029
1051
  rules: {
1030
1052
  readonly "jsonc/no-comments": import("./rules/state.js").State.ON;
1031
- readonly "jsonc/array-bracket-spacing": import("./rules/state.js").State.OFF;
1032
- readonly "jsonc/array-element-newline": readonly [
1033
- import("./rules/state.js").State.OFF,
1034
- "consistent"
1035
- ];
1036
1053
  readonly "jsonc/comma-dangle": import("./rules/state.js").State.ON;
1037
1054
  readonly "jsonc/comma-style": import("./rules/state.js").State.WARN;
1038
1055
  readonly "jsonc/indent": readonly [
@@ -1048,22 +1065,6 @@ declare const _default: {
1048
1065
  readonly skipComments: true;
1049
1066
  }
1050
1067
  ];
1051
- readonly "jsonc/object-curly-newline": readonly [
1052
- import("./rules/state.js").State.OFF,
1053
- {
1054
- readonly consistent: true;
1055
- readonly multiline: true;
1056
- readonly minProperties: 2;
1057
- }
1058
- ];
1059
- readonly "jsonc/object-curly-spacing": readonly [
1060
- import("./rules/state.js").State.OFF,
1061
- "always",
1062
- {
1063
- readonly emptyObjects: "never";
1064
- }
1065
- ];
1066
- readonly "jsonc/object-property-newline": import("./rules/state.js").State.OFF;
1067
1068
  };
1068
1069
  })[];
1069
1070
  jsonc: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -18,11 +18,13 @@ declare const _default: {
18
18
  readonly TSInterfaceBody: {
19
19
  readonly singleLine: {
20
20
  readonly maxItems: 0;
21
+ readonly spacing: "never";
21
22
  };
22
23
  };
23
24
  readonly TSEnumBody: {
24
25
  readonly singleLine: {
25
26
  readonly maxItems: 0;
27
+ readonly spacing: "never";
26
28
  };
27
29
  };
28
30
  readonly TSTupleType: {
@@ -38,11 +40,13 @@ declare const _default: {
38
40
  readonly JSONArrayExpression: {
39
41
  readonly singleLine: {
40
42
  readonly maxItems: 0;
43
+ readonly spacing: "never";
41
44
  };
42
45
  };
43
46
  readonly JSONObjectExpression: {
44
47
  readonly singleLine: {
45
48
  readonly maxItems: 0;
49
+ readonly spacing: "never";
46
50
  };
47
51
  };
48
52
  };
@@ -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,wBAoDE"}
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"}
@@ -18,11 +18,13 @@ export default [
18
18
  TSInterfaceBody: {
19
19
  singleLine: {
20
20
  maxItems: 0,
21
+ spacing: "never",
21
22
  },
22
23
  },
23
24
  TSEnumBody: {
24
25
  singleLine: {
25
26
  maxItems: 0,
27
+ spacing: "never",
26
28
  },
27
29
  },
28
30
  TSTupleType: {
@@ -38,11 +40,13 @@ export default [
38
40
  JSONArrayExpression: {
39
41
  singleLine: {
40
42
  maxItems: 0,
43
+ spacing: "never",
41
44
  },
42
45
  },
43
46
  JSONObjectExpression: {
44
47
  singleLine: {
45
48
  maxItems: 0,
49
+ spacing: "never",
46
50
  },
47
51
  },
48
52
  },
@@ -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;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;6BACZ;yBACF;wBACD,UAAU,EAAE;4BACV,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;6BACZ;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;6BACZ;yBACF;wBACD,oBAAoB,EAAE;4BACpB,UAAU,EAAE;gCACV,QAAQ,EAAE,CAAC;6BACZ;yBACF;qBACF;iBACF;aACF;SACO;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"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "*": {
2
+ js: ({
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;
@@ -18,11 +18,13 @@ declare const _default: {
18
18
  readonly TSInterfaceBody: {
19
19
  readonly singleLine: {
20
20
  readonly maxItems: 0;
21
+ readonly spacing: "never";
21
22
  };
22
23
  };
23
24
  readonly TSEnumBody: {
24
25
  readonly singleLine: {
25
26
  readonly maxItems: 0;
27
+ readonly spacing: "never";
26
28
  };
27
29
  };
28
30
  readonly TSTupleType: {
@@ -38,19 +40,20 @@ declare const _default: {
38
40
  readonly JSONArrayExpression: {
39
41
  readonly singleLine: {
40
42
  readonly maxItems: 0;
43
+ readonly spacing: "never";
41
44
  };
42
45
  };
43
46
  readonly JSONObjectExpression: {
44
47
  readonly singleLine: {
45
48
  readonly maxItems: 0;
49
+ readonly spacing: "never";
46
50
  };
47
51
  };
48
52
  };
49
53
  }
50
54
  ];
51
55
  };
52
- }[];
53
- js: ({
56
+ }[] | {
54
57
  rules: {
55
58
  readonly "array-callback-return": readonly [
56
59
  import("./state.js").State.ON,
@@ -337,16 +340,6 @@ declare const _default: {
337
340
  };
338
341
  } | {
339
342
  rules: {
340
- readonly "stylistic/array-bracket-newline": import("./state.js").State.OFF;
341
- readonly "stylistic/array-bracket-spacing": import("./state.js").State.OFF;
342
- readonly "stylistic/array-element-newline": readonly [
343
- import("./state.js").State.OFF,
344
- {
345
- readonly consistent: true;
346
- readonly multiline: true;
347
- readonly minItems: 3;
348
- }
349
- ];
350
343
  readonly "stylistic/arrow-parens": readonly [
351
344
  import("./state.js").State.WARN,
352
345
  "as-needed"
@@ -372,15 +365,7 @@ declare const _default: {
372
365
  import("./state.js").State.WARN,
373
366
  "property"
374
367
  ];
375
- readonly "stylistic/function-call-argument-newline": readonly [
376
- import("./state.js").State.OFF,
377
- "consistent"
378
- ];
379
368
  readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
380
- readonly "stylistic/function-paren-newline": readonly [
381
- import("./state.js").State.OFF,
382
- "multiline-arguments"
383
- ];
384
369
  readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
385
370
  readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
386
371
  readonly "stylistic/indent": readonly [
@@ -472,22 +457,6 @@ declare const _default: {
472
457
  import("./state.js").State.WARN,
473
458
  "below"
474
459
  ];
475
- readonly "stylistic/object-curly-newline": readonly [
476
- import("./state.js").State.OFF,
477
- {
478
- readonly consistent: true;
479
- readonly multiline: true;
480
- readonly minProperties: 3;
481
- }
482
- ];
483
- readonly "stylistic/object-curly-spacing": readonly [
484
- import("./state.js").State.OFF,
485
- "always",
486
- {
487
- readonly emptyObjects: "never";
488
- }
489
- ];
490
- readonly "stylistic/object-property-newline": import("./state.js").State.OFF;
491
460
  readonly "stylistic/one-var-declaration-per-line": readonly [
492
461
  import("./state.js").State.WARN,
493
462
  "always"
@@ -529,7 +498,6 @@ declare const _default: {
529
498
  readonly named: "never";
530
499
  }
531
500
  ];
532
- readonly "stylistic/space-in-parens": import("./state.js").State.OFF;
533
501
  readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
534
502
  readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
535
503
  readonly "stylistic/spaced-comment": readonly [
@@ -1006,6 +974,60 @@ declare const _default: {
1006
974
  };
1007
975
  }[];
1008
976
  json: ({
977
+ rules: {
978
+ readonly "stylistic/eol-last": import("./state.js").State.WARN;
979
+ readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
980
+ readonly "stylistic/exp-list-style": readonly [
981
+ import("./state.js").State.WARN,
982
+ {
983
+ readonly singleLine: {
984
+ readonly maxItems: 2;
985
+ };
986
+ readonly overrides: {
987
+ readonly ExportNamedDeclaration: {
988
+ readonly singleLine: {
989
+ readonly maxItems: 1;
990
+ };
991
+ };
992
+ readonly TSInterfaceBody: {
993
+ readonly singleLine: {
994
+ readonly maxItems: 0;
995
+ readonly spacing: "never";
996
+ };
997
+ };
998
+ readonly TSEnumBody: {
999
+ readonly singleLine: {
1000
+ readonly maxItems: 0;
1001
+ readonly spacing: "never";
1002
+ };
1003
+ };
1004
+ readonly TSTupleType: {
1005
+ readonly singleLine: {
1006
+ readonly maxItems: 3;
1007
+ };
1008
+ };
1009
+ readonly TSTypeParameterDeclaration: {
1010
+ readonly singleLine: {
1011
+ readonly maxItems: 1;
1012
+ };
1013
+ };
1014
+ readonly JSONArrayExpression: {
1015
+ readonly singleLine: {
1016
+ readonly maxItems: 0;
1017
+ readonly spacing: "never";
1018
+ };
1019
+ };
1020
+ readonly JSONObjectExpression: {
1021
+ readonly singleLine: {
1022
+ readonly maxItems: 0;
1023
+ readonly spacing: "never";
1024
+ };
1025
+ };
1026
+ };
1027
+ }
1028
+ ];
1029
+ };
1030
+ }[] | {
1009
1031
  rules: {
1010
1032
  readonly "json/no-unsafe-values": import("./state.js").State.ON;
1011
1033
  readonly "json/no-unnormalized-keys": import("./state.js").State.ON;
@@ -1013,11 +1035,6 @@ declare const _default: {
1013
1035
  } | {
1014
1036
  rules: {
1015
1037
  readonly "jsonc/no-comments": import("./state.js").State.ON;
1016
- readonly "jsonc/array-bracket-spacing": import("./state.js").State.OFF;
1017
- readonly "jsonc/array-element-newline": readonly [
1018
- import("./state.js").State.OFF,
1019
- "consistent"
1020
- ];
1021
1038
  readonly "jsonc/comma-dangle": import("./state.js").State.ON;
1022
1039
  readonly "jsonc/comma-style": import("./state.js").State.WARN;
1023
1040
  readonly "jsonc/indent": readonly [
@@ -1033,22 +1050,6 @@ declare const _default: {
1033
1050
  readonly skipComments: true;
1034
1051
  }
1035
1052
  ];
1036
- readonly "jsonc/object-curly-newline": readonly [
1037
- import("./state.js").State.OFF,
1038
- {
1039
- readonly consistent: true;
1040
- readonly multiline: true;
1041
- readonly minProperties: 2;
1042
- }
1043
- ];
1044
- readonly "jsonc/object-curly-spacing": readonly [
1045
- import("./state.js").State.OFF,
1046
- "always",
1047
- {
1048
- readonly emptyObjects: "never";
1049
- }
1050
- ];
1051
- readonly "jsonc/object-property-newline": import("./state.js").State.OFF;
1052
1053
  };
1053
1054
  })[];
1054
1055
  jsonc: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
@@ -1,4 +1,3 @@
1
- import global from "./global.js";
2
1
  import js from "./js.js";
3
2
  import ts from "./ts/index.js";
4
3
  import svelte from "./svelte/index.js";
@@ -8,7 +7,6 @@ import json from "./json/index.js";
8
7
  import jsonc from "./jsonc/index.js";
9
8
  import yml from "./yml/index.js";
10
9
  export default {
11
- "*": global,
12
10
  js,
13
11
  ts,
14
12
  svelte,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,GAAG,EAAE,MAAM;IACX,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
@@ -1,4 +1,58 @@
1
1
  declare const _default: ({
2
+ rules: {
3
+ readonly "stylistic/eol-last": import("./state.js").State.WARN;
4
+ readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
5
+ readonly "stylistic/exp-list-style": readonly [
6
+ import("./state.js").State.WARN,
7
+ {
8
+ readonly singleLine: {
9
+ readonly maxItems: 2;
10
+ };
11
+ readonly overrides: {
12
+ readonly ExportNamedDeclaration: {
13
+ readonly singleLine: {
14
+ readonly maxItems: 1;
15
+ };
16
+ };
17
+ readonly TSInterfaceBody: {
18
+ readonly singleLine: {
19
+ readonly maxItems: 0;
20
+ readonly spacing: "never";
21
+ };
22
+ };
23
+ readonly TSEnumBody: {
24
+ readonly singleLine: {
25
+ readonly maxItems: 0;
26
+ readonly spacing: "never";
27
+ };
28
+ };
29
+ readonly TSTupleType: {
30
+ readonly singleLine: {
31
+ readonly maxItems: 3;
32
+ };
33
+ };
34
+ readonly TSTypeParameterDeclaration: {
35
+ readonly singleLine: {
36
+ readonly maxItems: 1;
37
+ };
38
+ };
39
+ readonly JSONArrayExpression: {
40
+ readonly singleLine: {
41
+ readonly maxItems: 0;
42
+ readonly spacing: "never";
43
+ };
44
+ };
45
+ readonly JSONObjectExpression: {
46
+ readonly singleLine: {
47
+ readonly maxItems: 0;
48
+ readonly spacing: "never";
49
+ };
50
+ };
51
+ };
52
+ }
53
+ ];
54
+ };
55
+ }[] | {
2
56
  rules: {
3
57
  readonly "array-callback-return": readonly [
4
58
  import("./state.js").State.ON,
@@ -285,16 +339,6 @@ declare const _default: ({
285
339
  };
286
340
  } | {
287
341
  rules: {
288
- readonly "stylistic/array-bracket-newline": import("./state.js").State.OFF;
289
- readonly "stylistic/array-bracket-spacing": import("./state.js").State.OFF;
290
- readonly "stylistic/array-element-newline": readonly [
291
- import("./state.js").State.OFF,
292
- {
293
- readonly consistent: true;
294
- readonly multiline: true;
295
- readonly minItems: 3;
296
- }
297
- ];
298
342
  readonly "stylistic/arrow-parens": readonly [
299
343
  import("./state.js").State.WARN,
300
344
  "as-needed"
@@ -320,15 +364,7 @@ declare const _default: ({
320
364
  import("./state.js").State.WARN,
321
365
  "property"
322
366
  ];
323
- readonly "stylistic/function-call-argument-newline": readonly [
324
- import("./state.js").State.OFF,
325
- "consistent"
326
- ];
327
367
  readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
328
- readonly "stylistic/function-paren-newline": readonly [
329
- import("./state.js").State.OFF,
330
- "multiline-arguments"
331
- ];
332
368
  readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
333
369
  readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
334
370
  readonly "stylistic/indent": readonly [
@@ -420,22 +456,6 @@ declare const _default: ({
420
456
  import("./state.js").State.WARN,
421
457
  "below"
422
458
  ];
423
- readonly "stylistic/object-curly-newline": readonly [
424
- import("./state.js").State.OFF,
425
- {
426
- readonly consistent: true;
427
- readonly multiline: true;
428
- readonly minProperties: 3;
429
- }
430
- ];
431
- readonly "stylistic/object-curly-spacing": readonly [
432
- import("./state.js").State.OFF,
433
- "always",
434
- {
435
- readonly emptyObjects: "never";
436
- }
437
- ];
438
- readonly "stylistic/object-property-newline": import("./state.js").State.OFF;
439
459
  readonly "stylistic/one-var-declaration-per-line": readonly [
440
460
  import("./state.js").State.WARN,
441
461
  "always"
@@ -477,7 +497,6 @@ declare const _default: ({
477
497
  readonly named: "never";
478
498
  }
479
499
  ];
480
- readonly "stylistic/space-in-parens": import("./state.js").State.OFF;
481
500
  readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
482
501
  readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
483
502
  readonly "stylistic/spaced-comment": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
package/dist/rules/js.js CHANGED
@@ -1,6 +1,8 @@
1
+ import global from "./global.js";
1
2
  import eslint from "./js.eslint.js";
2
3
  import stylistic from "./js.stylistic.js";
3
4
  export default [
5
+ global,
4
6
  eslint,
5
7
  stylistic,
6
8
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,eAAe;IACb,MAAM;IACN,SAAS;CACV,CAAC"}
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,eAAe;IACb,MAAM;IACN,MAAM;IACN,SAAS;CACV,CAAC"}
@@ -1,16 +1,6 @@
1
1
  import { State } from "./state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
- readonly "stylistic/array-bracket-newline": State.OFF;
5
- readonly "stylistic/array-bracket-spacing": State.OFF;
6
- readonly "stylistic/array-element-newline": readonly [
7
- State.OFF,
8
- {
9
- readonly consistent: true;
10
- readonly multiline: true;
11
- readonly minItems: 3;
12
- }
13
- ];
14
4
  readonly "stylistic/arrow-parens": readonly [
15
5
  State.WARN,
16
6
  "as-needed"
@@ -36,15 +26,7 @@ declare const _default: {
36
26
  State.WARN,
37
27
  "property"
38
28
  ];
39
- readonly "stylistic/function-call-argument-newline": readonly [
40
- State.OFF,
41
- "consistent"
42
- ];
43
29
  readonly "stylistic/function-call-spacing": State.WARN;
44
- readonly "stylistic/function-paren-newline": readonly [
45
- State.OFF,
46
- "multiline-arguments"
47
- ];
48
30
  readonly "stylistic/generator-star-spacing": State.WARN;
49
31
  readonly "stylistic/implicit-arrow-linebreak": State.WARN;
50
32
  readonly "stylistic/indent": readonly [
@@ -136,22 +118,6 @@ declare const _default: {
136
118
  State.WARN,
137
119
  "below"
138
120
  ];
139
- readonly "stylistic/object-curly-newline": readonly [
140
- State.OFF,
141
- {
142
- readonly consistent: true;
143
- readonly multiline: true;
144
- readonly minProperties: 3;
145
- }
146
- ];
147
- readonly "stylistic/object-curly-spacing": readonly [
148
- State.OFF,
149
- "always",
150
- {
151
- readonly emptyObjects: "never";
152
- }
153
- ];
154
- readonly "stylistic/object-property-newline": State.OFF;
155
121
  readonly "stylistic/one-var-declaration-per-line": readonly [
156
122
  State.WARN,
157
123
  "always"
@@ -193,7 +159,6 @@ declare const _default: {
193
159
  readonly named: "never";
194
160
  }
195
161
  ];
196
- readonly "stylistic/space-in-parens": State.OFF;
197
162
  readonly "stylistic/space-infix-ops": State.WARN;
198
163
  readonly "stylistic/space-unary-ops": State.WARN;
199
164
  readonly "stylistic/spaced-comment": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"js.stylistic.d.ts","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBAyQE"}
1
+ {"version":3,"file":"js.stylistic.d.ts","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBA+OE"}
@@ -1,15 +1,5 @@
1
1
  export default {
2
2
  rules: {
3
- "stylistic/array-bracket-newline": 0,
4
- "stylistic/array-bracket-spacing": 0,
5
- "stylistic/array-element-newline": [
6
- 0,
7
- {
8
- consistent: true,
9
- multiline: true,
10
- minItems: 3,
11
- },
12
- ],
13
3
  "stylistic/arrow-parens": [
14
4
  1,
15
5
  "as-needed",
@@ -35,15 +25,7 @@ export default {
35
25
  1,
36
26
  "property",
37
27
  ],
38
- "stylistic/function-call-argument-newline": [
39
- 0,
40
- "consistent",
41
- ],
42
28
  "stylistic/function-call-spacing": 1,
43
- "stylistic/function-paren-newline": [
44
- 0,
45
- "multiline-arguments",
46
- ],
47
29
  "stylistic/generator-star-spacing": 1,
48
30
  "stylistic/implicit-arrow-linebreak": 1,
49
31
  "stylistic/indent": [
@@ -135,22 +117,6 @@ export default {
135
117
  1,
136
118
  "below",
137
119
  ],
138
- "stylistic/object-curly-newline": [
139
- 0,
140
- {
141
- consistent: true,
142
- multiline: true,
143
- minProperties: 3,
144
- },
145
- ],
146
- "stylistic/object-curly-spacing": [
147
- 0,
148
- "always",
149
- {
150
- emptyObjects: "never",
151
- },
152
- ],
153
- "stylistic/object-property-newline": 0,
154
120
  "stylistic/one-var-declaration-per-line": [
155
121
  1,
156
122
  "always",
@@ -192,7 +158,6 @@ export default {
192
158
  named: "never",
193
159
  },
194
160
  ],
195
- "stylistic/space-in-parens": 0,
196
161
  "stylistic/space-infix-ops": 1,
197
162
  "stylistic/space-unary-ops": 1,
198
163
  "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,GAAW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I;gBACjB,qBAAqB,EAAE,QAAQ;aAChC;SACF;QACD,+BAA+B,GAAY;QAC3C,gBAAgB,GAAY;QAC5B,wBAAwB,GAAY;QACpC,sBAAsB,GAAY;QAClC,+BAA+B,GAAY;QAC3C,uCAAuC,EAAE;;YAEvC;gBACE,KAAK,EAAE,OAAO;aACf;SACF;QACD,2BAA2B,GAAW;QACtC,2BAA2B,GAAY;QACvC,2BAA2B,GAAY;QACvC,0BAA0B,EAAE;;YAE1B,QAAQ;YACR;gBACE,IAAI,EAAE;oBACJ,UAAU,EAAE;wBACV,GAAG;wBACH,GAAG;wBACH,GAAG;wBACH,GAAG;qBACJ;oBACD,OAAO,EAAE;wBACP,GAAG;wBACH,GAAG;wBACH,GAAG;wBACH,GAAG;wBACH,SAAS;wBACT,YAAY;wBACZ,OAAO;wBACP,UAAU;wBACV,aAAa;wBACb,QAAQ;qBACT;iBACF;gBACD,KAAK,EAAE;oBACL,UAAU,EAAE,CAAC,GAAG,CAAC;oBACjB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF;SACF;QACD,gCAAgC,GAAY;QAC5C,kCAAkC,GAAY;QAC9C,gCAAgC,GAAY;QAC5C,mCAAmC,EAAE;;YAEnC;gBACE,MAAM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;gBACX,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"}
1
+ {"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAIL,wBA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AG;wBACH,GAAG;wBACH,SAAS;wBACT,YAAY;wBACZ,OAAO;wBACP,UAAU;wBACV,aAAa;wBACb,QAAQ;qBACT;iBACF;gBACD,KAAK,EAAE;oBACL,UAAU,EAAE,CAAC,GAAG,CAAC;oBACjB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF;SACF;QACD,gCAAgC,GAAY;QAC5C,kCAAkC,GAAY;QAC9C,gCAAgC,GAAY;QAC5C,mCAAmC,EAAE;;YAEnC;gBACE,MAAM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;gBACX,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"}
@@ -1,4 +1,58 @@
1
1
  declare const _default: ({
2
+ rules: {
3
+ readonly "stylistic/eol-last": import("../state.js").State.WARN;
4
+ readonly "stylistic/linebreak-style": import("../state.js").State.WARN;
5
+ readonly "stylistic/exp-list-style": readonly [
6
+ import("../state.js").State.WARN,
7
+ {
8
+ readonly singleLine: {
9
+ readonly maxItems: 2;
10
+ };
11
+ readonly overrides: {
12
+ readonly ExportNamedDeclaration: {
13
+ readonly singleLine: {
14
+ readonly maxItems: 1;
15
+ };
16
+ };
17
+ readonly TSInterfaceBody: {
18
+ readonly singleLine: {
19
+ readonly maxItems: 0;
20
+ readonly spacing: "never";
21
+ };
22
+ };
23
+ readonly TSEnumBody: {
24
+ readonly singleLine: {
25
+ readonly maxItems: 0;
26
+ readonly spacing: "never";
27
+ };
28
+ };
29
+ readonly TSTupleType: {
30
+ readonly singleLine: {
31
+ readonly maxItems: 3;
32
+ };
33
+ };
34
+ readonly TSTypeParameterDeclaration: {
35
+ readonly singleLine: {
36
+ readonly maxItems: 1;
37
+ };
38
+ };
39
+ readonly JSONArrayExpression: {
40
+ readonly singleLine: {
41
+ readonly maxItems: 0;
42
+ readonly spacing: "never";
43
+ };
44
+ };
45
+ readonly JSONObjectExpression: {
46
+ readonly singleLine: {
47
+ readonly maxItems: 0;
48
+ readonly spacing: "never";
49
+ };
50
+ };
51
+ };
52
+ }
53
+ ];
54
+ };
55
+ }[] | {
2
56
  rules: {
3
57
  readonly "json/no-unsafe-values": import("../state.js").State.ON;
4
58
  readonly "json/no-unnormalized-keys": import("../state.js").State.ON;
@@ -6,11 +60,6 @@ declare const _default: ({
6
60
  } | {
7
61
  rules: {
8
62
  readonly "jsonc/no-comments": import("../state.js").State.ON;
9
- readonly "jsonc/array-bracket-spacing": import("../state.js").State.OFF;
10
- readonly "jsonc/array-element-newline": readonly [
11
- import("../state.js").State.OFF,
12
- "consistent"
13
- ];
14
63
  readonly "jsonc/comma-dangle": import("../state.js").State.ON;
15
64
  readonly "jsonc/comma-style": import("../state.js").State.WARN;
16
65
  readonly "jsonc/indent": readonly [
@@ -26,22 +75,6 @@ declare const _default: ({
26
75
  readonly skipComments: true;
27
76
  }
28
77
  ];
29
- readonly "jsonc/object-curly-newline": readonly [
30
- import("../state.js").State.OFF,
31
- {
32
- readonly consistent: true;
33
- readonly multiline: true;
34
- readonly minProperties: 2;
35
- }
36
- ];
37
- readonly "jsonc/object-curly-spacing": readonly [
38
- import("../state.js").State.OFF,
39
- "always",
40
- {
41
- readonly emptyObjects: "never";
42
- }
43
- ];
44
- readonly "jsonc/object-property-newline": import("../state.js").State.OFF;
45
78
  };
46
79
  })[];
47
80
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -1,6 +1,8 @@
1
+ import global from "../global.js";
1
2
  import json from "./json.js";
2
3
  import jsonc from "./jsonc.js";
3
4
  export default [
5
+ global,
4
6
  json,
5
7
  jsonc,
6
8
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,eAAe;IACb,IAAI;IACJ,KAAK;CACN,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,eAAe;IACb,MAAM;IACN,IAAI;IACJ,KAAK;CACN,CAAC"}
@@ -2,11 +2,6 @@ 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.OFF;
6
- readonly "jsonc/array-element-newline": readonly [
7
- State.OFF,
8
- "consistent"
9
- ];
10
5
  readonly "jsonc/comma-dangle": State.ON;
11
6
  readonly "jsonc/comma-style": State.WARN;
12
7
  readonly "jsonc/indent": readonly [
@@ -22,22 +17,6 @@ declare const _default: {
22
17
  readonly skipComments: true;
23
18
  }
24
19
  ];
25
- readonly "jsonc/object-curly-newline": readonly [
26
- State.OFF,
27
- {
28
- readonly consistent: true;
29
- readonly multiline: true;
30
- readonly minProperties: 2;
31
- }
32
- ];
33
- readonly "jsonc/object-curly-spacing": readonly [
34
- State.OFF,
35
- "always",
36
- {
37
- readonly emptyObjects: "never";
38
- }
39
- ];
40
- readonly "jsonc/object-property-newline": State.OFF;
41
20
  };
42
21
  };
43
22
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAwEE"}
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;AAGjC,wBAwDE"}
@@ -1,11 +1,6 @@
1
1
  export default {
2
2
  rules: {
3
3
  "jsonc/no-comments": 2,
4
- "jsonc/array-bracket-spacing": 0,
5
- "jsonc/array-element-newline": [
6
- 0,
7
- "consistent",
8
- ],
9
4
  "jsonc/comma-dangle": 2,
10
5
  "jsonc/comma-style": 1,
11
6
  "jsonc/indent": [
@@ -21,22 +16,6 @@ export default {
21
16
  skipComments: true,
22
17
  },
23
18
  ],
24
- "jsonc/object-curly-newline": [
25
- 0,
26
- {
27
- consistent: true,
28
- multiline: true,
29
- minProperties: 2,
30
- },
31
- ],
32
- "jsonc/object-curly-spacing": [
33
- 0,
34
- "always",
35
- {
36
- emptyObjects: "never",
37
- },
38
- ],
39
- "jsonc/object-property-newline": 0,
40
19
  },
41
20
  };
42
21
  //# 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,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
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;QAqB7B,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;KAYO;CACX,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.4.0-rc.0",
6
+ "version": "20.4.0-rc.2",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -20,11 +20,13 @@ export default [
20
20
  TSInterfaceBody: {
21
21
  singleLine: {
22
22
  maxItems: 0,
23
+ spacing: "never",
23
24
  },
24
25
  },
25
26
  TSEnumBody: {
26
27
  singleLine: {
27
28
  maxItems: 0,
29
+ spacing: "never",
28
30
  },
29
31
  },
30
32
  TSTupleType: {
@@ -40,11 +42,13 @@ export default [
40
42
  JSONArrayExpression: {
41
43
  singleLine: {
42
44
  maxItems: 0,
45
+ spacing: "never",
43
46
  },
44
47
  },
45
48
  JSONObjectExpression: {
46
49
  singleLine: {
47
50
  maxItems: 0,
51
+ spacing: "never",
48
52
  },
49
53
  },
50
54
  },
@@ -1,4 +1,3 @@
1
- import global from "./global";
2
1
  import js from "./js";
3
2
  import ts from "./ts";
4
3
  import svelte from "./svelte";
@@ -9,7 +8,6 @@ import jsonc from "./jsonc";
9
8
  import yml from "./yml";
10
9
 
11
10
  export default {
12
- "*": global,
13
11
  js,
14
12
  ts,
15
13
  svelte,
@@ -3,16 +3,9 @@ import { State } from "./state";
3
3
  // DOC: https://eslint.style/rules
4
4
  export default {
5
5
  rules: {
6
- "stylistic/array-bracket-newline": State.OFF /* @global stylistic/list-style */,
7
- "stylistic/array-bracket-spacing": State.OFF /* @global stylistic/list-style */,
8
- "stylistic/array-element-newline": [
9
- State.OFF,
10
- {
11
- consistent: true,
12
- multiline: true,
13
- minItems: 3,
14
- },
15
- ] /* @global stylistic/list-style */,
6
+ // "stylistic/array-bracket-newline": State.OFF /* @global stylistic/list-style */,
7
+ // "stylistic/array-bracket-spacing": State.OFF /* @global stylistic/list-style */,
8
+ // "stylistic/array-element-newline": State.OFF /* @global stylistic/list-style */,
16
9
  "stylistic/arrow-parens": [
17
10
  State.WARN,
18
11
  "as-needed",
@@ -39,15 +32,9 @@ export default {
39
32
  "property",
40
33
  ],
41
34
  // "stylistic/eol-last": State.OFF /* @global */,
42
- "stylistic/function-call-argument-newline": [
43
- State.OFF,
44
- "consistent",
45
- ] /* @global stylistic/list-style */,
35
+ // "stylistic/function-call-argument-newline": State.OFF /* @global stylistic/list-style */,
46
36
  "stylistic/function-call-spacing": State.WARN,
47
- "stylistic/function-paren-newline": [
48
- State.OFF,
49
- "multiline-arguments",
50
- ] /* @global stylistic/list-style | BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
37
+ // "stylistic/function-paren-newline": State.OFF /* @global stylistic/list-style | BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
51
38
  "stylistic/generator-star-spacing": State.WARN,
52
39
  "stylistic/implicit-arrow-linebreak": State.WARN,
53
40
  "stylistic/indent": [
@@ -146,22 +133,9 @@ export default {
146
133
  State.WARN,
147
134
  "below",
148
135
  ],
149
- "stylistic/object-curly-newline": [
150
- State.OFF,
151
- {
152
- consistent: true,
153
- multiline: true,
154
- minProperties: 3,
155
- },
156
- ] /* @global stylistic/list-style */,
157
- "stylistic/object-curly-spacing": [
158
- State.OFF,
159
- "always",
160
- {
161
- emptyObjects: "never",
162
- },
163
- ] /* @global stylistic/list-style */,
164
- "stylistic/object-property-newline": State.OFF /* @global stylistic/list-style */,
136
+ // "stylistic/object-curly-newline": State.OFF /* @global stylistic/list-style */,
137
+ // "stylistic/object-curly-spacing": State.OFF /* @global stylistic/list-style */,
138
+ // "stylistic/object-property-newline": State.OFF /* @global stylistic/list-style */,
165
139
  "stylistic/one-var-declaration-per-line": [
166
140
  State.WARN,
167
141
  "always",
@@ -204,7 +178,7 @@ export default {
204
178
  named: "never",
205
179
  },
206
180
  ],
207
- "stylistic/space-in-parens": State.OFF /* @global stylistic/list-style */,
181
+ // "stylistic/space-in-parens": State.OFF /* @global stylistic/list-style */,
208
182
  "stylistic/space-infix-ops": State.WARN,
209
183
  "stylistic/space-unary-ops": State.WARN,
210
184
  "stylistic/spaced-comment": [
package/src/rules/js.ts CHANGED
@@ -1,7 +1,9 @@
1
+ import global from "./global";
1
2
  import eslint from "./js.eslint";
2
3
  import stylistic from "./js.stylistic";
3
4
 
4
5
  export default [
6
+ global,
5
7
  eslint,
6
8
  stylistic,
7
9
  ];
@@ -1,7 +1,9 @@
1
+ import global from "../global";
1
2
  import json from "./json";
2
3
  import jsonc from "./jsonc";
3
4
 
4
5
  export default [
6
+ global,
5
7
  json,
6
8
  jsonc,
7
9
  ];
@@ -27,11 +27,8 @@ 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.OFF /* @global stylistic/list-style */,
31
- "jsonc/array-element-newline": [
32
- State.OFF,
33
- "consistent",
34
- ] /* @global stylistic/list-style */,
30
+ // "jsonc/array-bracket-spacing": State.OFF /* @global stylistic/list-style */,
31
+ // "jsonc/array-element-newline": State.OFF /* @global stylistic/list-style */,
35
32
  "jsonc/comma-dangle": State.ON,
36
33
  "jsonc/comma-style": State.WARN,
37
34
  "jsonc/indent": [
@@ -53,22 +50,9 @@ export default {
53
50
  // "jsonc/no-octal": State.OFF,
54
51
  // "jsonc/no-sparse-arrays": State.OFF,
55
52
  // "jsonc/no-useless-escape": State.OFF,
56
- "jsonc/object-curly-newline": [
57
- State.OFF,
58
- {
59
- consistent: true,
60
- multiline: true,
61
- minProperties: 2,
62
- },
63
- ] /* @global stylistic/list-style */,
64
- "jsonc/object-curly-spacing": [
65
- State.OFF,
66
- "always",
67
- {
68
- emptyObjects: "never",
69
- },
70
- ] /* @global stylistic/list-style */,
71
- "jsonc/object-property-newline": State.OFF /* @global stylistic/list-style */,
53
+ // "jsonc/object-curly-newline": State.OFF /* @global stylistic/list-style */,
54
+ // "jsonc/object-curly-spacing": State.OFF /* @global stylistic/list-style */,
55
+ // "jsonc/object-property-newline": State.OFF /* @global stylistic/list-style */,
72
56
  // "jsonc/quote-props": State.OFF,
73
57
  // "jsonc/quotes": State.OFF,
74
58
  // "jsonc/space-unary-ops": State.OFF,