linted 16.0.1 → 16.0.2-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. package/dist/statics/rules/presets/entries/entry.d.ts +2 -1
  2. package/dist/statics/rules/presets/entries/entry.d.ts.map +1 -1
  3. package/dist/statics/rules/presets/entries/entry.js +1 -1
  4. package/dist/statics/rules/presets/entries/entry.js.map +1 -1
  5. package/dist/statics/rules/presets/entries/html/Enable.js +2 -2
  6. package/dist/statics/rules/presets/entries/html/Enable.js.map +1 -1
  7. package/dist/statics/rules/presets/entries/html/Recommended.d.ts.map +1 -1
  8. package/dist/statics/rules/presets/entries/html/Recommended.js +2 -1
  9. package/dist/statics/rules/presets/entries/html/Recommended.js.map +1 -1
  10. package/dist/statics/rules/presets/entries/index.d.ts +8 -0
  11. package/dist/statics/rules/presets/entries/index.d.ts.map +1 -0
  12. package/dist/statics/rules/presets/entries/index.js +2 -0
  13. package/dist/statics/rules/presets/entries/index.js.map +1 -0
  14. package/dist/statics/rules/presets/entries/js/Enable.d.ts.map +1 -1
  15. package/dist/statics/rules/presets/entries/js/Enable.js +2 -3
  16. package/dist/statics/rules/presets/entries/js/Enable.js.map +1 -1
  17. package/dist/statics/rules/presets/entries/js/EnableStylistic.d.ts.map +1 -1
  18. package/dist/statics/rules/presets/entries/js/EnableStylistic.js +3 -3
  19. package/dist/statics/rules/presets/entries/js/EnableStylistic.js.map +1 -1
  20. package/dist/statics/rules/presets/entries/json/Enable.d.ts.map +1 -1
  21. package/dist/statics/rules/presets/entries/json/Enable.js +2 -3
  22. package/dist/statics/rules/presets/entries/json/Enable.js.map +1 -1
  23. package/dist/statics/rules/presets/entries/json/EnableX.d.ts.map +1 -1
  24. package/dist/statics/rules/presets/entries/json/EnableX.js +2 -3
  25. package/dist/statics/rules/presets/entries/json/EnableX.js.map +1 -1
  26. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.d.ts.map +1 -1
  27. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js +2 -3
  28. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js.map +1 -1
  29. package/dist/statics/rules/presets/entries/md/Enable.d.ts.map +1 -1
  30. package/dist/statics/rules/presets/entries/md/Enable.js +2 -3
  31. package/dist/statics/rules/presets/entries/md/Enable.js.map +1 -1
  32. package/dist/statics/rules/presets/entries/mocha/Enable.d.ts.map +1 -1
  33. package/dist/statics/rules/presets/entries/mocha/Enable.js +2 -1
  34. package/dist/statics/rules/presets/entries/mocha/Enable.js.map +1 -1
  35. package/dist/statics/rules/presets/entries/mocha/Recommended.d.ts.map +1 -1
  36. package/dist/statics/rules/presets/entries/mocha/Recommended.js +2 -1
  37. package/dist/statics/rules/presets/entries/mocha/Recommended.js.map +1 -1
  38. package/dist/statics/rules/presets/entries/svelte/DisableJS.d.ts.map +1 -1
  39. package/dist/statics/rules/presets/entries/svelte/DisableJS.js +2 -1
  40. package/dist/statics/rules/presets/entries/svelte/DisableJS.js.map +1 -1
  41. package/dist/statics/rules/presets/entries/svelte/DisableTS.d.ts.map +1 -1
  42. package/dist/statics/rules/presets/entries/svelte/DisableTS.js +2 -1
  43. package/dist/statics/rules/presets/entries/svelte/DisableTS.js.map +1 -1
  44. package/dist/statics/rules/presets/entries/svelte/DisableX.js +2 -2
  45. package/dist/statics/rules/presets/entries/svelte/DisableX.js.map +1 -1
  46. package/dist/statics/rules/presets/entries/svelte/Enable.d.ts.map +1 -1
  47. package/dist/statics/rules/presets/entries/svelte/Enable.js +2 -3
  48. package/dist/statics/rules/presets/entries/svelte/Enable.js.map +1 -1
  49. package/dist/statics/rules/presets/entries/svelte/EnableX.d.ts.map +1 -1
  50. package/dist/statics/rules/presets/entries/svelte/EnableX.js +2 -3
  51. package/dist/statics/rules/presets/entries/svelte/EnableX.js.map +1 -1
  52. package/dist/statics/rules/presets/entries/ts/DisableCompiler.d.ts.map +1 -1
  53. package/dist/statics/rules/presets/entries/ts/DisableCompiler.js +2 -1
  54. package/dist/statics/rules/presets/entries/ts/DisableCompiler.js.map +1 -1
  55. package/dist/statics/rules/presets/entries/ts/DisableX.js +2 -2
  56. package/dist/statics/rules/presets/entries/ts/DisableX.js.map +1 -1
  57. package/dist/statics/rules/presets/entries/ts/Enable.d.ts.map +1 -1
  58. package/dist/statics/rules/presets/entries/ts/Enable.js +2 -3
  59. package/dist/statics/rules/presets/entries/ts/Enable.js.map +1 -1
  60. package/dist/statics/rules/presets/entries/ts/EnableX.d.ts.map +1 -1
  61. package/dist/statics/rules/presets/entries/ts/EnableX.js +2 -3
  62. package/dist/statics/rules/presets/entries/ts/EnableX.js.map +1 -1
  63. package/dist/statics/rules/presets/entries/yml/Enable.d.ts.map +1 -1
  64. package/dist/statics/rules/presets/entries/yml/Enable.js +2 -3
  65. package/dist/statics/rules/presets/entries/yml/Enable.js.map +1 -1
  66. package/dist/statics/rules/presets/entries/yml/EnableX.d.ts.map +1 -1
  67. package/dist/statics/rules/presets/entries/yml/EnableX.js +2 -3
  68. package/dist/statics/rules/presets/entries/yml/EnableX.js.map +1 -1
  69. package/dist/statics/rules/strings/id/index.d.ts +3 -0
  70. package/dist/statics/rules/strings/id/index.d.ts.map +1 -0
  71. package/dist/statics/rules/strings/id/index.js +3 -0
  72. package/dist/statics/rules/strings/id/index.js.map +1 -0
  73. package/dist/statics/rules/strings/index.d.ts +7 -0
  74. package/dist/statics/rules/strings/index.d.ts.map +1 -0
  75. package/dist/statics/rules/strings/index.js +7 -0
  76. package/dist/statics/rules/strings/index.js.map +1 -0
  77. package/dist/statics/rules/strings/level/index.d.ts +3 -0
  78. package/dist/statics/rules/strings/level/index.d.ts.map +1 -0
  79. package/dist/statics/rules/strings/level/index.js +3 -0
  80. package/dist/statics/rules/strings/level/index.js.map +1 -0
  81. package/dist/statics/rules/strings/state/index.d.ts +3 -0
  82. package/dist/statics/rules/strings/state/index.d.ts.map +1 -0
  83. package/dist/statics/rules/strings/state/index.js +3 -0
  84. package/dist/statics/rules/strings/state/index.js.map +1 -0
  85. package/package.json +1 -1
  86. package/src/statics/rules/presets/Html.ts +1 -1
  87. package/src/statics/rules/presets/Js.ts +1 -1
  88. package/src/statics/rules/presets/Json.ts +1 -1
  89. package/src/statics/rules/presets/Jsonc.ts +1 -1
  90. package/src/statics/rules/presets/Md.ts +1 -1
  91. package/src/statics/rules/presets/Mocha.ts +1 -1
  92. package/src/statics/rules/presets/Svelte.ts +1 -1
  93. package/src/statics/rules/presets/Ts.ts +1 -1
  94. package/src/statics/rules/presets/Yml.ts +1 -1
  95. package/src/statics/rules/presets/entries/html/Enable.ts +3 -3
  96. package/src/statics/rules/presets/entries/html/Recommended.ts +3 -2
  97. package/src/statics/rules/presets/entries/{entry.ts → index.ts} +5 -1
  98. package/src/statics/rules/presets/entries/js/Enable.ts +16 -13
  99. package/src/statics/rules/presets/entries/js/EnableStylistic.ts +23 -19
  100. package/src/statics/rules/presets/entries/json/Enable.ts +3 -5
  101. package/src/statics/rules/presets/entries/json/EnableX.ts +14 -11
  102. package/src/statics/rules/presets/entries/jsonc/OverrideJson.ts +9 -6
  103. package/src/statics/rules/presets/entries/md/Enable.ts +3 -5
  104. package/src/statics/rules/presets/entries/mocha/Enable.ts +3 -2
  105. package/src/statics/rules/presets/entries/mocha/Recommended.ts +3 -2
  106. package/src/statics/rules/presets/entries/svelte/DisableJS.ts +3 -2
  107. package/src/statics/rules/presets/entries/svelte/DisableTS.ts +3 -2
  108. package/src/statics/rules/presets/entries/svelte/DisableX.ts +3 -3
  109. package/src/statics/rules/presets/entries/svelte/Enable.ts +12 -9
  110. package/src/statics/rules/presets/entries/svelte/EnableX.ts +10 -7
  111. package/src/statics/rules/presets/entries/ts/DisableCompiler.ts +3 -2
  112. package/src/statics/rules/presets/entries/ts/DisableX.ts +3 -3
  113. package/src/statics/rules/presets/entries/ts/Enable.ts +9 -6
  114. package/src/statics/rules/presets/entries/ts/EnableX.ts +10 -7
  115. package/src/statics/rules/presets/entries/yml/Enable.ts +11 -8
  116. package/src/statics/rules/presets/entries/yml/EnableX.ts +11 -8
  117. package/src/statics/rules/{presets/entries/id.ts → strings/id/index.ts} +2 -0
  118. package/src/statics/rules/strings/index.ts +6 -0
  119. /package/src/statics/rules/{presets/entries/level.ts → strings/level/index.ts} +0 -0
  120. /package/src/statics/rules/{presets/entries/state.ts → strings/state/index.ts} +0 -0
