@eslinted/defaults 12.8.1 → 12.9.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 (81) hide show
  1. package/dist/index.d.ts +0 -60
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/index.d.ts +0 -60
  4. package/dist/rules/index.d.ts.map +1 -1
  5. package/dist/rules/scopes/css/enable.d.ts +0 -2
  6. package/dist/rules/scopes/css/enable.d.ts.map +1 -1
  7. package/dist/rules/scopes/css/enable.js +5 -3
  8. package/dist/rules/scopes/css/enable.js.map +1 -1
  9. package/dist/rules/scopes/css/index.d.ts +0 -2
  10. package/dist/rules/scopes/css/index.d.ts.map +1 -1
  11. package/dist/rules/scopes/enable.style.d.ts +0 -5
  12. package/dist/rules/scopes/enable.style.d.ts.map +1 -1
  13. package/dist/rules/scopes/enable.style.js +5 -5
  14. package/dist/rules/scopes/enable.style.js.map +1 -1
  15. package/dist/rules/scopes/html/index.d.ts +0 -13
  16. package/dist/rules/scopes/html/index.d.ts.map +1 -1
  17. package/dist/rules/scopes/html/plugin/index.d.ts +0 -13
  18. package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
  19. package/dist/rules/scopes/html/plugin/index.js +16 -14
  20. package/dist/rules/scopes/html/plugin/index.js.map +1 -1
  21. package/dist/rules/scopes/index.d.ts +0 -5
  22. package/dist/rules/scopes/index.d.ts.map +1 -1
  23. package/dist/rules/scopes/json/enable.d.ts +0 -2
  24. package/dist/rules/scopes/json/enable.d.ts.map +1 -1
  25. package/dist/rules/scopes/json/enable.js +5 -3
  26. package/dist/rules/scopes/json/enable.js.map +1 -1
  27. package/dist/rules/scopes/json/index.d.ts +0 -7
  28. package/dist/rules/scopes/json/index.d.ts.map +1 -1
  29. package/dist/rules/scopes/json/plugin/extension.d.ts +0 -1
  30. package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
  31. package/dist/rules/scopes/json/plugin/extension.js +4 -2
  32. package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
  33. package/dist/rules/scopes/json/plugin/index.d.ts +0 -4
  34. package/dist/rules/scopes/json/plugin/index.d.ts.map +1 -1
  35. package/dist/rules/scopes/json/plugin/index.js +7 -5
  36. package/dist/rules/scopes/json/plugin/index.js.map +1 -1
  37. package/dist/rules/scopes/mocha/chai/expect.d.ts +0 -1
  38. package/dist/rules/scopes/mocha/chai/expect.d.ts.map +1 -1
  39. package/dist/rules/scopes/mocha/chai/expect.js +4 -2
  40. package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
  41. package/dist/rules/scopes/mocha/enable.d.ts +0 -8
  42. package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
  43. package/dist/rules/scopes/mocha/enable.js +11 -9
  44. package/dist/rules/scopes/mocha/enable.js.map +1 -1
  45. package/dist/rules/scopes/mocha/index.d.ts +0 -9
  46. package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
  47. package/dist/rules/scopes/svelte/enable.d.ts +0 -3
  48. package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
  49. package/dist/rules/scopes/svelte/enable.js +6 -4
  50. package/dist/rules/scopes/svelte/enable.js.map +1 -1
  51. package/dist/rules/scopes/svelte/index.d.ts +0 -3
  52. package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
  53. package/dist/rules/scopes/ts/enable.d.ts +0 -14
  54. package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
  55. package/dist/rules/scopes/ts/enable.js +17 -15
  56. package/dist/rules/scopes/ts/enable.js.map +1 -1
  57. package/dist/rules/scopes/ts/extension/index.d.ts +0 -1
  58. package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
  59. package/dist/rules/scopes/ts/extension/index.js +4 -2
  60. package/dist/rules/scopes/ts/extension/index.js.map +1 -1
  61. package/dist/rules/scopes/ts/index.d.ts +0 -15
  62. package/dist/rules/scopes/ts/index.d.ts.map +1 -1
  63. package/dist/rules/scopes/yml/index.d.ts +0 -6
  64. package/dist/rules/scopes/yml/index.d.ts.map +1 -1
  65. package/dist/rules/scopes/yml/plugin/index.d.ts +0 -6
  66. package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
  67. package/dist/rules/scopes/yml/plugin/index.js +9 -7
  68. package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/rules/scopes/css/enable.ts +3 -3
  71. package/src/rules/scopes/enable.style.ts +5 -5
  72. package/src/rules/scopes/html/plugin/index.ts +14 -14
  73. package/src/rules/scopes/json/enable.ts +3 -3
  74. package/src/rules/scopes/json/plugin/extension.ts +2 -2
  75. package/src/rules/scopes/json/plugin/index.ts +5 -5
  76. package/src/rules/scopes/mocha/chai/expect.ts +2 -2
  77. package/src/rules/scopes/mocha/enable.ts +9 -9
  78. package/src/rules/scopes/svelte/enable.ts +4 -4
  79. package/src/rules/scopes/ts/enable.ts +15 -15
  80. package/src/rules/scopes/ts/extension/index.ts +2 -2
  81. package/src/rules/scopes/yml/plugin/index.ts +7 -7
