@eslinted/defaults 12.9.0 → 12.11.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.
Files changed (128) hide show
  1. package/dist/ignores/global.js +0 -2
  2. package/dist/ignores/global.js.map +1 -1
  3. package/dist/index.d.ts +170 -1435
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/rules/index.d.ts +159 -817
  6. package/dist/rules/index.d.ts.map +1 -1
  7. package/dist/rules/scopes/css/enable.d.ts +2 -7
  8. package/dist/rules/scopes/css/enable.d.ts.map +1 -1
  9. package/dist/rules/scopes/css/enable.js +3 -19
  10. package/dist/rules/scopes/css/enable.js.map +1 -1
  11. package/dist/rules/scopes/css/index.d.ts +2 -7
  12. package/dist/rules/scopes/css/index.d.ts.map +1 -1
  13. package/dist/rules/scopes/enable.d.ts +35 -186
  14. package/dist/rules/scopes/enable.d.ts.map +1 -1
  15. package/dist/rules/scopes/enable.js +68 -329
  16. package/dist/rules/scopes/enable.js.map +1 -1
  17. package/dist/rules/scopes/enable.style.d.ts +42 -250
  18. package/dist/rules/scopes/enable.style.d.ts.map +1 -1
  19. package/dist/rules/scopes/enable.style.js +45 -388
  20. package/dist/rules/scopes/enable.style.js.map +1 -1
  21. package/dist/rules/scopes/html/index.d.ts +5 -18
  22. package/dist/rules/scopes/html/index.d.ts.map +1 -1
  23. package/dist/rules/scopes/html/plugin/index.d.ts +5 -18
  24. package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
  25. package/dist/rules/scopes/html/plugin/index.js +7 -63
  26. package/dist/rules/scopes/html/plugin/index.js.map +1 -1
  27. package/dist/rules/scopes/index.d.ts +77 -436
  28. package/dist/rules/scopes/index.d.ts.map +1 -1
  29. package/dist/rules/scopes/json/enable.js +2 -7
  30. package/dist/rules/scopes/json/enable.js.map +1 -1
  31. package/dist/rules/scopes/json/index.d.ts +7 -20
  32. package/dist/rules/scopes/json/index.d.ts.map +1 -1
  33. package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
  34. package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
  35. package/dist/rules/scopes/json/plugin/extension.js +9 -48
  36. package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
  37. package/dist/rules/scopes/json/plugin/index.js +2 -9
  38. package/dist/rules/scopes/json/plugin/index.js.map +1 -1
  39. package/dist/rules/scopes/jsonc/plugin/index.js +1 -2
  40. package/dist/rules/scopes/jsonc/plugin/index.js.map +1 -1
  41. package/dist/rules/scopes/jsoncc/plugin/index.js +1 -2
  42. package/dist/rules/scopes/jsoncc/plugin/index.js.map +1 -1
  43. package/dist/rules/scopes/mocha/chai/expect.js +1 -5
  44. package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
  45. package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
  46. package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
  47. package/dist/rules/scopes/mocha/chai/index.js +1 -4
  48. package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
  49. package/dist/rules/scopes/mocha/disable.js +2 -3
  50. package/dist/rules/scopes/mocha/disable.js.map +1 -1
  51. package/dist/rules/scopes/mocha/enable.d.ts +3 -10
  52. package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
  53. package/dist/rules/scopes/mocha/enable.js +4 -31
  54. package/dist/rules/scopes/mocha/enable.js.map +1 -1
  55. package/dist/rules/scopes/mocha/index.d.ts +3 -12
  56. package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
  57. package/dist/rules/scopes/svelte/disable.js +6 -9
  58. package/dist/rules/scopes/svelte/disable.js.map +1 -1
  59. package/dist/rules/scopes/svelte/enable.d.ts +19 -91
  60. package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
  61. package/dist/rules/scopes/svelte/enable.js +23 -179
  62. package/dist/rules/scopes/svelte/enable.js.map +1 -1
  63. package/dist/rules/scopes/svelte/extension/disable.js +2 -3
  64. package/dist/rules/scopes/svelte/extension/disable.js.map +1 -1
  65. package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
  66. package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
  67. package/dist/rules/scopes/svelte/extension/index.js +3 -13
  68. package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
  69. package/dist/rules/scopes/svelte/index.d.ts +21 -98
  70. package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
  71. package/dist/rules/scopes/ts/disable.js +4 -5
  72. package/dist/rules/scopes/ts/disable.js.map +1 -1
  73. package/dist/rules/scopes/ts/enable.d.ts +31 -163
  74. package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
  75. package/dist/rules/scopes/ts/enable.js +34 -408
  76. package/dist/rules/scopes/ts/enable.js.map +1 -1
  77. package/dist/rules/scopes/ts/extension/disable.js +1 -18
  78. package/dist/rules/scopes/ts/extension/disable.js.map +1 -1
  79. package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
  80. package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
  81. package/dist/rules/scopes/ts/extension/index.js +2 -46
  82. package/dist/rules/scopes/ts/extension/index.js.map +1 -1
  83. package/dist/rules/scopes/ts/index.d.ts +32 -183
  84. package/dist/rules/scopes/ts/index.d.ts.map +1 -1
  85. package/dist/rules/scopes/yml/index.d.ts +12 -43
  86. package/dist/rules/scopes/yml/index.d.ts.map +1 -1
  87. package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
  88. package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
  89. package/dist/rules/scopes/yml/plugin/extension.js +9 -41
  90. package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
  91. package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
  92. package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
  93. package/dist/rules/scopes/yml/plugin/index.js +9 -64
  94. package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
  95. package/dist/settings/registry/manifests/css.js +1 -3
  96. package/dist/settings/registry/manifests/css.js.map +1 -1
  97. package/dist/settings/registry/manifests/html.js +1 -2
  98. package/dist/settings/registry/manifests/html.js.map +1 -1
  99. package/dist/settings/registry/manifests/js.js +2 -6
  100. package/dist/settings/registry/manifests/js.js.map +1 -1
  101. package/dist/settings/registry/manifests/json.js +2 -2
  102. package/dist/settings/registry/manifests/json.js.map +1 -1
  103. package/dist/settings/registry/manifests/jsonc.js +2 -6
  104. package/dist/settings/registry/manifests/jsonc.js.map +1 -1
  105. package/dist/settings/registry/manifests/jsoncc.js +2 -6
  106. package/dist/settings/registry/manifests/jsoncc.js.map +1 -1
  107. package/dist/settings/registry/manifests/mocha.js +2 -6
  108. package/dist/settings/registry/manifests/mocha.js.map +1 -1
  109. package/dist/settings/registry/manifests/ts.js +7 -20
  110. package/dist/settings/registry/manifests/ts.js.map +1 -1
  111. package/dist/settings/registry/manifests/yml.js +1 -4
  112. package/dist/settings/registry/manifests/yml.js.map +1 -1
  113. package/package.json +1 -1
  114. package/src/rules/scopes/css/enable.ts +2 -13
  115. package/src/rules/scopes/enable.style.ts +67 -391
  116. package/src/rules/scopes/enable.ts +132 -318
  117. package/src/rules/scopes/html/plugin/index.ts +18 -40
  118. package/src/rules/scopes/json/plugin/extension.ts +9 -47
  119. package/src/rules/scopes/mocha/chai/index.ts +0 -2
  120. package/src/rules/scopes/mocha/enable.ts +3 -19
  121. package/src/rules/scopes/svelte/disable.ts +1 -1
  122. package/src/rules/scopes/svelte/enable.ts +22 -157
  123. package/src/rules/scopes/svelte/extension/index.ts +1 -11
  124. package/src/rules/scopes/ts/enable.ts +34 -424
  125. package/src/rules/scopes/ts/extension/index.ts +2 -27
  126. package/src/rules/scopes/yml/plugin/extension.ts +4 -37
  127. package/src/rules/scopes/yml/plugin/index.ts +8 -58
  128. package/tsconfig.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/scopes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/scopes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,15 +1,10 @@
