linted 21.0.0-rc.1 → 21.0.0-rc.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/dist/imports/index.d.ts +1 -363
  2. package/dist/imports/index.d.ts.map +1 -1
  3. package/dist/imports/parsers.d.ts +0 -2
  4. package/dist/imports/parsers.d.ts.map +1 -1
  5. package/dist/imports/parsers.js +0 -2
  6. package/dist/imports/parsers.js.map +1 -1
  7. package/dist/imports/plugins.d.ts +2 -362
  8. package/dist/imports/plugins.d.ts.map +1 -1
  9. package/dist/imports/plugins.js +2 -2
  10. package/dist/imports/plugins.js.map +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +8 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/rules/index.d.ts +6 -145
  15. package/dist/rules/index.d.ts.map +1 -1
  16. package/dist/rules/js/enable.d.ts.map +1 -1
  17. package/dist/rules/js/enable.js +1 -2
  18. package/dist/rules/js/enable.js.map +1 -1
  19. package/dist/rules/js/index.d.ts.map +1 -1
  20. package/dist/rules/js/index.js +4 -1
  21. package/dist/rules/js/index.js.map +1 -1
  22. package/dist/rules/js/stylistic.d.ts.map +1 -1
  23. package/dist/rules/js/stylistic.js +1 -2
  24. package/dist/rules/js/stylistic.js.map +1 -1
  25. package/dist/rules/json/enable.d.ts +1 -25
  26. package/dist/rules/json/enable.d.ts.map +1 -1
  27. package/dist/rules/json/enable.js +2 -27
  28. package/dist/rules/json/enable.js.map +1 -1
  29. package/dist/rules/json/enable_x.d.ts +2 -46
  30. package/dist/rules/json/enable_x.d.ts.map +1 -1
  31. package/dist/rules/json/enable_x.js +3 -75
  32. package/dist/rules/json/enable_x.js.map +1 -1
  33. package/dist/rules/json/index.d.ts +3 -71
  34. package/dist/rules/json/index.d.ts.map +1 -1
  35. package/dist/rules/json/index.js +5 -2
  36. package/dist/rules/json/index.js.map +1 -1
  37. package/dist/rules/jsonc/index.d.ts +3 -77
  38. package/dist/rules/jsonc/index.d.ts.map +1 -1
  39. package/dist/rules/jsonc/index.js +1 -2
  40. package/dist/rules/jsonc/index.js.map +1 -1
  41. package/dist/rules/mocha/disable.d.ts.map +1 -1
  42. package/dist/rules/mocha/disable.js +1 -1
  43. package/dist/rules/mocha/disable.js.map +1 -1
  44. package/dist/rules/mocha/index.d.ts.map +1 -1
  45. package/dist/rules/mocha/index.js +4 -2
  46. package/dist/rules/mocha/index.js.map +1 -1
  47. package/dist/rules/svelte/disable.d.ts.map +1 -1
  48. package/dist/rules/svelte/disable.js +1 -1
  49. package/dist/rules/svelte/disable.js.map +1 -1
  50. package/dist/rules/svelte/enable.d.ts.map +1 -1
  51. package/dist/rules/svelte/enable.js +1 -2
  52. package/dist/rules/svelte/enable.js.map +1 -1
  53. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  54. package/dist/rules/svelte/enable_x.js +1 -2
  55. package/dist/rules/svelte/enable_x.js.map +1 -1
  56. package/dist/rules/ts/disable.d.ts.map +1 -1
  57. package/dist/rules/ts/disable.js +1 -1
  58. package/dist/rules/ts/disable.js.map +1 -1
  59. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  60. package/dist/rules/ts/disable_x.js +1 -1
  61. package/dist/rules/ts/disable_x.js.map +1 -1
  62. package/dist/rules/ts/enable.d.ts.map +1 -1
  63. package/dist/rules/ts/enable.js +1 -2
  64. package/dist/rules/ts/enable.js.map +1 -1
  65. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  66. package/dist/rules/ts/enable_x.js +1 -2
  67. package/dist/rules/ts/enable_x.js.map +1 -1
  68. package/dist/rules/yml/enable.d.ts.map +1 -1
  69. package/dist/rules/yml/enable.js +1 -2
  70. package/dist/rules/yml/enable.js.map +1 -1
  71. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  72. package/dist/rules/yml/enable_x.js +1 -2
  73. package/dist/rules/yml/enable_x.js.map +1 -1
  74. package/dist/rules/yml/index.d.ts.map +1 -1
  75. package/dist/rules/yml/index.js +4 -1
  76. package/dist/rules/yml/index.js.map +1 -1
  77. package/package.json +3 -4
  78. package/src/imports/parsers.ts +0 -2
  79. package/src/imports/plugins.ts +2 -2
  80. package/src/index.ts +8 -2
  81. package/src/rules/html/enable.ts +1 -1
  82. package/src/rules/js/enable.ts +5 -6
  83. package/src/rules/js/index.ts +4 -1
  84. package/src/rules/js/stylistic.ts +5 -6
  85. package/src/rules/json/enable.ts +4 -27
  86. package/src/rules/json/enable_x.ts +6 -87
  87. package/src/rules/json/index.ts +5 -2
  88. package/src/rules/jsonc/index.ts +1 -2
  89. package/src/rules/mocha/disable.ts +4 -1
  90. package/src/rules/mocha/index.ts +4 -2
  91. package/src/rules/svelte/disable.ts +4 -1
  92. package/src/rules/svelte/enable.ts +5 -6
  93. package/src/rules/svelte/enable_x.ts +7 -5
  94. package/src/rules/ts/disable.ts +4 -1
  95. package/src/rules/ts/disable_x.ts +4 -1
  96. package/src/rules/ts/enable.ts +7 -5
  97. package/src/rules/ts/enable_x.ts +7 -5
  98. package/src/rules/yml/enable.ts +8 -5
  99. package/src/rules/yml/enable_x.ts +7 -5
  100. package/src/rules/yml/index.ts +4 -1
  101. package/dist/rules/jsonc/override.d.ts +0 -6
  102. package/dist/rules/jsonc/override.d.ts.map +0 -1
  103. package/dist/rules/jsonc/override.js +0 -13
  104. package/dist/rules/jsonc/override.js.map +0 -1
  105. package/dist/rules/mocha/base.d.ts +0 -37
  106. package/dist/rules/mocha/base.d.ts.map +0 -1
  107. package/dist/rules/mocha/base.js +0 -7
  108. package/dist/rules/mocha/base.js.map +0 -1
  109. package/dist/rules/mochaJs/index.d.ts +0 -800
  110. package/dist/rules/mochaJs/index.d.ts.map +0 -1
  111. package/dist/rules/mochaJs/index.js +0 -7
  112. package/dist/rules/mochaJs/index.js.map +0 -1
  113. package/src/rules/jsonc/override.ts +0 -16
  114. package/src/rules/mocha/base.ts +0 -7
  115. package/src/rules/mochaJs/index.ts +0 -7