@@ -1,28 +1,20 @@
1
1
  export declare const HtmlEnablePlugin: {
2
2
  id: "enable/plugin";
3
3
  rules: {
4
- readonly "@html-eslint/max-element-depth": "off";
5
4
  readonly "@html-eslint/no-duplicate-attrs": "error";
6
5
  readonly "@html-eslint/no-duplicate-class": "error";
7
6
  readonly "@html-eslint/no-duplicate-id": "error";
8
7
  readonly "@html-eslint/no-duplicate-in-head": "error";
9
- readonly "@html-eslint/no-inline-styles": "off";
10
8
  readonly "@html-eslint/no-invalid-entity": "error";
11
9
  readonly "@html-eslint/no-nested-interactive": "error";
12
10
  readonly "@html-eslint/no-obsolete-tags": "error";
13
- readonly "@html-eslint/no-restricted-attr-values": "off";
14
- readonly "@html-eslint/no-restricted-attrs": "off";
15
- readonly "@html-eslint/no-script-style-type": "off";
16
11
  readonly "@html-eslint/no-target-blank": "error";
17
- readonly "@html-eslint/prefer-https": "off";
18
- readonly "@html-eslint/require-attrs": "off";
19
12
  readonly "@html-eslint/require-button-type": "error";
20
13
  readonly "@html-eslint/require-closing-tags": readonly ["error", {
21
14
  readonly selfClosing: "never";
22
15
  readonly selfClosingCustomPatterns: readonly [""];
23
16
  }];
24
17
  readonly "@html-eslint/require-doctype": "error";
25
- readonly "@html-eslint/require-explicit-size": "off";
26
18
  readonly "@html-eslint/require-li-container": "error";
27
19
  readonly "@html-eslint/require-meta-charset": "error";
28
20
  readonly "@html-eslint/use-baseline": readonly ["error", {
@@ -30,9 +22,6 @@ export declare const HtmlEnablePlugin: {
30
22
  }];
31
23
  readonly "@html-eslint/no-multiple-h1": "error";
32
24
  readonly "@html-eslint/require-lang": "error";
33
- readonly "@html-eslint/require-meta-description": "off";
34
- readonly "@html-eslint/require-open-graph-protocol": "off";
35
- readonly "@html-eslint/require-title": "off";
36
25
  readonly "@html-eslint/no-abstract-roles": "error";
37
26
  readonly "@html-eslint/no-accesskey-attrs": "error";
38
27
  readonly "@html-eslint/no-aria-hidden-body": "error";
@@ -58,7 +47,6 @@ export declare const HtmlEnablePlugin: {
58
47
  readonly skip: readonly ["head"];
59
48
  readonly inline: readonly ["$inline"];
60
49
  }];
61
- readonly "@html-eslint/id-naming-convention": "off";
62
50
  readonly "@html-eslint/indent": readonly ["error", 2];
63
51
  readonly "@html-eslint/lowercase": "error";
64
52
  readonly "@html-eslint/no-extra-spacing-attrs": readonly ["error", {
@@ -77,7 +65,6 @@ export declare const HtmlEnablePlugin: {
77
65
  readonly "@html-eslint/quotes": readonly ["error", "double", {
78
66
  readonly enforceTemplatedAttrValue: false;
79
67
  }];
80
- readonly "@html-eslint/sort-attrs": "off";
81
68
  };
82
69
  };
83
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/html/plugin/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+H5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/html/plugin/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+H5B,CAAC"}
@@ -1,24 +1,26 @@
1
- import { ID, OFF, ON, never, } from "../../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, never, } from "../../../_strings/index.js";
2
4
  export const HtmlEnablePlugin = {
3
5
  id: ID.Enable.Plugin.Plugin,
4
6
  rules: {
5
7
  // #region BEST PRACTICE
6
8
  // DOC: https://html-eslint.org/docs/rules#best-practice
7
- "@html-eslint/max-element-depth": OFF /* @preference: simply do not care */,
9
+ // "@html-eslint/max-element-depth": OFF /* @preference: simply do not care */,
8
10
  "@html-eslint/no-duplicate-attrs": ON,
9
11
  "@html-eslint/no-duplicate-class": ON,
10
12
  "@html-eslint/no-duplicate-id": ON,
11
13
  "@html-eslint/no-duplicate-in-head": ON,
12
- "@html-eslint/no-inline-styles": OFF /* @CONFLICT: breaks Svelte app.html */,
14
+ // "@html-eslint/no-inline-styles": OFF /* @CONFLICT: breaks Svelte app.html */,
13
15
  "@html-eslint/no-invalid-entity": ON,
14
16
  "@html-eslint/no-nested-interactive": ON,
15
17
  "@html-eslint/no-obsolete-tags": ON,
16
- "@html-eslint/no-restricted-attr-values": OFF,
17
- "@html-eslint/no-restricted-attrs": OFF,
18
- "@html-eslint/no-script-style-type": OFF,
18
+ // "@html-eslint/no-restricted-attr-values": OFF,
19
+ // "@html-eslint/no-restricted-attrs": OFF,
20
+ // "@html-eslint/no-script-style-type": OFF,
19
21
  "@html-eslint/no-target-blank": ON,
20
- "@html-eslint/prefer-https": OFF /* @CONFLICT: not everything is https */,
21
- "@html-eslint/require-attrs": OFF,
22
+ // "@html-eslint/prefer-https": OFF /* @CONFLICT: not everything is https */,
23
+ // "@html-eslint/require-attrs": OFF,
22
24
  "@html-eslint/require-button-type": ON,
23
25
  "@html-eslint/require-closing-tags": [
24
26
  ON,
@@ -28,7 +30,7 @@ export const HtmlEnablePlugin = {
28
30
  },
29
31
  ],
30
32
  "@html-eslint/require-doctype": ON,
31
- "@html-eslint/require-explicit-size": OFF /* preference, prefer using css */,
33
+ // "@html-eslint/require-explicit-size": OFF /* preference, prefer using css */,
32
34
  "@html-eslint/require-li-container": ON,
33
35
  "@html-eslint/require-meta-charset": ON,
34
36
  "@html-eslint/use-baseline": [
@@ -42,9 +44,9 @@ export const HtmlEnablePlugin = {
42
44
  // DOC: https://html-eslint.org/docs/rules#seo
43
45
  "@html-eslint/no-multiple-h1": ON,
44
46
  "@html-eslint/require-lang": ON,
45
- "@html-eslint/require-meta-description": OFF /* @CONFLICT: breaks Svelte which leaves meta descriptions to route leaves */,
46
- "@html-eslint/require-open-graph-protocol": OFF /* idk what this is, also it probably breaks Svelte */,
47
- "@html-eslint/require-title": OFF /* @CONFLICT: breaks Svelte which leaves title to route leaves */,
47
+ // "@html-eslint/require-meta-description": OFF /* @CONFLICT: breaks Svelte which leaves meta descriptions to route leaves */,
48
+ // "@html-eslint/require-open-graph-protocol": OFF /* idk what this is, also it probably breaks Svelte */,
49
+ // "@html-eslint/require-title": OFF /* @CONFLICT: breaks Svelte which leaves title to route leaves */,
48
50
  // #endregion
49
51
  // #region ACCESSIBILITY
50
52
  // DOC: https://html-eslint.org/docs/rules#accessibility
@@ -85,7 +87,7 @@ export const HtmlEnablePlugin = {
85
87
  inline: ["$inline"],
86
88
  },
87
89
  ],
88
- "@html-eslint/id-naming-convention": OFF,
90
+ // "@html-eslint/id-naming-convention": OFF,
89
91
  "@html-eslint/indent": [
90
92
  ON,
91
93
  2,
@@ -120,7 +122,7 @@ export const HtmlEnablePlugin = {
120
122
  enforceTemplatedAttrValue: false,
121
123
  },
122
124
  ],
123
- "@html-eslint/sort-attrs": OFF,
125
+ // "@html-eslint/sort-attrs": OFF,
124
126
  // #endregion
125
127
  },
126
128
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/html/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,EAAE,EACF,KAAK,GACN,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QACL,wBAAwB;QACxB,wDAAwD;QACxD,gCAAgC,EAAE,GAAG,CAAC,qCAAqC;QAC3E,iCAAiC,EAAE,EAAE;QACrC,iCAAiC,EAAE,EAAE;QACrC,8BAA8B,EAAE,EAAE;QAClC,mCAAmC,EAAE,EAAE;QACvC,+BAA+B,EAAE,GAAG,CAAC,uCAAuC;QAC5E,gCAAgC,EAAE,EAAE;QACpC,oCAAoC,EAAE,EAAE;QACxC,+BAA+B,EAAE,EAAE;QACnC,wCAAwC,EAAE,GAAG;QAC7C,kCAAkC,EAAE,GAAG;QACvC,mCAAmC,EAAE,GAAG;QACxC,8BAA8B,EAAE,EAAE;QAClC,2BAA2B,EAAE,GAAG,CAAC,wCAAwC;QACzE,4BAA4B,EAAE,GAAG;QACjC,kCAAkC,EAAE,EAAE;QACtC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,yBAAyB,EAAE,CAAC,EAAE,CAAC,CAAC,0CAA0C;aAC3E;SACF;QACD,8BAA8B,EAAE,EAAE;QAClC,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;QAC5E,mCAAmC,EAAE,EAAE;QACvC,mCAAmC,EAAE,EAAE;QACvC,2BAA2B,EAAE;YAC3B,EAAE;YACF;gBACE,SAAS,EAAE,QAAQ,CAAC,yCAAyC;aAC9D;SACF;QACD,aAAa;QAEb,cAAc;QACd,8CAA8C;QAC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E,IAAI,EAAE,EAAE;aACT;SACF;QACD,sCAAsC,EAAE;YACtC,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,EAAE;QACrC,qBAAqB,EAAE;YACrB,EAAE;YACF,QAAQ;YACR;gBACE,yBAAyB,EAAE,KAAK;aACjC;SACF;QACD,yBAAyB,EAAE,GAAG;QAC9B,aAAa;KACL;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/html/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,EACF,KAAK,GACN,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QACL,wBAAwB;QACxB,wDAAwD;QACxD,+EAA+E;QAC/E,iCAAiC,EAAE,EAAE;QACrC,iCAAiC,EAAE,EAAE;QACrC,8BAA8B,EAAE,EAAE;QAClC,mCAAmC,EAAE,EAAE;QACvC,gFAAgF;QAChF,gCAAgC,EAAE,EAAE;QACpC,oCAAoC,EAAE,EAAE;QACxC,+BAA+B,EAAE,EAAE;QACnC,iDAAiD;QACjD,2CAA2C;QAC3C,4CAA4C;QAC5C,8BAA8B,EAAE,EAAE;QAClC,6EAA6E;QAC7E,qCAAqC;QACrC,kCAAkC,EAAE,EAAE;QACtC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,yBAAyB,EAAE,CAAC,EAAE,CAAC,CAAC,0CAA0C;aAC3E;SACF;QACD,8BAA8B,EAAE,EAAE;QAClC,gFAAgF;QAChF,mCAAmC,EAAE,EAAE;QACvC,mCAAmC,EAAE,EAAE;QACvC,2BAA2B,EAAE;YAC3B,EAAE;YACF;gBACE,SAAS,EAAE,QAAQ,CAAC,yCAAyC;aAC9D;SACF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;YACtC,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,EAAE;QACrC,qBAAqB,EAAE;YACrB,EAAE;YACF,QAAQ;YACR;gBACE,yBAAyB,EAAE,KAAK;aACjC;SACF;QACD,kCAAkC;QAClC,aAAa;KACL;CACX,CAAC"}
@@ -498,8 +498,6 @@ declare const _default: ({
498
498
  readonly after: true;
499
499
  readonly overrides: {};
500
500
  }];
501
- readonly "@stylistic/line-comment-position": "off";
502
- readonly "@stylistic/lines-around-comment": "off";
503
501
  readonly "@stylistic/lines-between-class-members": readonly ["error", {
504
502
  readonly enforce: readonly [{
505
503
  readonly prev: "field";
@@ -542,13 +540,11 @@ declare const _default: ({
542
540
  };
543
541
  readonly multilineDetection: "brackets";
544
542
  }];
545
- readonly "@stylistic/multiline-comment-style": "off";
546
543
  readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
547
544
  readonly "@stylistic/new-parens": readonly ["off", "never"];
548
545
  readonly "@stylistic/newline-per-chained-call": readonly ["error", {
549
546
  readonly ignoreChainWithDepth: 2;
550
547
  }];
551
- readonly "@stylistic/no-confusing-arrow": "off";
552
548
  readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
553
549
  readonly conditionalAssign: true;
554
550
  readonly returnAssign: true;
@@ -567,7 +563,6 @@ declare const _default: ({
567
563
  }];
568
564
  readonly "@stylistic/no-extra-semi": "error";
569
565
  readonly "@stylistic/no-floating-decimal": "error";
570
- readonly "@stylistic/no-mixed-operators": "off";
571
566
  readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
572
567
  readonly "@stylistic/no-multi-spaces": readonly ["error", {
573
568
  readonly ignoreEOLComments: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/scopes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -2,10 +2,8 @@ export declare const JsonEnable: {
2
2
  id: "enable";
3
3
  rules: {
4
4
  readonly "json/no-duplicate-keys": "error";
5
- readonly "json/no-empty-keys": "off";
6
5
  readonly "json/no-unsafe-values": "error";
7
6
  readonly "json/no-unnormalized-keys": "error";
8
- readonly "json/sort-keys": "off";
9
7
  readonly "json/top-level-interop": "error";
10
8
  };
11
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;CAWtB,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;CAWtB,CAAC"}
@@ -1,13 +1,15 @@
1
- import { ID, OFF, ON, } from "../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, } from "../../_strings/index.js";
2
4
  export const JsonEnable = {
3
5
  id: ID.Enable.Enable,
4
6
  rules: {
5
7
  // DOC: https://github.com/eslint/json?tab=readme-ov-file#rules
6
8
  "json/no-duplicate-keys": ON /* replaces jsonc/no-dupe-keys */,
7
- "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 */,
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 */,
8
10
  "json/no-unsafe-values": ON,
9
11
  "json/no-unnormalized-keys": ON,
10
- "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 */,
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 */,
11
13
  "json/top-level-interop": ON,
12
14
  },
13
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,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,oBAAoB,EAAE,GAAG,CAAC,0KAA0K;QACpM,uBAAuB,EAAE,EAAE;QAC3B,2BAA2B,EAAE,EAAE;QAC/B,gBAAgB,EAAE,GAAG,CAAC,gJAAgJ;QACtK,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;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"}
@@ -2,17 +2,13 @@ declare const _default: ({
2
2
  id: "enable";
3
3
  rules: {
4
4
  readonly "json/no-duplicate-keys": "error";
5
- readonly "json/no-empty-keys": "off";
6
5
  readonly "json/no-unsafe-values": "error";
7
6
  readonly "json/no-unnormalized-keys": "error";
8
- readonly "json/sort-keys": "off";
9
7
  readonly "json/top-level-interop": "error";
10
8
  };
11
9
  } | {
12
10
  id: "enable/plugin";
13
11
  rules: {
14
- readonly "jsonc/auto": "off";
15
- readonly "jsonc/key-name-casing": "off";
16
12
  readonly "jsonc/no-bigint-literals": "error";
17
13
  readonly "jsonc/no-binary-expression": "error";
18
14
  readonly "jsonc/no-binary-numeric-literals": "error";
@@ -30,15 +26,12 @@ declare const _default: ({
30
26
  readonly "jsonc/no-template-literals": "error";
31
27
  readonly "jsonc/no-undefined-value": "error";
32
28
  readonly "jsonc/no-unicode-codepoint-escapes": "error";
33
- readonly "jsonc/sort-array-values": "off";
34
- readonly "jsonc/sort-keys": "off";
35
29
  readonly "jsonc/valid-json-number": "error";
36
30
  readonly "jsonc/vue-custom-block/no-parsing-error": "error";
37
31
  };
38
32
  } | {
39
33
  id: "enable/plugin/extension";
40
34
  rules: {
41
- readonly "jsonc/array-bracket-newline": "off";
42
35
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
43
36
  readonly singleValue: false;
44
37
  readonly objectsInArrays: false;
@@ -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,7 +1,6 @@
1
1
  export declare const JsonEnablePluginExtension: {
2
2
  id: "enable/plugin/extension";
3
3
  rules: {
4
- readonly "jsonc/array-bracket-newline": "off";
5
4
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
6
5
  readonly singleValue: false;
7
6
  readonly objectsInArrays: false;
@@ -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":"AAYA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrC,CAAC"}
@@ -1,9 +1,11 @@
1
- import { ID, OFF, ON, always, consistent, double, last, never, strict, } from "../../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, always, consistent, double, last, never, strict, } from "../../../_strings/index.js";
2
4
  export const JsonEnablePluginExtension = {
3
5
  id: ID.Enable.Plugin.Extension,
4
6
  rules: {
5
7
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
6
- "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) */,
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) */,
7
9
  "jsonc/array-bracket-spacing": [
8
10
  ON,
9
11
  never,
@@ -1 +1 @@
1
- {"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,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,6BAA6B,EAAE,GAAG,CAAC,+eAA+e;QAClhB,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;AACF,OAAO;AACP,EAAE,EACF,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,mBAAmB,C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ACvB;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,8 +1,6 @@
1
1
  export declare const JsonEnablePlugin: {
2
2
  id: "enable/plugin";
3
3
  rules: {
4
- readonly "jsonc/auto": "off";
5
- readonly "jsonc/key-name-casing": "off";
6
4
  readonly "jsonc/no-bigint-literals": "error";
7
5
  readonly "jsonc/no-binary-expression": "error";
8
6
  readonly "jsonc/no-binary-numeric-literals": "error";
@@ -20,8 +18,6 @@ export declare const JsonEnablePlugin: {
20
18
  readonly "jsonc/no-template-literals": "error";
21
19
  readonly "jsonc/no-undefined-value": "error";
22
20
  readonly "jsonc/no-unicode-codepoint-escapes": "error";
23
- readonly "jsonc/sort-array-values": "off";
24
- readonly "jsonc/sort-keys": "off";
25
21
  readonly "jsonc/valid-json-number": "error";
26
22
  readonly "jsonc/vue-custom-block/no-parsing-error": "error";
27
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CA4B5B,CAAC"}
@@ -1,10 +1,12 @@
1
- import { ID, OFF, ON, } from "../../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, } from "../../../_strings/index.js";
2
4
  export const JsonEnablePlugin = {
3
5
  id: ID.Enable.Plugin.Plugin,
4
6
  rules: {
5
7
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
6
- "jsonc/auto": OFF,
7
- "jsonc/key-name-casing": OFF,
8
+ // "jsonc/auto": OFF,
9
+ // "jsonc/key-name-casing": OFF,
8
10
  "jsonc/no-bigint-literals": ON,
9
11
  "jsonc/no-binary-expression": ON,
10
12
  "jsonc/no-binary-numeric-literals": ON,
@@ -22,8 +24,8 @@ export const JsonEnablePlugin = {
22
24
  "jsonc/no-template-literals": ON,
23
25
  "jsonc/no-undefined-value": ON,
24
26
  "jsonc/no-unicode-codepoint-escapes": ON,
25
- "jsonc/sort-array-values": OFF /* preference: this makes no sense, arrays can be ordered */,
26
- "jsonc/sort-keys": OFF /* ESLint: json/sort-keys BUT preference: only sort keys manually when I'd like */,
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 */,
27
29
  "jsonc/valid-json-number": ON,
28
30
  "jsonc/vue-custom-block/no-parsing-error": ON,
29
31
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,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,YAAY,EAAE,GAAG;QACjB,uBAAuB,EAAE,GAAG;QAC5B,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,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AC/F,6GAA6G;QAC7G,yBAAyB,EAAE,EAAE;QAC7B,yCAAyC,EAAE,EAAE;KACrC;CACX,CAAC"}
@@ -4,7 +4,6 @@ export declare const MochaEnablePluginChaiExpect: {
4
4
  readonly "chai-expect/no-inner-compare": "error";
5
5
  readonly "chai-expect/no-inner-literal": "error";
6
6
  readonly "chai-expect/missing-assertion": "error";
7
- readonly "chai-expect/terminating-properties": "off";
8
7
  };
9
8
  };
10
9
  //# sourceMappingURL=expect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/expect.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,2BAA2B;;;;;;;;CASvC,CAAC"}
1
+ {"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/expect.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,2BAA2B;;;;;;;CASvC,CAAC"}
@@ -1,4 +1,6 @@
1
- import { ID, OFF, ON, } from "../../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, } from "../../../_strings/index.js";
2
4
  export const MochaEnablePluginChaiExpect = {
3
5
  id: `${ID.Enable.Plugin.Plugin}/chai/expect`,
4
6
  rules: {
@@ -6,7 +8,7 @@ export const MochaEnablePluginChaiExpect = {
6
8
  "chai-expect/no-inner-compare": ON,
7
9
  "chai-expect/no-inner-literal": ON,
8
10
  "chai-expect/missing-assertion": ON,
9
- "chai-expect/terminating-properties": OFF,
11
+ // "chai-expect/terminating-properties": OFF,
10
12
  },
11
13
  };
12
14
  //# 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,EACF,GAAG,EACH,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,oCAAoC,EAAE,GAAG;KACjC;CACX,CAAC"}
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,8 +1,6 @@
1
1
  export declare const MochaEnable: {
2
2
  id: "enable";
3
3
  rules: {
4
- readonly "mocha/consistent-interface": "off";
5
- readonly "mocha/consistent-spacing-between-blocks": "off";
6
4
  readonly "mocha/handle-done-callback": readonly ["error", {
7
5
  readonly ignorePending: false;
8
6
  }];
@@ -14,24 +12,18 @@ export declare const MochaEnable: {
14
12
  readonly "mocha/no-exclusive-tests": "error";
15
13
  readonly "mocha/no-exports": "error";
16
14
  readonly "mocha/no-global-tests": "error";
17
- readonly "mocha/no-hooks-for-single-case": "off";
18
- readonly "mocha/no-hooks": "off";
19
15
  readonly "mocha/no-identical-title": "error";
20
16
  readonly "mocha/no-mocha-arrows": "error";
21
17
  readonly "mocha/no-nested-tests": "error";
22
18
  readonly "mocha/no-pending-tests": "error";
23
19
  readonly "mocha/no-return-and-callback": "error";
24
20
  readonly "mocha/no-return-from-async": "error";
25
- readonly "mocha/no-setup-in-describe": "off";
26
21
  readonly "mocha/no-sibling-hooks": "error";
27
- readonly "mocha/no-synchronous-tests": "off";
28
22
  readonly "mocha/no-top-level-hooks": "error";
29
23
  readonly "mocha/prefer-arrow-callback": readonly ["error", {
30
24
  readonly allowNamedFunctions: false;
31
25
  readonly allowUnboundThis: true;
32
26
  }];
33
- readonly "mocha/valid-suite-title": "off";
34
- readonly "mocha/valid-test-title": "off";
35
27
  };
36
28
  };
37
29
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CvB,CAAC"}
@@ -1,10 +1,12 @@
1
- import { ID, OFF, ON, } from "../../_strings/index.js";
1
+ import { ID,
2
+ // OFF,
3
+ ON, } from "../../_strings/index.js";
2
4
  export const MochaEnable = {
3
5
  id: ID.Enable.Enable,
4
6
  rules: {
5
7
  // DOC: https://github.com/lo1tuma/eslint-plugin-mocha/tree/main?tab=readme-ov-file#rules
6
- "mocha/consistent-interface": OFF, /* unable, must choose BDD or TDD first */
7
- "mocha/consistent-spacing-between-blocks": OFF,
8
+ // "mocha/consistent-interface": OFF /* unable, must choose BDD or TDD first */,
9
+ // "mocha/consistent-spacing-between-blocks": OFF,
8
10
  "mocha/handle-done-callback": [
9
11
  ON,
10
12
  {
@@ -22,17 +24,17 @@ export const MochaEnable = {
22
24
  "mocha/no-exclusive-tests": ON,
23
25
  "mocha/no-exports": ON,
24
26
  "mocha/no-global-tests": ON,
25
- "mocha/no-hooks-for-single-case": OFF,
26
- "mocha/no-hooks": OFF,
27
+ // "mocha/no-hooks-for-single-case": OFF,
28
+ // "mocha/no-hooks": OFF,
27
29
  "mocha/no-identical-title": ON,
28
30
  "mocha/no-mocha-arrows": ON,
29
31
  "mocha/no-nested-tests": ON,
30
32
  "mocha/no-pending-tests": ON,
31
33
  "mocha/no-return-and-callback": ON,
32
34
  "mocha/no-return-from-async": ON,
33
- "mocha/no-setup-in-describe": OFF /* pointless and arbitrary */,
35
+ // "mocha/no-setup-in-describe": OFF /* pointless and arbitrary */,
34
36
  "mocha/no-sibling-hooks": ON,
35
- "mocha/no-synchronous-tests": OFF,
37
+ // "mocha/no-synchronous-tests": OFF,
36
38
  "mocha/no-top-level-hooks": ON,
37
39
  "mocha/prefer-arrow-callback": [
38
40
  ON,
@@ -41,8 +43,8 @@ export const MochaEnable = {
41
43
  allowUnboundThis: true,
42
44
  },
43
45
  ] /* MUST match ../js/enable.ts, which is TS-capable -- is this?? */,
44
- "mocha/valid-suite-title": OFF /* preference */,
45
- "mocha/valid-test-title": OFF /* preference */,
46
+ // "mocha/valid-suite-title": OFF /* preference */,
47
+ // "mocha/valid-test-title": OFF /* preference */,
46
48
  },
47
49
  };
48
50
  //# 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,EACF,GAAG,EACH,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,4BAA4B,EAAE,GAAG,EAAE,0CAA0C;QAC7E,yCAAyC,EAAE,GAAG;QAC9C,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,EA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AAuB,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"}
@@ -7,8 +7,6 @@ declare const _default: ({
7
7
  } | {
8
8
  id: "enable";
9
9
  rules: {
10
- readonly "mocha/consistent-interface": "off";
11
- readonly "mocha/consistent-spacing-between-blocks": "off";
12
10
  readonly "mocha/handle-done-callback": readonly ["error", {
13
11
  readonly ignorePending: false;
14
12
  }];
@@ -20,24 +18,18 @@ declare const _default: ({
20
18
  readonly "mocha/no-exclusive-tests": "error";
21
19
  readonly "mocha/no-exports": "error";
22
20
  readonly "mocha/no-global-tests": "error";
23
- readonly "mocha/no-hooks-for-single-case": "off";
24
- readonly "mocha/no-hooks": "off";
25
21
  readonly "mocha/no-identical-title": "error";
26
22
  readonly "mocha/no-mocha-arrows": "error";
27
23
  readonly "mocha/no-nested-tests": "error";
28
24
  readonly "mocha/no-pending-tests": "error";
29
25
  readonly "mocha/no-return-and-callback": "error";
30
26
  readonly "mocha/no-return-from-async": "error";
31
- readonly "mocha/no-setup-in-describe": "off";
32
27
  readonly "mocha/no-sibling-hooks": "error";
33
- readonly "mocha/no-synchronous-tests": "off";
34
28
  readonly "mocha/no-top-level-hooks": "error";
35
29
  readonly "mocha/prefer-arrow-callback": readonly ["error", {
36
30
  readonly allowNamedFunctions: false;
37
31
  readonly allowUnboundThis: true;
38
32
  }];
39
- readonly "mocha/valid-suite-title": "off";
40
- readonly "mocha/valid-test-title": "off";
41
33
  };
42
34
  } | {
43
35
  id: string;
@@ -55,7 +47,6 @@ declare const _default: ({
55
47
  readonly "chai-expect/no-inner-compare": "error";
56
48
  readonly "chai-expect/no-inner-literal": "error";
57
49
  readonly "chai-expect/missing-assertion": "error";
58
- readonly "chai-expect/terminating-properties": "off";
59
50
  };
60
51
  })[];
61
52
  export default _default;
@@ -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"}
@@ -56,7 +56,6 @@ export declare const SvelteEnable: {
56
56
  readonly additionalReactiveClasses: readonly [];
57
57
  readonly allowReassign: false;
58
58
  }];
59
- readonly "svelte/no-unused-class-name": "off";
60
59
  readonly "svelte/no-unused-props": readonly ["error", {
61
60
  readonly checkImportedTypes: true;
62
61
  readonly ignorePropertyPatterns: readonly [];
@@ -136,7 +135,6 @@ export declare const SvelteEnable: {
136
135
  };
137
136
  }];
138
137
  readonly "svelte/no-extra-reactive-curlies": "error";
139
- readonly "svelte/no-restricted-html-elements": "off";
140
138
  readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
141
139
  readonly "svelte/prefer-class-directive": readonly ["error", {
142
140
  readonly prefer: "empty";
@@ -151,7 +149,6 @@ export declare const SvelteEnable: {
151
149
  readonly "svelte/shorthand-directive": readonly ["error", {
152
150
  readonly prefer: "always";
153
151
  }];
154
- readonly "svelte/sort-attributes": "off";
155
152
  readonly "svelte/spaced-html-comment": readonly ["error", "always"];
156
153
  readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
157
154
  readonly "svelte/no-navigation-without-base": readonly ["error", {
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/enable.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuRxB,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/enable.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuRxB,CAAC"}