1
- import { ID,
2
- // OFF,
3
- ON, } from "../../_strings/index.js";
1
+ import { ID, ON, } from "../../_strings/index.js";
4
2
  export const JsonEnable = {
5
3
  id: ID.Enable.Enable,
6
4
  rules: {
7
- // DOC: https://github.com/eslint/json?tab=readme-ov-file#rules
8
- "json/no-duplicate-keys": ON /* replaces jsonc/no-dupe-keys */,
9
- // "json/no-empty-keys": OFF /* preference: I use empty keys or keys with only whitespace sometimes, as does `package-lock.json` per DOC: "jsonc/no-dupe-keys": ON /* ESLint: json/no-duplicate-keys */,
5
+ "json/no-duplicate-keys": ON,
10
6
  "json/no-unsafe-values": ON,
11
7
  "json/no-unnormalized-keys": ON,
12
- // "json/sort-keys": OFF /* replaces jsonc/sort-keys BUT preference: I don't like sorting keys, it makes diffs harder to read, and I don't see the point of it in JSON */,
13
8
  "json/top-level-interop": ON,
14
9
  },
15
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QACL,+DAA+D;QAC/D,wBAAwB,EAAE,EAAE,CAAC,iCAAiC;QAC9D,wMAAwM;QACxM,uBAAuB,EAAE,EAAE;QAC3B,2BAA2B,EAAE,EAAE;QAC/B,0KAA0K;QAC1K,wBAAwB,EAAE,EAAE;KACpB;CACX,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QAEL,wBAAwB,EAAE,EAAE;QAE5B,uBAAuB,EAAE,EAAE;QAC3B,2BAA2B,EAAE,EAAE;QAE/B,wBAAwB,EAAE,EAAE;KACpB;CACX,CAAC"}
@@ -32,20 +32,12 @@ declare const _default: ({
32
32
  } | {
33
33
  id: "enable/plugin/extension";
34
34
  rules: {
35
- readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
36
- readonly singleValue: false;
37
- readonly objectsInArrays: false;
38
- readonly arraysInArrays: false;
39
- }];
35
+ readonly "jsonc/array-bracket-spacing": "error";
40
36
  readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
41
- readonly "jsonc/comma-dangle": readonly ["error", "never"];
42
- readonly "jsonc/comma-style": readonly ["error", "last"];
37
+ readonly "jsonc/comma-dangle": "error";
38
+ readonly "jsonc/comma-style": "error";
43
39
  readonly "jsonc/indent": readonly ["error", 2];
44
- readonly "jsonc/key-spacing": readonly ["error", {
45
- readonly beforeColon: false;
46
- readonly afterColon: true;
47
- readonly mode: "strict";
48
- }];
40
+ readonly "jsonc/key-spacing": "error";
49
41
  readonly "jsonc/no-floating-decimal": "error";
50
42
  readonly "jsonc/no-irregular-whitespace": readonly ["error", {
51
43
  readonly skipStrings: true;
@@ -64,15 +56,10 @@ declare const _default: ({
64
56
  readonly multiline: true;
65
57
  readonly minProperties: 2;
66
58
  }];
67
- readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
68
- readonly arraysInObjects: true;
69
- readonly objectsInObjects: true;
70
- }];
59
+ readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
71
60
  readonly "jsonc/object-property-newline": "error";
72
- readonly "jsonc/quote-props": readonly ["error", "always"];
73
- readonly "jsonc/quotes": readonly ["error", "double", {
74
- readonly avoidEscape: false;
75
- }];
61
+ readonly "jsonc/quote-props": "error";
62
+ readonly "jsonc/quotes": "error";
76
63
  readonly "jsonc/space-unary-ops": "error";
77
64
  };
78
65
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -1,20 +1,12 @@
1
1
  export declare const JsonEnablePluginExtension: {
2
2
  id: "enable/plugin/extension";
3
3
  rules: {
4
- readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
5
- readonly singleValue: false;
6
- readonly objectsInArrays: false;
7
- readonly arraysInArrays: false;
8
- }];
4
+ readonly "jsonc/array-bracket-spacing": "error";
9
5
  readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
10
- readonly "jsonc/comma-dangle": readonly ["error", "never"];
11
- readonly "jsonc/comma-style": readonly ["error", "last"];
6
+ readonly "jsonc/comma-dangle": "error";
7
+ readonly "jsonc/comma-style": "error";
12
8
  readonly "jsonc/indent": readonly ["error", 2];
13
- readonly "jsonc/key-spacing": readonly ["error", {
14
- readonly beforeColon: false;
15
- readonly afterColon: true;
16
- readonly mode: "strict";
17
- }];
9
+ readonly "jsonc/key-spacing": "error";
18
10
  readonly "jsonc/no-floating-decimal": "error";
19
11
  readonly "jsonc/no-irregular-whitespace": readonly ["error", {
20
12
  readonly skipStrings: true;
@@ -33,15 +25,10 @@ export declare const JsonEnablePluginExtension: {
33
25
  readonly multiline: true;
34
26
  readonly minProperties: 2;
35
27
  }];
36
- readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
37
- readonly arraysInObjects: true;
38
- readonly objectsInObjects: true;
39
- }];
28
+ readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
40
29
  readonly "jsonc/object-property-newline": "error";
