@eslinted/core 4.0.4 → 4.0.5-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. package/package.json +18 -4
  2. package/src/factory/{files/index.ts → files.ts} +4 -4
  3. package/src/factory/index.ts +3 -6
  4. package/src/factory/options/{option/html/index.ts → html.ts} +1 -1
  5. package/src/factory/options/index.ts +9 -9
  6. package/src/factory/options/{option/js/index.ts → js.ts} +1 -1
  7. package/src/factory/options/{option/json/index.ts → json.ts} +1 -1
  8. package/src/factory/options/{option/jsonc/index.ts → jsonc.ts} +1 -1
  9. package/src/factory/options/{option/md/index.ts → md.ts} +1 -1
  10. package/src/factory/options/{option/mocha/index.ts → mocha.ts} +2 -2
  11. package/src/factory/options/option/index.ts +19 -13
  12. package/src/factory/options/option/params/globals.ts +3 -0
  13. package/src/{boundary/output/config/option/language/index.ts → factory/options/option/params/language.ts} +3 -5
  14. package/src/factory/options/option/params/languageOptions/ecma.ts +1 -0
  15. package/src/factory/options/option/params/languageOptions/source.ts +1 -0
  16. package/src/{boundary/output/config/option/linter/index.ts → factory/options/option/params/linter.ts} +1 -1
  17. package/src/factory/options/option/params/plugins.ts +1 -0
  18. package/src/factory/options/option/template.ts +24 -0
  19. package/src/factory/options/{option/svelte/index.ts → svelte.ts} +2 -2
  20. package/src/factory/options/{option/ts/index.ts → ts.ts} +2 -2
  21. package/src/factory/options/{option/yml/index.ts → yml.ts} +1 -1
  22. package/src/factory/{rulesets/ruleset → ruleset}/index.ts +5 -4
  23. package/src/factory/ruleset/rule.ts +8 -0
  24. package/src/factory/{rulesets/index.ts → rulesets.ts} +5 -5
  25. package/src/index.ts +20 -19
  26. package/src/input.ts +11 -0
  27. package/src/inputs/files/base.ts +3 -0
  28. package/src/inputs/files/includes.ts +3 -0
  29. package/src/inputs/files.ts +7 -0
  30. package/src/inputs/imports/parsers.ts +11 -0
  31. package/src/{dependency/plugins/index.ts → inputs/imports/plugins.ts} +2 -5
  32. package/src/inputs/imports.ts +2 -0
  33. package/src/inputs/parsers.ts +3 -0
  34. package/src/inputs/plugins.ts +3 -0
  35. package/src/inputs/rules/entry/index.ts +3 -0
  36. package/src/inputs/rules/entry/object/index.ts +7 -0
  37. package/src/inputs/rules/entry/object/state/index.ts +4 -0
  38. package/src/inputs/rules/overrides.ts +4 -0
  39. package/src/inputs/rules/preset.ts +4 -0
  40. package/src/inputs/rules.ts +7 -0
  41. package/src/{boundary/output/config/index.ts → output.ts} +3 -4
  42. package/src/{scopes/index.ts → scopes.ts} +1 -3
  43. package/dist/boundary/index.d.ts +0 -9
  44. package/dist/boundary/index.d.ts.map +0 -1
  45. package/dist/boundary/index.js +0 -2
  46. package/dist/boundary/index.js.map +0 -1
  47. package/dist/boundary/input/files/default/index.d.ts +0 -4
  48. package/dist/boundary/input/files/default/index.d.ts.map +0 -1
  49. package/dist/boundary/input/files/default/index.js +0 -2
  50. package/dist/boundary/input/files/default/index.js.map +0 -1
  51. package/dist/boundary/input/files/includes/index.d.ts +0 -4
  52. package/dist/boundary/input/files/includes/index.d.ts.map +0 -1
  53. package/dist/boundary/input/files/includes/index.js +0 -2
  54. package/dist/boundary/input/files/includes/index.js.map +0 -1
  55. package/dist/boundary/input/files/index.d.ts +0 -8
  56. package/dist/boundary/input/files/index.d.ts.map +0 -1
  57. package/dist/boundary/input/files/index.js +0 -2
  58. package/dist/boundary/input/files/index.js.map +0 -1
  59. package/dist/boundary/input/index.d.ts +0 -14
  60. package/dist/boundary/input/index.d.ts.map +0 -1
  61. package/dist/boundary/input/index.js +0 -2
  62. package/dist/boundary/input/index.js.map +0 -1
  63. package/dist/boundary/input/parsers/index.d.ts +0 -4
  64. package/dist/boundary/input/parsers/index.d.ts.map +0 -1
  65. package/dist/boundary/input/parsers/index.js +0 -2
  66. package/dist/boundary/input/parsers/index.js.map +0 -1
  67. package/dist/boundary/input/plugins/index.d.ts +0 -6
  68. package/dist/boundary/input/plugins/index.d.ts.map +0 -1
  69. package/dist/boundary/input/plugins/index.js +0 -2
  70. package/dist/boundary/input/plugins/index.js.map +0 -1
  71. package/dist/boundary/input/rules/index.d.ts +0 -8
  72. package/dist/boundary/input/rules/index.d.ts.map +0 -1
  73. package/dist/boundary/input/rules/index.js +0 -2
  74. package/dist/boundary/input/rules/index.js.map +0 -1
  75. package/dist/boundary/input/rules/overrides/index.d.ts +0 -5
  76. package/dist/boundary/input/rules/overrides/index.d.ts.map +0 -1
  77. package/dist/boundary/input/rules/overrides/index.js +0 -2
  78. package/dist/boundary/input/rules/overrides/index.js.map +0 -1
  79. package/dist/boundary/input/rules/preset/entry/index.d.ts +0 -4
  80. package/dist/boundary/input/rules/preset/entry/index.d.ts.map +0 -1
  81. package/dist/boundary/input/rules/preset/entry/index.js +0 -2
  82. package/dist/boundary/input/rules/preset/entry/index.js.map +0 -1
  83. package/dist/boundary/input/rules/preset/entry/object/index.d.ts +0 -4
  84. package/dist/boundary/input/rules/preset/entry/object/index.d.ts.map +0 -1
  85. package/dist/boundary/input/rules/preset/entry/object/index.js +0 -2
  86. package/dist/boundary/input/rules/preset/entry/object/index.js.map +0 -1
  87. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts +0 -3
  88. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts.map +0 -1
  89. package/dist/boundary/input/rules/preset/entry/object/state/index.js +0 -2
  90. package/dist/boundary/input/rules/preset/entry/object/state/index.js.map +0 -1
  91. package/dist/boundary/input/rules/preset/index.d.ts +0 -5
  92. package/dist/boundary/input/rules/preset/index.d.ts.map +0 -1
  93. package/dist/boundary/input/rules/preset/index.js +0 -2
  94. package/dist/boundary/input/rules/preset/index.js.map +0 -1
  95. package/dist/boundary/output/config/index.d.ts +0 -22
  96. package/dist/boundary/output/config/index.d.ts.map +0 -1
  97. package/dist/boundary/output/config/index.js +0 -2
  98. package/dist/boundary/output/config/index.js.map +0 -1
  99. package/dist/boundary/output/config/option/index.d.ts +0 -14
  100. package/dist/boundary/output/config/option/index.d.ts.map +0 -1
  101. package/dist/boundary/output/config/option/index.js +0 -2
  102. package/dist/boundary/output/config/option/index.js.map +0 -1
  103. package/dist/boundary/output/config/option/language/ecma/index.d.ts +0 -3
  104. package/dist/boundary/output/config/option/language/ecma/index.d.ts.map +0 -1
  105. package/dist/boundary/output/config/option/language/ecma/index.js +0 -2
  106. package/dist/boundary/output/config/option/language/ecma/index.js.map +0 -1
  107. package/dist/boundary/output/config/option/language/index.d.ts +0 -15
  108. package/dist/boundary/output/config/option/language/index.d.ts.map +0 -1
  109. package/dist/boundary/output/config/option/language/index.js +0 -2
  110. package/dist/boundary/output/config/option/language/index.js.map +0 -1
  111. package/dist/boundary/output/config/option/language/source/index.d.ts +0 -3
  112. package/dist/boundary/output/config/option/language/source/index.d.ts.map +0 -1
  113. package/dist/boundary/output/config/option/language/source/index.js +0 -2
  114. package/dist/boundary/output/config/option/language/source/index.js.map +0 -1
  115. package/dist/boundary/output/config/option/linter/index.d.ts +0 -5
  116. package/dist/boundary/output/config/option/linter/index.d.ts.map +0 -1
  117. package/dist/boundary/output/config/option/linter/index.js +0 -2
  118. package/dist/boundary/output/config/option/linter/index.js.map +0 -1
  119. package/dist/boundary/output/config/option/plugins/index.d.ts +0 -5
  120. package/dist/boundary/output/config/option/plugins/index.d.ts.map +0 -1
  121. package/dist/boundary/output/config/option/plugins/index.js +0 -2
  122. package/dist/boundary/output/config/option/plugins/index.js.map +0 -1
  123. package/dist/boundary/output/index.d.ts +0 -3
  124. package/dist/boundary/output/index.d.ts.map +0 -1
  125. package/dist/boundary/output/index.js +0 -2
  126. package/dist/boundary/output/index.js.map +0 -1
  127. package/dist/dependency/globals/index.d.ts +0 -4
  128. package/dist/dependency/globals/index.d.ts.map +0 -1
  129. package/dist/dependency/globals/index.js +0 -2
  130. package/dist/dependency/globals/index.js.map +0 -1
  131. package/dist/dependency/index.d.ts +0 -5
  132. package/dist/dependency/index.d.ts.map +0 -1
  133. package/dist/dependency/index.js +0 -2
  134. package/dist/dependency/index.js.map +0 -1
  135. package/dist/dependency/parsers/index.d.ts +0 -4
  136. package/dist/dependency/parsers/index.d.ts.map +0 -1
  137. package/dist/dependency/parsers/index.js +0 -2
  138. package/dist/dependency/parsers/index.js.map +0 -1
  139. package/dist/dependency/plugins/index.d.ts +0 -3
  140. package/dist/dependency/plugins/index.d.ts.map +0 -1
  141. package/dist/dependency/plugins/index.js +0 -2
  142. package/dist/dependency/plugins/index.js.map +0 -1
  143. package/dist/factory/files/index.d.ts +0 -8
  144. package/dist/factory/files/index.d.ts.map +0 -1
  145. package/dist/factory/files/index.js +0 -16
  146. package/dist/factory/files/index.js.map +0 -1
  147. package/dist/factory/index.d.ts +0 -7
  148. package/dist/factory/index.d.ts.map +0 -1
  149. package/dist/factory/index.js +0 -7
  150. package/dist/factory/index.js.map +0 -1
  151. package/dist/factory/options/index.d.ts +0 -22
  152. package/dist/factory/options/index.d.ts.map +0 -1
  153. package/dist/factory/options/index.js +0 -21
  154. package/dist/factory/options/index.js.map +0 -1
  155. package/dist/factory/options/option/html/index.d.ts +0 -9
  156. package/dist/factory/options/option/html/index.d.ts.map +0 -1
  157. package/dist/factory/options/option/html/index.js +0 -10
  158. package/dist/factory/options/option/html/index.js.map +0 -1
  159. package/dist/factory/options/option/index.d.ts +0 -2989
  160. package/dist/factory/options/option/index.d.ts.map +0 -1
  161. package/dist/factory/options/option/index.js +0 -56
  162. package/dist/factory/options/option/index.js.map +0 -1
  163. package/dist/factory/options/option/js/index.d.ts +0 -10
  164. package/dist/factory/options/option/js/index.d.ts.map +0 -1
  165. package/dist/factory/options/option/js/index.js +0 -12
  166. package/dist/factory/options/option/js/index.js.map +0 -1
  167. package/dist/factory/options/option/json/index.d.ts +0 -9
  168. package/dist/factory/options/option/json/index.d.ts.map +0 -1
  169. package/dist/factory/options/option/json/index.js +0 -10
  170. package/dist/factory/options/option/json/index.js.map +0 -1
  171. package/dist/factory/options/option/jsonc/index.d.ts +0 -9
  172. package/dist/factory/options/option/jsonc/index.d.ts.map +0 -1
  173. package/dist/factory/options/option/jsonc/index.js +0 -10
  174. package/dist/factory/options/option/jsonc/index.js.map +0 -1
  175. package/dist/factory/options/option/md/index.d.ts +0 -9
  176. package/dist/factory/options/option/md/index.d.ts.map +0 -1
  177. package/dist/factory/options/option/md/index.js +0 -10
  178. package/dist/factory/options/option/md/index.js.map +0 -1
  179. package/dist/factory/options/option/mocha/index.d.ts +0 -40
  180. package/dist/factory/options/option/mocha/index.d.ts.map +0 -1
  181. package/dist/factory/options/option/mocha/index.js +0 -17
  182. package/dist/factory/options/option/mocha/index.js.map +0 -1
  183. package/dist/factory/options/option/svelte/index.d.ts +0 -27
  184. package/dist/factory/options/option/svelte/index.d.ts.map +0 -1
  185. package/dist/factory/options/option/svelte/index.js +0 -21
  186. package/dist/factory/options/option/svelte/index.js.map +0 -1
  187. package/dist/factory/options/option/ts/index.d.ts +0 -19
  188. package/dist/factory/options/option/ts/index.d.ts.map +0 -1
  189. package/dist/factory/options/option/ts/index.js +0 -15
  190. package/dist/factory/options/option/ts/index.js.map +0 -1
  191. package/dist/factory/options/option/yml/index.d.ts +0 -9
  192. package/dist/factory/options/option/yml/index.d.ts.map +0 -1
  193. package/dist/factory/options/option/yml/index.js +0 -10
  194. package/dist/factory/options/option/yml/index.js.map +0 -1
  195. package/dist/factory/rulesets/index.d.ts +0 -9
  196. package/dist/factory/rulesets/index.d.ts.map +0 -1
  197. package/dist/factory/rulesets/index.js +0 -17
  198. package/dist/factory/rulesets/index.js.map +0 -1
  199. package/dist/factory/rulesets/ruleset/index.d.ts +0 -13
  200. package/dist/factory/rulesets/ruleset/index.d.ts.map +0 -1
  201. package/dist/factory/rulesets/ruleset/index.js +0 -38
  202. package/dist/factory/rulesets/ruleset/index.js.map +0 -1
  203. package/dist/factory/rulesets/ruleset/rule/index.d.ts +0 -7
  204. package/dist/factory/rulesets/ruleset/rule/index.d.ts.map +0 -1
  205. package/dist/factory/rulesets/ruleset/rule/index.js +0 -9
  206. package/dist/factory/rulesets/ruleset/rule/index.js.map +0 -1
  207. package/dist/index.d.ts +0 -23
  208. package/dist/index.d.ts.map +0 -1
  209. package/dist/index.js +0 -31
  210. package/dist/index.js.map +0 -1
  211. package/dist/scopes/index.d.ts +0 -4
  212. package/dist/scopes/index.d.ts.map +0 -1
  213. package/dist/scopes/index.js +0 -13
  214. package/dist/scopes/index.js.map +0 -1
  215. package/src/boundary/index.ts +0 -15
  216. package/src/boundary/input/files/default/index.ts +0 -8
  217. package/src/boundary/input/files/includes/index.ts +0 -5
  218. package/src/boundary/input/files/index.ts +0 -11
  219. package/src/boundary/input/index.ts +0 -23
  220. package/src/boundary/input/parsers/index.ts +0 -5
  221. package/src/boundary/input/plugins/index.ts +0 -5
  222. package/src/boundary/input/rules/index.ts +0 -14
  223. package/src/boundary/input/rules/overrides/index.ts +0 -6
  224. package/src/boundary/input/rules/preset/entry/index.ts +0 -9
  225. package/src/boundary/input/rules/preset/entry/object/index.ts +0 -13
  226. package/src/boundary/input/rules/preset/entry/object/state/index.ts +0 -10
  227. package/src/boundary/input/rules/preset/index.ts +0 -10
  228. package/src/boundary/output/config/option/index.ts +0 -24
  229. package/src/boundary/output/config/option/language/ecma/index.ts +0 -3
  230. package/src/boundary/output/config/option/language/source/index.ts +0 -3
  231. package/src/boundary/output/config/option/plugins/index.ts +0 -3
  232. package/src/boundary/output/index.ts +0 -3
  233. package/src/dependency/globals/index.ts +0 -8
  234. package/src/dependency/index.ts +0 -5
  235. package/src/dependency/parsers/index.ts +0 -13
  236. package/src/factory/rulesets/ruleset/rule/index.ts +0 -8