@@ -1,8 +1,10 @@
1
- import { enable, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR, OFF } = level,
5
- { Never, Explicit } = state;
1
+ import {
2
+ enable,
3
+ ERROR,
4
+ OFF,
5
+ Never,
6
+ Explicit,
7
+ } from "../../_strings";
6
8
 
7
9
  export default [
8
10
  enable,
@@ -1,8 +1,10 @@
1
- import { enable_x, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR, OFF } = level,
5
- { Always, All } = state;
1
+ import {
2
+ enable_x,
3
+ ERROR,
4
+ OFF,
5
+ Always,
6
+ All,
7
+ } from "../../_strings";
6
8
 
7
9
  export default [
8
10
  enable_x,
@@ -1,8 +1,11 @@
1
- import { enable, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR, OFF } = level,
5
- { Never, Always, Double } = state;
1
+ import {
2
+ enable,
3
+ ERROR,
4
+ OFF,
5
+ Never,
6
+ Always,
7
+ Double,
8
+ } from "../../_strings";
6
9
 
7
10
  export default [
8
11
  enable,
@@ -1,8 +1,10 @@
1
- import { enable_x, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR } = level,
5
- { Never, Always, Strict } = state;
1
+ import {
2
+ enable_x,
3
+ ERROR,
4
+ Never,
5
+ Always,
6
+ Strict,
7
+ } from "../../_strings";
6
8
 
7
9
  export default [
8
10
  enable_x,
@@ -1,4 +1,7 @@
1
1
  import enable_x from "./enable_x";
2
2
  import enable from "./enable";
3
3
 
4
- export default [enable_x, enable];
4
+ export default [
5
+ enable_x,
6
+ enable,
7
+ ];
@@ -1,6 +0,0 @@
1
- declare const _default: readonly ["override", {
2
- readonly "jsonc/no-comments": "off";
3
- readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
4
- }];
5
- export default _default;
6
- //# sourceMappingURL=override.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;AAKA,wBAUW"}
@@ -1,13 +0,0 @@
1
- import { override, level, state } from "../../_strings/index.js";
2
- const { ERROR, OFF } = level, { AlwaysMultiline } = state;
3
- export default [
4
- override,
5
- {
6
- "jsonc/no-comments": OFF,
7
- "jsonc/comma-dangle": [
8
- ERROR,
9
- AlwaysMultiline,
10
- ],
11
- },
12
- ];
13
- //# sourceMappingURL=override.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EAC5B,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;AAE5B,eAAe;IACb,QAAQ;IACR;QAEE,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE;YACpB,KAAK;YACL,eAAe;SAChB;KACF;CACO,CAAC"}
@@ -1,37 +0,0 @@
1
- declare const _default: (readonly ["disable", {
2
- readonly "prefer-arrow-callback": "off";
3
- }] | readonly ["enable", {
4
- readonly "mocha/consistent-spacing-between-blocks": "off";
5
- readonly "mocha/handle-done-callback": readonly ["error", {
6
- readonly ignoreSkipped: false;
7
- }];
8
- readonly "mocha/max-top-level-suites": readonly ["error", {
9
- readonly limit: 1;
10
- }];
11
- readonly "mocha/no-async-describe": "error";
12
- readonly "mocha/no-empty-description": "error";
13
- readonly "mocha/no-exclusive-tests": "error";
14
- readonly "mocha/no-exports": "error";
15
- readonly "mocha/no-global-tests": "error";
16
- readonly "mocha/no-hooks-for-single-case": "off";
17
- readonly "mocha/no-hooks": "off";
18
- readonly "mocha/no-identical-title": "error";
19
- readonly "mocha/no-mocha-arrows": "error";
20
- readonly "mocha/no-nested-tests": "error";
21
- readonly "mocha/no-pending-tests": "warn";
22
- readonly "mocha/no-return-and-callback": "error";
23
- readonly "mocha/no-return-from-async": "error";
24
- readonly "mocha/no-setup-in-describe": "error";
25
- readonly "mocha/no-sibling-hooks": "error";
26
- readonly "mocha/no-skipped-tests": "error";
27
- readonly "mocha/no-synchronous-tests": "off";
28
- readonly "mocha/no-top-level-hooks": "error";
29
- readonly "mocha/prefer-arrow-callback": readonly ["error", {
30
- readonly allowNamedFunctions: false;
31
- readonly allowUnboundThis: true;
32
- }];
33
- readonly "mocha/valid-suite-description": "off";
34
- readonly "mocha/valid-test-description": "off";
35
- }])[];
36
- export default _default;
37
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import disable from "./disable.js";
2
- import enable from "./enable.js";
3
- export default [
4
- disable,
5
- enable,
6
- ];
7
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/rules/mocha/base.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,OAAO;IACP,MAAM;CACP,CAAC"}