41
- readonly "jsonc/quote-props": readonly ["error", "always"];
42
- readonly "jsonc/quotes": readonly ["error", "double", {
43
- readonly avoidEscape: false;
44
- }];
30
+ readonly "jsonc/quote-props": "error";
31
+ readonly "jsonc/quotes": "error";
45
32
  readonly "jsonc/space-unary-ops": "error";
46
33
  };
47
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrC,CAAC"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDrC,CAAC"}
@@ -1,45 +1,19 @@
1
- import { ID,
2
- // OFF,
3
- ON, always, consistent, double, last, never, strict, } from "../../../_strings/index.js";
1
+ import { ID, ON, always, consistent, } from "../../../_strings/index.js";
4
2
  export const JsonEnablePluginExtension = {
5
3
  id: ID.Enable.Plugin.Extension,
6
4
  rules: {
7
- // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
8
- // "jsonc/array-bracket-newline": OFF /* @OVERRIDE: BIGGER BUG: i mean this basically just doesn't work, even with multiple lines it will still fail| BUG: the spec says: `requires line breaks if the number of elements is at least the given integer. If this is 0, this condition will act the same as the option "always". If this is null (the default), this condition is disabled`. However, when null, the jsonc plugin actually errors when there are linebreaks with a single item | (was: MUST match @stylistic/array-bracket-newline) */,
9
- "jsonc/array-bracket-spacing": [
10
- ON,
11
- never,
12
- {
13
- singleValue: false,
14
- objectsInArrays: false,
15
- arraysInArrays: false,
16
- },
17
- ] /* MUST match @stylistic/array-bracket-spacing */,
5
+ "jsonc/array-bracket-spacing": ON,
18
6
  "jsonc/array-element-newline": [
19
7
  ON,
20
8
  consistent,
21
9
  ],
22
- "jsonc/comma-dangle": [
23
- ON,
24
- never,
25
- ] /* trailing commas are NOT allowed in JSON */,
26
- "jsonc/comma-style": [
27
- ON,
28
- last,
29
- ],
10
+ "jsonc/comma-dangle": ON,
11
+ "jsonc/comma-style": ON,
30
12
  "jsonc/indent": [
31
13
  ON,
32
14
  2,
33
15
  ],
34
- "jsonc/key-spacing": [
35
- ON,
36
- {
37
- beforeColon: false,
38
- afterColon: true,
39
- mode: strict,
40
- },
41
- ] /* MUST match @stylistic/key-spacing */,
42
- // "jsonc/no-dupe-keys": OFF /* ESLint: json/no-duplicate-keys */,
16
+ "jsonc/key-spacing": ON,
43
17
  "jsonc/no-floating-decimal": ON,
44
18
  "jsonc/no-irregular-whitespace": [
45
19
  ON,
@@ -63,27 +37,14 @@ export const JsonEnablePluginExtension = {
63
37
  multiline: true,
64
38
  minProperties: 2,
65
39
  },
66
- ] /* @OVERRIDE CHILD of @stylistic/object-curly-newline */,
40
+ ],
67
41
  "jsonc/object-curly-spacing": [
68
42
  ON,
69
43
  always,
70
- {
71
- arraysInObjects: true,
72
- objectsInObjects: true,
73
- },
74
- ] /* MUST match @stylistic/object-curly-spacing */,
75
- "jsonc/object-property-newline": ON /* MUST match @stylistic/object-property-newline */,
76
- "jsonc/quote-props": [
77
- ON,
78
- always,
79
- ],
80
- "jsonc/quotes": [
81
- ON,
82
- double,
83
- {
84
- avoidEscape: false,
85
- },
86
44
  ],
45
+ "jsonc/object-property-newline": ON,
46
+ "jsonc/quote-props": ON,
47
+ "jsonc/quotes": ON,
87
48
  "jsonc/space-unary-ops": ON,
88
49
  },