@@ -1,14 +0,0 @@
1
- import type Plugins from "./plugins/index.js";
2
- import type Parsers from "./parsers/index.js";
3
- import type * as Files from "./files/index.js";
4
- import type * as Rules from "./rules/index.js";
5
- type Files = Files.Files;
6
- type Rules = Rules.Rules;
7
- interface Input {
8
- files: Files;
9
- rules: Rules;
10
- plugins: Plugins;
11
- parsers: Parsers;
12
- }
13
- export type { Files, Rules, Plugins, Parsers, Input, Input as default, };
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/boundary/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAE/C,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AACzB,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAEzB,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,YAAY,EACV,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,KAAK,EACL,KAAK,IAAI,OAAO,GACjB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/boundary/input/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { Parsers as Dependencies } from "../../../dependency/index.js";
2
- type Parsers = Readonly<Record<Dependencies, unknown>>;
3
- export type { Dependencies, Parsers, Parsers as default };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5E,KAAK,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;AAEvD,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import type { Plugins as Dependencies } from "../../../dependency/index.js";
2
- type Plugins = Readonly<Record<Dependencies, {
3
- configs: unknown;
4
- }>>;
5
- export type { Dependencies, Plugins, Plugins as default };
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5E,KAAK,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC,CAAC;AAEpE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import type RuleBase from "./preset/index.js";
2
- import type Overrides from "./overrides/index.js";
3
- type Rules = {
4
- rules: RuleBase;
5
- overrides: Overrides;
6
- };
7
- export type { RuleBase, Overrides, Rules, Rules as default, };
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAElD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,QAAQ,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,YAAY,EACV,QAAQ,EACR,SAAS,EACT,KAAK,EACL,KAAK,IAAI,OAAO,GACjB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/rules/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Scope } from "../../../../scopes/index.js";
2
- import type * as Overrides from "../preset/index.js";
3
- type Overrides = Readonly<Partial<Record<Scope, Overrides.RuleBase.RuleEntry.RuleObject>>>;
4
- export type { Overrides, Overrides as default };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/overrides/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAErD,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;AAE3F,YAAY,EAAE,SAAS,EAAE,SAAS,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/overrides/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as RuleEntry from "./object/index.js";
2
- type RuleEntry = readonly [string, RuleEntry.RuleObject];
3
- export type { RuleEntry, RuleEntry as Entry, RuleEntry as default, };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/input/rules/preset/entry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAEpD,KAAK,SAAS,GAAG,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;AAEzD,YAAY,EACV,SAAS,EACT,SAAS,IAAI,KAAK,EAClB,SAAS,IAAI,OAAO,GACrB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/boundary/input/rules/preset/entry/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as RuleObject from "./state/index.js";
2
- type RuleObject = Readonly<Record<string, RuleObject.RuleLevel | readonly [RuleObject.RuleLevel, ...unknown[]]>>;
3
- export type { RuleObject, RuleObject as Object, RuleObject as default, };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/boundary/input/rules/preset/entry/object/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAEpD,KAAK,UAAU,GAAG,QAAQ,CAAC,MAAM,CAC/B,MAAM,EACJ,UAAU,CAAC,SAAS,GACpB,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAChD,CAAC,CAAC;AAEH,YAAY,EACV,UAAU,EACV,UAAU,IAAI,MAAM,EACpB,UAAU,IAAI,OAAO,GACtB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/boundary/input/rules/preset/entry/object/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type RuleLevel = "error" | "warn" | "off";
2
- export type { RuleLevel, RuleLevel as Level, RuleLevel as default, };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/boundary/input/rules/preset/entry/object/state/index.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GACV,OAAO,GACP,MAAM,GACN,KAAK,CAAC;AAEV,YAAY,EACV,SAAS,EACT,SAAS,IAAI,KAAK,EAClB,SAAS,IAAI,OAAO,GACrB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/boundary/input/rules/preset/entry/object/state/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Scope } from "../../../../scopes/index.js";
2
- import type * as RuleBase from "./entry/index.js";
3
- type RuleBase = Readonly<Record<Scope, readonly RuleBase.RuleEntry[]>>;
4
- export type { RuleBase, RuleBase as Base, RuleBase as default, };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/preset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAElD,KAAK,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAEvE,YAAY,EACV,QAAQ,EACR,QAAQ,IAAI,IAAI,EAChB,QAAQ,IAAI,OAAO,GACpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/preset/index.ts"],"names":[],"mappings":""}
@@ -1,22 +0,0 @@
1
- import type { Rules } from "../../input/index.js";
2
- import type * as Config from "./option/index.js";
3
- interface Config {
4
- name: `linted/scope:${string}/rule:${string}+${string}`;
5
- rules: Rules.RuleBase.RuleEntry.RuleObject;
6
- files: readonly string[];
7
- linterOptions: {
8
- noInlineConfig: true;
9
- reportUnusedDisableDirectives: "error";
10
- };
11
- languageOptions: {
12
- sourceType?: "module" | "script";
13
- ecmaVersion?: "latest";
14
- globals?: Record<string, true>;
15
- parser?: unknown;
16
- parserOptions?: Record<string, unknown>;
17
- };
18
- plugins: Record<string, Record<"configs", unknown>>;
19
- processor?: string;
20
- }
21
- export type { Config, Config as default };
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAEjD,UAAU,MAAM;IACd,IAAI,EAAE,gBAAgB,MAAM,SAAS,MAAM,IAAI,MAAM,EAAE,CAAC;IACxD,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC;IAC3C,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CAAC;QACb,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- import type Language from "./language/index.js";
2
- import type Linter from "./linter/index.js";
3
- import type Plugins from "./plugins/index.js";
4
- type IOption<PluginId extends string, IsEcma extends boolean, ParserOptions extends boolean | object, GlobalTypes extends string, Processor extends object> = {
5
- linterOptions: Linter;
6
- } & {
7
- languageOptions: Language<IsEcma, ParserOptions, GlobalTypes>;
8
- } & (Plugins<PluginId> extends never ? object : {
9
- plugins: Plugins<PluginId>;
10
- }) & (Interface<Processor> extends never ? object : Interface<Processor> extends {
11
- processor: string;
12
- } ? Interface<Processor> : object);
13
- export type { Plugins, Linter, Language, IOption, IOption as default, };
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/output/config/option/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAE9C,KAAK,OAAO,CACV,QAAQ,SAAS,MAAM,EACvB,MAAM,SAAS,OAAO,EACtB,aAAa,SAAS,OAAO,GAAG,MAAM,EACtC,WAAW,SAAS,MAAM,EAC1B,SAAS,SAAS,MAAM,IAEtB;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,eAAe,EAAE,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;CAAE,GACjE,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;CAAE,CAAC,GAC3E,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,SAAS;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,CACrI;AAED,YAAY,EACV,OAAO,EACP,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,IAAI,OAAO,GACnB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/boundary/output/config/option/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type Ecma = "latest";
2
- export type { Ecma, Ecma as default };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/boundary/output/config/option/language/ecma/index.ts"],"names":[],"mappings":"AAAA,KAAK,IAAI,GAAG,QAAQ,CAAC;AAErB,YAAY,EAAE,IAAI,EAAE,IAAI,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/boundary/output/config/option/language/ecma/index.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import type Ecma from "./ecma/index.js";
2
- import type Source from "./source/index.js";
3
- type Language<IsEcma extends boolean, ParserOptions extends object | boolean, GlobalTypes extends string> = (True<IsEcma> extends never ? object : {
4
- ecmaVersion: Ecma;
5
- sourceType: Source;
6
- }) & (literalful<GlobalTypes> extends never ? object : {
7
- globals: Record<string, unknown>;
8
- }) & (ParserOptions extends boolean ? True<ParserOptions> extends never ? object : {
9
- parser: unknown;
10
- } : ParserOptions extends object ? Interface<ParserOptions> extends never ? object : {
11
- parser: unknown;
12
- parserOptions: ParserOptions;
13
- } : object);
14
- export type { Language, Language as default };
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/language/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,KAAK,QAAQ,CACX,MAAM,SAAS,OAAO,EACtB,aAAa,SAAS,MAAM,GAAG,OAAO,EACtC,WAAW,SAAS,MAAM,IAEzB,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG;IAAE,WAAW,EAAE,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,GACjF,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAC,GACvF,CACC,aAAa,SAAS,OAAO,GACzB,IAAI,CAAC,aAAa,CAAC,SAAS,KAAK,GAC/B,MAAM,GACN;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACrB,aAAa,SAAS,MAAM,GAC1B,SAAS,CAAC,aAAa,CAAC,SAAS,KAAK,GACpC,MAAM,GACN;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,aAAa,CAAA;CAAE,GACnD,MAAM,CACb,CAAC;AAEJ,YAAY,EAAE,QAAQ,EAAE,QAAQ,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/language/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type Source = "module" | "script";
2
- export type { Source, Source as default };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/boundary/output/config/option/language/source/index.ts"],"names":[],"mappings":"AAAA,KAAK,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAElC,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/boundary/output/config/option/language/source/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export default interface Linter {
2
- noInlineConfig: true;
3
- reportUnusedDisableDirectives: "error";
4
- }
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/linter/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,cAAc,EAAE,IAAI,CAAC;IACrB,6BAA6B,EAAE,OAAO,CAAC;CACxC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/linter/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- type Plugins<PluginId extends string> = Record<literalful<PluginId>, {
2
- configs: unknown;
3
- }>;
4
- export type { Plugins, Plugins as default };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/plugins/index.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,CAAC,QAAQ,SAAS,MAAM,IAAI,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAE3F,YAAY,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/boundary/output/config/option/plugins/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type Config from "./config/index.js";
2
- export type { Config, Config as default };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/boundary/output/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/boundary/output/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type globals from "globals";
2
- type Globals = "mocha" & keyof typeof globals;
3
- export type { Globals as default };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,KAAK,OAAO,GACR,OAAO,GACP,MAAM,OAAO,OAAO,CACvB;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dependency/globals/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type Plugins from "./plugins/index.js";
2
- import type Parsers from "./parsers/index.js";
3
- import type Globals from "./globals/index.js";
4
- export type { Plugins, Parsers, Globals };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dependency/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAE9C,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dependency/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { Scope } from "../../scopes/index.js";
2
- type Parsers = "ts" | "svelte" | "html" | "jsonc" | "yml" | "md" & Scope;
3
- export type { Parsers as default };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,OAAO,GACR,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,GACL,IAAI,GACJ,KAAK,CACR;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dependency/parsers/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type Plugins = "@stylistic" | "@typescript-eslint" | "svelte" | "mocha" | "@html-eslint" | "jsonc" | "yml" | "markdownlint";
2
- export type { Plugins as default };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/plugins/index.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GACR,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,OAAO,GACP,KAAK,GACL,cAAc,CACjB;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dependency/plugins/index.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import type { Scope } from "../../scopes/index.js";
2
- import type { Input } from "../../boundary/index.js";
3
- export default class Files {
4
- private readonly input;
5
- constructor(input: Input.Files.Files);
6
- files(scope: Scope): readonly string[];
7
- }
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,CAAC,OAAO,OAAO,KAAK;IACZ,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK;IAE9C,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAQ9C"}
@@ -1,16 +0,0 @@
1
- export default class Files {
2
- input;
3
- constructor(input) {
4
- this.input = input;
5
- }
6
- files(scope) {
7
- try {
8
- const { files, includes } = this.input;
9
- return [...files[scope], ...includes[scope] ?? []];
10
- }
11
- catch (e) {
12
- throw new Error(`linted.factory.Files/scope:${scope}`, { cause: e });
13
- }
14
- }
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/files/index.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,OAAO,KAAK;IACK;IAA7B,YAA6B,KAAwB;QAAxB,UAAK,GAAL,KAAK,CAAmB;IAAG,CAAC;IAElD,KAAK,CAAC,KAAY;QACvB,IAAI,CAAC;YACH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YAEvC,OAAO,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,8BAA8B,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACrF,CAAC;CACF"}
@@ -1,7 +0,0 @@
1
- import Rulesets from "./rulesets/index.js";
2
- import Files from "./files/index.js";
3
- import Options from "./options/index.js";
4
- export declare class Factory {
5
- }
6
- export { Options, Files, Rulesets };
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,MAAM,oBAAoB,CAAC;AAEzC,qBAAa,OAAO;CAEnB;AACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import Rulesets from "./rulesets/index.js";
2
- import Files from "./files/index.js";
3
- import Options from "./options/index.js";
4
- export class Factory {
5
- }
6
- export { Options, Files, Rulesets };
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,MAAM,oBAAoB,CAAC;AAEzC,MAAM,OAAO,OAAO;CAEnB;AACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,22 +0,0 @@
1
- import js from "./option/js/index.js";
2
- import ts from "./option/ts/index.js";
3
- import svelte from "./option/svelte/index.js";
4
- import mocha from "./option/mocha/index.js";
5
- import html from "./option/html/index.js";
6
- import json from "./option/json/index.js";
7
- import jsonc from "./option/jsonc/index.js";
8
- import yml from "./option/yml/index.js";
9
- import md from "./option/md/index.js";
10
- declare const _default: {
11
- readonly js: typeof js;
12
- readonly ts: typeof ts;
13
- readonly svelte: typeof svelte;
14
- readonly mocha: typeof mocha;
15
- readonly html: typeof html;
16
- readonly json: typeof json;
17
- readonly jsonc: typeof jsonc;
18
- readonly yml: typeof yml;
19
- readonly md: typeof md;
20
- };
21
- export default _default;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;AAEtC,wBAUW"}
@@ -1,21 +0,0 @@
1
- import js from "./option/js/index.js";
2
- import ts from "./option/ts/index.js";
3
- import svelte from "./option/svelte/index.js";
4
- import mocha from "./option/mocha/index.js";
5
- import html from "./option/html/index.js";
6
- import json from "./option/json/index.js";
7
- import jsonc from "./option/jsonc/index.js";
8
- import yml from "./option/yml/index.js";
9
- import md from "./option/md/index.js";
10
- export default {
11
- js,
12
- ts,
13
- svelte,
14
- mocha,
15
- html,
16
- json,
17
- jsonc,
18
- yml,
19
- md,
20
- };
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEtC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACM,CAAC"}
@@ -1,9 +0,0 @@
1
- import Option from "../index.js";
2
- export default class Html extends Option<"html", "@html-eslint", false, true, 1> {
3
- readonly scope = "html";
4
- readonly processor: {};
5
- get languageOptions(): {
6
- readonly parser: unknown;
7
- };
8
- }
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,10 +0,0 @@
1
- import Option from "../index.js";
2
- export default class Html extends Option {
3
- scope = "html";
4
- processor = {};
5
- get languageOptions() {
6
- const [parser] = this.parser;
7
- return { parser };
8
- }
9
- }
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAMjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}