@@ -1,11 +1,14 @@
1
- import type RuleEntry from "../entry.js";
2
- import { ERROR } from "../level.js";
3
- import {
4
- NEVER,
5
- ALWAYS,
6
- STRICT,
7
- } from "../state.js";
8
- import { EnableX } from "../id.js";
1
+ import { Strings, type RuleEntry } from "../index.js";
2
+
3
+ const {
4
+ Id: { EnableX },
5
+ Level: { ERROR },
6
+ State: {
7
+ NEVER,
8
+ ALWAYS,
9
+ STRICT,
10
+ },
11
+ } = Strings;
9
12
 
10
13
  export default [
11
14
  EnableX,
@@ -3,6 +3,7 @@ DisableX = "disable-extend",
3
3
  EnableX = "enable-extend",
4
4
  Enable = "enable",
5
5
  Override = "override",
6
+ Stylistic = "stylistic",
6
7
  Recommended = "recommended";
7
8
 
8
9
  export {
@@ -11,5 +12,6 @@ export {
11
12
  EnableX,
12
13
  Enable,
13
14
  Override,
15
+ Stylistic,
14
16
  Recommended,
15
17
  };
@@ -0,0 +1,6 @@
1
+ export * from "./id/index.js";
2
+ export * from "./level/index.js";
3
+ export * from "./state/index.js";
4
+ export * as Id from "./id/index.js";
5
+ export * as State from "./state/index.js";
6
+ export * as Level from "./level/index.js";