89
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,EACF,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;IAC9B,KAAK,EAAE;QACL,8EAA8E;QAC9E,shBAAshB;QACthB,6BAA6B,EAAE;YAC7B,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF,CAAC,iDAAiD;QACnD,6BAA6B,EAAE;YAC7B,EAAE;YACF,UAAU;SACX;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF,KAAK;SACN,CAAC,6CAA6C;QAC/C,mBAAmB,EAAE;YACnB,EAAE;YACF,IAAI;SACL;QACD,cAAc,EAAE;YACd,EAAE;YACF,CAAC;SACF;QACD,mBAAmB,EAAE;YACnB,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF,CAAC,uCAAuC;QACzC,kEAAkE;QAClE,2BAA2B,EAAE,EAAE;QAC/B,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,EAAE;QACxB,uBAAuB,EAAE,EAAE;QAC3B,gBAAgB,EAAE,EAAE;QACpB,wBAAwB,EAAE,EAAE;QAC5B,yBAAyB,EAAE,EAAE;QAC7B,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF,CAAC,wDAAwD;QAC1D,4BAA4B,EAAE;YAC5B,EAAE;YACF,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF,CAAC,gDAAgD;QAClD,+BAA+B,EAAE,EAAE,CAAC,mDAAmD;QACvF,mBAAmB,EAAE;YACnB,EAAE;YACF,MAAM;SACP;QACD,cAAc,EAAE;YACd,EAAE;YACF,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,EAAE;KACnB;CACX,CAAC"}
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,EACF,MAAM,EACN,UAAU,GACX,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;IAC9B,KAAK,EAAE;QAGL,6BAA6B,EAAE,EAAE;QACjC,6BAA6B,EAAE;YAC7B,EAAE;YACF,UAAU;SACX;QACD,oBAAoB,EAAE,EAAE;QACxB,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE;YACd,EAAE;YACF,CAAC;SACF;QACD,mBAAmB,EAAE,EAAE;QAEvB,2BAA2B,EAAE,EAAE;QAC/B,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,EAAE;QACxB,uBAAuB,EAAE,EAAE;QAC3B,gBAAgB,EAAE,EAAE;QACpB,wBAAwB,EAAE,EAAE;QAC5B,yBAAyB,EAAE,EAAE;QAC7B,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;YAC5B,EAAE;YACF,MAAM;SACP;QACD,+BAA+B,EAAE,EAAE;QACnC,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE,EAAE;QAClB,uBAAuB,EAAE,EAAE;KACnB;CACX,CAAC"}
@@ -1,16 +1,11 @@
1
- import { ID,
2
- // OFF,
3
- ON, } from "../../../_strings/index.js";
1
+ import { ID, ON, } from "../../../_strings/index.js";
4
2
  export const JsonEnablePlugin = {
5
3
  id: ID.Enable.Plugin.Plugin,
6
4
  rules: {
7
- // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
8
- // "jsonc/auto": OFF,
9
- // "jsonc/key-name-casing": OFF,
10
5
  "jsonc/no-bigint-literals": ON,
11
6
  "jsonc/no-binary-expression": ON,
12
7
  "jsonc/no-binary-numeric-literals": ON,
13
- "jsonc/no-comments": ON /* comments are NOT allowed in JSON */,
8
+ "jsonc/no-comments": ON,
14
9
  "jsonc/no-escape-sequence-in-identifier": ON,
15
10
  "jsonc/no-hexadecimal-numeric-literals": ON,
16
11
  "jsonc/no-infinity": ON,
@@ -24,8 +19,6 @@ export const JsonEnablePlugin = {
24
19
  "jsonc/no-template-literals": ON,
25
20
  "jsonc/no-undefined-value": ON,
26
21
  "jsonc/no-unicode-codepoint-escapes": ON,
27
- // "jsonc/sort-array-values": OFF /* preference: this makes no sense, arrays can be ordered */,
28
- // "jsonc/sort-keys": OFF /* ESLint: json/sort-keys BUT preference: only sort keys manually when I'd like */,
29
22
  "jsonc/valid-json-number": ON,
30
23
  "jsonc/vue-custom-block/no-parsing-error": ON,
31
24
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QACL,0EAA0E;QAC1E,qBAAqB;QACrB,gCAAgC;QAChC,0BAA0B,EAAE,EAAE;QAC9B,4BAA4B,EAAE,EAAE;QAChC,kCAAkC,EAAE,EAAE;QACtC,mBAAmB,EAAE,EAAE,CAAC,sCAAsC;QAC9D,wCAAwC,EAAE,EAAE;QAC5C,uCAAuC,EAAE,EAAE;QAC3C,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE,EAAE;QAClB,uBAAuB,EAAE,EAAE;QAC3B,6BAA6B,EAAE,EAAE;QACjC,iCAAiC,EAAE,EAAE;QACrC,wBAAwB,EAAE,EAAE;QAC5B,oBAAoB,EAAE,EAAE;QACxB,0BAA0B,EAAE,EAAE;QAC9B,4BAA4B,EAAE,EAAE;QAChC,0BAA0B,EAAE,EAAE;QAC9B,oCAAoC,EAAE,EAAE;QACxC,+FAA+F;QAC/F,6GAA6G;QAC7G,yBAAyB,EAAE,EAAE;QAC7B,yCAAyC,EAAE,EAAE;KACrC;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAIL,0BAA0B,EAAE,EAAE;QAC9B,4BAA4B,EAAE,EAAE;QAChC,kCAAkC,EAAE,EAAE;QACtC,mBAAmB,EAAE,EAAE;QACvB,wCAAwC,EAAE,EAAE;QAC5C,uCAAuC,EAAE,EAAE;QAC3C,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE,EAAE;QAClB,uBAAuB,EAAE,EAAE;QAC3B,6BAA6B,EAAE,EAAE;QACjC,iCAAiC,EAAE,EAAE;QACrC,wBAAwB,EAAE,EAAE;QAC5B,oBAAoB,EAAE,EAAE;QACxB,0BAA0B,EAAE,EAAE;QAC9B,4BAA4B,EAAE,EAAE;QAChC,0BAA0B,EAAE,EAAE;QAC9B,oCAAoC,EAAE,EAAE;QAGxC,yBAAyB,EAAE,EAAE;QAC7B,yCAAyC,EAAE,EAAE;KACrC;CACX,CAAC"}
@@ -2,8 +2,7 @@ import { ID, OFF, } from "../../../_strings/index.js";
2
2
  export const JsoncPluginDisable = {
3
3
  id: ID.Disable.Plugin.Plugin,
4
4
  rules: {
5
- // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
6
- "jsonc/no-comments": OFF /* comments ARE allowed in JSONC */,
5
+ "jsonc/no-comments": OFF,
7
6
  },
8
7
  };
9
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/jsonc/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM;IAC5B,KAAK,EAAE;QACL,0EAA0E;QAC1E,mBAAmB,EAAE,GAAG,CAAC,mCAAmC;KACpD;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/jsonc/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM;IAC5B,KAAK,EAAE;QAEL,mBAAmB,EAAE,GAAG;KAChB;CACX,CAAC"}
@@ -2,11 +2,10 @@ import { ID, ON, always_multiline, } from "../../../_strings/index.js";
2
2
  export const JsoncCommaPluginDisable = {
3
3
  id: ID.Disable.Plugin.Plugin,
4
4
  rules: {
5
- // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
6
5
  "jsonc/comma-dangle": [
7
6
  ON,
8
7
  always_multiline,
9
- ] /* trailing commas ARE allowed in JSONC */,
8
+ ],
10
9
  },
11
10
  };
12
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/jsoncc/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM;IAC5B,KAAK,EAAE;QACL,0EAA0E;QAC1E,oBAAoB,EAAE;YACpB,EAAE;YACF,gBAAgB;SACjB,CAAC,0CAA0C;KACpC;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/jsoncc/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM;IAC5B,KAAK,EAAE;QAEL,oBAAoB,EAAE;YACpB,EAAE;YACF,gBAAgB;SACjB;KACO;CACX,CAAC"}
@@ -1,14 +1,10 @@
1
- import { ID,
2
- // OFF,
3
- ON, } from "../../../_strings/index.js";
1
+ import { ID, ON, } from "../../../_strings/index.js";
4
2
  export const MochaEnablePluginChaiExpect = {
5
3
  id: `${ID.Enable.Plugin.Plugin}/chai/expect`,
6
4
  rules: {
7
- // DOC: https://github.com/turbo87/eslint-plugin-chai-expect?tab=readme-ov-file#rules
8
5
  "chai-expect/no-inner-compare": ON,
9
6
  "chai-expect/no-inner-literal": ON,
10
7
  "chai-expect/missing-assertion": ON,
11
- // "chai-expect/terminating-properties": OFF,
12
8
  },
13
9
  };
14
10
  //# sourceMappingURL=expect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"expect.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/expect.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,cAAc;IAC5C,KAAK,EAAE;QACL,qFAAqF;QACrF,8BAA8B,EAAE,EAAE;QAClC,8BAA8B,EAAE,EAAE;QAClC,+BAA+B,EAAE,EAAE;QACnC,6CAA6C;KACrC;CACX,CAAC"}
1
+ {"version":3,"file":"expect.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/expect.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,cAAc;IAC5C,KAAK,EAAE;QAEL,8BAA8B,EAAE,EAAE;QAClC,8BAA8B,EAAE,EAAE;QAClC,+BAA+B,EAAE,EAAE;KAE3B;CACX,CAAC"}
@@ -4,8 +4,6 @@ export declare const MochaEnablePluginChai: {
4
4
  readonly "chai-friendly/no-unused-expressions": readonly ["error", {
5
5
  readonly allowShortCircuit: true;
6
6
  readonly allowTernary: true;
7
- readonly allowTaggedTemplates: true;
8
- readonly enforceForJSX: false;
9
7
  }];
10
8
  };
11
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;;;CAcjC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;CAYjC,CAAC"}
@@ -2,16 +2,13 @@ import { ID, ON, } from "../../../_strings/index.js";
2
2
  export const MochaEnablePluginChai = {
3
3
  id: `${ID.Enable.Plugin.Plugin}/chai`,
4
4
  rules: {
5
- // DOC: https://github.com/ihordiachenko/eslint-plugin-chai-friendly?tab=readme-ov-file#usage
6
5
  "chai-friendly/no-unused-expressions": [
7
6
  ON,
8
7
  {
9
8
  allowShortCircuit: true,
10
9
  allowTernary: true,
11
- allowTaggedTemplates: true,
12
- enforceForJSX: false,
13
10
  },
14
- ] /* TSLint */,
11
+ ],
15
12
  },
16
13
  };
17
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO;IACrC,KAAK,EAAE;QACL,6FAA6F;QAC7F,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;gBAClB,oBAAoB,EAAE,IAAI;gBAC1B,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,YAAY;KACN;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO;IACrC,KAAK,EAAE;QAEL,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;aACnB;SACF;KACO;CACX,CAAC"}
@@ -2,9 +2,8 @@ import { ID, OFF, } from "../../_strings/index.js";
2
2
  export const MochaDisable = {
3
3
  id: ID.Disable.Disable,
4
4
  rules: {
5
- "prefer-arrow-callback": OFF /* TS-capable */,
6
- "no-unused-expressions": OFF /* INFO: looks like these guys got the hint too ;) https://github.com/ihordiachenko/eslint-plugin-chai-friendly/releases/tag/v1.1.0 */,
7
- // "@typescript-eslint/no-unused-expressions": OFF /* ESLint now supports TS */,
5
+ "prefer-arrow-callback": OFF,
6
+ "no-unused-expressions": OFF,
8
7
  },
9
8
  };
10
9
  //# sourceMappingURL=disable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO;IACtB,KAAK,EAAE;QACL,uBAAuB,EAAE,GAAG,CAAC,gBAAgB;QAC7C,uBAAuB,EAAE,GAAG,CAAC,sIAAsI;QACnK,gFAAgF;KACxE;CACX,CAAC"}
1
+ {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO;IACtB,KAAK,EAAE;QACL,uBAAuB,EAAE,GAAG;QAC5B,uBAAuB,EAAE,GAAG;KAEpB;CACX,CAAC"}
@@ -1,12 +1,8 @@
1
1
  export declare const MochaEnable: {
2
2
  id: "enable";
3
3
  rules: {
4
- readonly "mocha/handle-done-callback": readonly ["error", {
5
- readonly ignorePending: false;
6
- }];
7
- readonly "mocha/max-top-level-suites": readonly ["error", {
8
- readonly limit: 1;
9
- }];
4
+ readonly "mocha/handle-done-callback": "error";
5
+ readonly "mocha/max-top-level-suites": "error";
10
6
  readonly "mocha/no-async-suite": "error";
11
7
  readonly "mocha/no-empty-title": "error";
12
8
  readonly "mocha/no-exclusive-tests": "error";
@@ -20,10 +16,7 @@ export declare const MochaEnable: {
20
16
  readonly "mocha/no-return-from-async": "error";
21
17
  readonly "mocha/no-sibling-hooks": "error";
22
18
  readonly "mocha/no-top-level-hooks": "error";
23
- readonly "mocha/prefer-arrow-callback": readonly ["error", {
24
- readonly allowNamedFunctions: false;
25
- readonly allowUnboundThis: true;
26
- }];
19
+ readonly "mocha/prefer-arrow-callback": "error";
27
20
  };
28
21
  };
29
22
  //# sourceMappingURL=enable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CvB,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAC"}
@@ -1,50 +1,23 @@
1
- import { ID,
2
- // OFF,
3
- ON, } from "../../_strings/index.js";
1
+ import { ID, ON, } from "../../_strings/index.js";
4
2
  export const MochaEnable = {
5
3
  id: ID.Enable.Enable,
6
4
  rules: {
7
- // DOC: https://github.com/lo1tuma/eslint-plugin-mocha/tree/main?tab=readme-ov-file#rules
8
- // "mocha/consistent-interface": OFF /* unable, must choose BDD or TDD first */,
9
- // "mocha/consistent-spacing-between-blocks": OFF,
10
- "mocha/handle-done-callback": [
11
- ON,
12
- {
13
- ignorePending: false,
14
- },
15
- ],
16
- "mocha/max-top-level-suites": [
17
- ON,
18
- {
19
- limit: 1,
20
- },
21
- ],
5
+ "mocha/handle-done-callback": ON,
6
+ "mocha/max-top-level-suites": ON,
22
7
  "mocha/no-async-suite": ON,
23
8
  "mocha/no-empty-title": ON,
24
9
  "mocha/no-exclusive-tests": ON,
25
10
  "mocha/no-exports": ON,
26
11
  "mocha/no-global-tests": ON,
27
- // "mocha/no-hooks-for-single-case": OFF,
28
- // "mocha/no-hooks": OFF,
29
12
  "mocha/no-identical-title": ON,
30
13
  "mocha/no-mocha-arrows": ON,
31
14
  "mocha/no-nested-tests": ON,
32
15
  "mocha/no-pending-tests": ON,
33
16
  "mocha/no-return-and-callback": ON,
34
17
  "mocha/no-return-from-async": ON,
35
- // "mocha/no-setup-in-describe": OFF /* pointless and arbitrary */,
36
18
  "mocha/no-sibling-hooks": ON,
37
- // "mocha/no-synchronous-tests": OFF,
38
19
  "mocha/no-top-level-hooks": ON,
39
- "mocha/prefer-arrow-callback": [
40
- ON,
41
- {
42
- allowNamedFunctions: false,
43
- allowUnboundThis: true,
44
- },
45
- ] /* MUST match ../js/enable.ts, which is TS-capable -- is this?? */,
46
- // "mocha/valid-suite-title": OFF /* preference */,
47
- // "mocha/valid-test-title": OFF /* preference */,
20
+ "mocha/prefer-arrow-callback": ON,
48
21
  },
49
22
  };
50
23
  //# sourceMappingURL=enable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QACL,yFAAyF;QACzF,gFAAgF;QAChF,kDAAkD;QAClD,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,KAAK,EAAE,CAAC;aACT;SACF;QACD,sBAAsB,EAAE,EAAE;QAC1B,sBAAsB,EAAE,EAAE;QAC1B,0BAA0B,EAAE,EAAE;QAC9B,kBAAkB,EAAE,EAAE;QACtB,uBAAuB,EAAE,EAAE;QAC3B,yCAAyC;QACzC,yBAAyB;QACzB,0BAA0B,EAAE,EAAE;QAC9B,uBAAuB,EAAE,EAAE;QAC3B,uBAAuB,EAAE,EAAE;QAC3B,wBAAwB,EAAE,EAAE;QAC5B,8BAA8B,EAAE,EAAE;QAClC,4BAA4B,EAAE,EAAE;QAChC,mEAAmE;QACnE,wBAAwB,EAAE,EAAE;QAC5B,qCAAqC;QACrC,0BAA0B,EAAE,EAAE;QAC9B,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,mBAAmB,EAAE,KAAK;gBAC1B,gBAAgB,EAAE,IAAI;aACvB;SACF,CAAC,kEAAkE;QACpE,mDAAmD;QACnD,kDAAkD;KAC1C;CACX,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QAIL,4BAA4B,EAAE,EAAE;QAChC,4BAA4B,EAAE,EAAE;QAChC,sBAAsB,EAAE,EAAE;QAC1B,sBAAsB,EAAE,EAAE;QAC1B,0BAA0B,EAAE,EAAE;QAC9B,kBAAkB,EAAE,EAAE;QACtB,uBAAuB,EAAE,EAAE;QAG3B,0BAA0B,EAAE,EAAE;QAC9B,uBAAuB,EAAE,EAAE;QAC3B,uBAAuB,EAAE,EAAE;QAC3B,wBAAwB,EAAE,EAAE;QAC5B,8BAA8B,EAAE,EAAE;QAClC,4BAA4B,EAAE,EAAE;QAEhC,wBAAwB,EAAE,EAAE;QAE5B,0BAA0B,EAAE,EAAE;QAC9B,6BAA6B,EAAE,EAAE;KAGzB;CACX,CAAC"}
@@ -7,12 +7,8 @@ declare const _default: ({
7
7
  } | {
8
8
  id: "enable";
9
9
  rules: {
10
- readonly "mocha/handle-done-callback": readonly ["error", {
11
- readonly ignorePending: false;
12
- }];
13
- readonly "mocha/max-top-level-suites": readonly ["error", {
14
- readonly limit: 1;
15
- }];
10
+ readonly "mocha/handle-done-callback": "error";
11
+ readonly "mocha/max-top-level-suites": "error";
16
12
  readonly "mocha/no-async-suite": "error";
17
13
  readonly "mocha/no-empty-title": "error";
18
14
  readonly "mocha/no-exclusive-tests": "error";
@@ -26,10 +22,7 @@ declare const _default: ({
26
22
  readonly "mocha/no-return-from-async": "error";
27
23
  readonly "mocha/no-sibling-hooks": "error";
28
24
  readonly "mocha/no-top-level-hooks": "error";
29
- readonly "mocha/prefer-arrow-callback": readonly ["error", {
30
- readonly allowNamedFunctions: false;
31
- readonly allowUnboundThis: true;
32
- }];
25
+ readonly "mocha/prefer-arrow-callback": "error";
33
26
  };
34
27
  } | {
35
28
  id: string;
@@ -37,8 +30,6 @@ declare const _default: ({
37
30
  readonly "chai-friendly/no-unused-expressions": readonly ["error", {
38
31
  readonly allowShortCircuit: true;
39
32
  readonly allowTernary: true;
40
- readonly allowTaggedTemplates: true;
41
- readonly enforceForJSX: false;
42
33
  }];
43
34
  };
44
35
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
@@ -2,15 +2,12 @@ import { ID, OFF, } from "../../_strings/index.js";
2
2
  export const SvelteDisable = {
3
3
  id: ID.Disable.Disable,
4
4
  rules: {
5
- // ESLint core rules known to cause problems with `.svelte`.
6
- // DOC: https://github.com/sveltejs/eslint-plugin-svelte/blob/ca37fbbe82d01019946e12eeb1b57c2a5736c018/packages/eslint-plugin-svelte/src/configs/base.ts
7
- "no-inner-declarations": OFF /* The AST generated by svelte-eslint-parser will false positives in it rule because the root node of the script is not the `Program`. */,
8
- "no-self-assign": OFF /* Self assign is one of way to update reactive value in Svelte */,
9
- "no-unused-vars": OFF /* breaks use of svelte global */,
10
- "@typescript-eslint/no-unused-vars": OFF /* TS: breaks use of svelte global */,
11
- "prefer-const": OFF /* svelte/prefer-const */,
12
- // My own
13
- "@stylistic/indent": OFF /* Conflicts with `svelte/indent` */,
5
+ "no-inner-declarations": OFF,
6
+ "no-self-assign": OFF,
7
+ "no-unused-vars": OFF,
8
+ "@typescript-eslint/no-unused-vars": OFF,
9
+ "prefer-const": OFF,
10
+ "@stylistic/indent": OFF,
14
11
  },
15
12
  };
16
13
  //# sourceMappingURL=disable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO;IACtB,KAAK,EAAE;QACL,4DAA4D;QAC5D,wJAAwJ;QACxJ,uBAAuB,EAAE,GAAG,CAAC,yIAAyI;QACtK,gBAAgB,EAAE,GAAG,CAAC,kEAAkE;QACxF,gBAAgB,EAAE,GAAG,CAAC,iCAAiC;QACvD,mCAAmC,EAAE,GAAG,CAAC,qCAAqC;QAC9E,cAAc,EAAE,GAAG,CAAC,yBAAyB;QAC7C,SAAS;QACT,mBAAmB,EAAE,GAAG,CAAC,oCAAoC;KACrD;CACX,CAAC"}
1
+ {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO;IACtB,KAAK,EAAE;QAGL,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,gBAAgB,EAAE,GAAG;QACrB,mCAAmC,EAAE,GAAG;QACxC,cAAc,EAAE,GAAG;QAEnB,mBAAmB,EAAE,GAAG;KAChB;CACX,CAAC"}