@eslinted/core 3.0.3-rc.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. package/dist/boundary/index.d.ts +4 -0
  2. package/dist/boundary/index.d.ts.map +1 -0
  3. package/dist/boundary/index.js +2 -0
  4. package/dist/boundary/index.js.map +1 -0
  5. package/dist/boundary/input/files/base/index.d.ts +4 -0
  6. package/dist/boundary/input/files/base/index.d.ts.map +1 -0
  7. package/dist/boundary/input/files/base/index.js +2 -0
  8. package/dist/boundary/input/files/base/index.js.map +1 -0
  9. package/dist/boundary/input/files/includes/index.d.ts +4 -0
  10. package/dist/boundary/input/files/includes/index.d.ts.map +1 -0
  11. package/dist/boundary/input/files/includes/index.js +2 -0
  12. package/dist/boundary/input/files/includes/index.js.map +1 -0
  13. package/dist/boundary/input/files/index.d.ts +4 -0
  14. package/dist/boundary/input/files/index.d.ts.map +1 -0
  15. package/dist/boundary/input/files/index.js +2 -0
  16. package/dist/boundary/input/files/index.js.map +1 -0
  17. package/dist/boundary/input/index.d.ts +6 -0
  18. package/dist/boundary/input/index.d.ts.map +1 -0
  19. package/dist/boundary/input/index.js +2 -0
  20. package/dist/boundary/input/index.js.map +1 -0
  21. package/dist/boundary/input/parsers/{parsers.d.ts → index.d.ts} +3 -3
  22. package/dist/boundary/input/parsers/index.d.ts.map +1 -0
  23. package/dist/boundary/input/parsers/index.js +2 -0
  24. package/dist/boundary/input/parsers/index.js.map +1 -0
  25. package/dist/boundary/input/plugins/{plugins.d.ts → index.d.ts} +3 -3
  26. package/dist/boundary/input/plugins/index.d.ts.map +1 -0
  27. package/dist/boundary/input/plugins/index.js +2 -0
  28. package/dist/boundary/input/plugins/index.js.map +1 -0
  29. package/dist/boundary/input/rules/index.d.ts +4 -0
  30. package/dist/boundary/input/rules/index.d.ts.map +1 -0
  31. package/dist/boundary/input/rules/index.js +2 -0
  32. package/dist/boundary/input/rules/index.js.map +1 -0
  33. package/dist/boundary/input/rules/overrides/index.d.ts +5 -0
  34. package/dist/boundary/input/rules/overrides/index.d.ts.map +1 -0
  35. package/dist/boundary/input/rules/overrides/index.js +2 -0
  36. package/dist/boundary/input/rules/overrides/index.js.map +1 -0
  37. package/dist/boundary/input/rules/preset/entry/index.d.ts +4 -0
  38. package/dist/boundary/input/rules/preset/entry/index.d.ts.map +1 -0
  39. package/dist/boundary/input/rules/preset/entry/index.js +2 -0
  40. package/dist/boundary/input/rules/preset/entry/index.js.map +1 -0
  41. package/dist/boundary/input/rules/preset/entry/object/index.d.ts +4 -0
  42. package/dist/boundary/input/rules/preset/entry/object/index.d.ts.map +1 -0
  43. package/dist/boundary/input/rules/preset/entry/object/index.js +2 -0
  44. package/dist/boundary/input/rules/preset/entry/object/index.js.map +1 -0
  45. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts +3 -0
  46. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts.map +1 -0
  47. package/dist/boundary/input/rules/preset/entry/object/state/index.js +2 -0
  48. package/dist/boundary/input/rules/preset/entry/object/state/index.js.map +1 -0
  49. package/dist/boundary/input/rules/preset/index.d.ts +5 -0
  50. package/dist/boundary/input/rules/preset/index.d.ts.map +1 -0
  51. package/dist/boundary/input/rules/preset/index.js +2 -0
  52. package/dist/boundary/input/rules/preset/index.js.map +1 -0
  53. package/dist/boundary/output/config/{config.d.ts → index.d.ts} +2 -2
  54. package/dist/boundary/output/config/index.d.ts.map +1 -0
  55. package/dist/boundary/output/config/index.js +2 -0
  56. package/dist/boundary/output/config/index.js.map +1 -0
  57. package/dist/boundary/output/index.d.ts +3 -0
  58. package/dist/boundary/output/index.d.ts.map +1 -0
  59. package/dist/boundary/output/index.js +2 -0
  60. package/dist/boundary/output/index.js.map +1 -0
  61. package/dist/dependency/{dependency.d.ts → index.d.ts} +2 -2
  62. package/dist/dependency/index.d.ts.map +1 -0
  63. package/dist/dependency/index.js +2 -0
  64. package/dist/dependency/index.js.map +1 -0
  65. package/dist/dependency/parsers/index.d.ts +1 -1
  66. package/dist/dependency/parsers/index.d.ts.map +1 -1
  67. package/dist/factory/files/{Files.d.ts → index.d.ts} +3 -3
  68. package/dist/factory/files/index.d.ts.map +1 -0
  69. package/dist/factory/files/{Files.js → index.js} +2 -5
  70. package/dist/factory/files/index.js.map +1 -0
  71. package/dist/factory/index.d.ts +5 -0
  72. package/dist/factory/index.d.ts.map +1 -0
  73. package/dist/factory/index.js +5 -0
  74. package/dist/factory/index.js.map +1 -0
  75. package/dist/factory/options/{Options.d.ts → index.d.ts} +1 -1
  76. package/dist/factory/options/index.d.ts.map +1 -0
  77. package/dist/factory/options/{Options.js → index.js} +1 -1
  78. package/dist/factory/options/index.js.map +1 -0
  79. package/dist/factory/options/option/html/index.d.ts +1 -1
  80. package/dist/factory/options/option/html/index.d.ts.map +1 -1
  81. package/dist/factory/options/option/html/index.js +3 -8
  82. package/dist/factory/options/option/html/index.js.map +1 -1
  83. package/dist/factory/options/option/{Option.d.ts → index.d.ts} +5 -5
  84. package/dist/factory/options/option/{Option.d.ts.map → index.d.ts.map} +1 -1
  85. package/dist/factory/options/option/{Option.js → index.js} +3 -11
  86. package/dist/factory/options/option/index.js.map +1 -0
  87. package/dist/factory/options/option/js/index.d.ts +1 -1
  88. package/dist/factory/options/option/js/index.d.ts.map +1 -1
  89. package/dist/factory/options/option/js/index.js +5 -10
  90. package/dist/factory/options/option/js/index.js.map +1 -1
  91. package/dist/factory/options/option/json/index.d.ts +1 -1
  92. package/dist/factory/options/option/json/index.d.ts.map +1 -1
  93. package/dist/factory/options/option/json/index.js +3 -8
  94. package/dist/factory/options/option/json/index.js.map +1 -1
  95. package/dist/factory/options/option/jsonc/index.d.ts +1 -1
  96. package/dist/factory/options/option/jsonc/index.d.ts.map +1 -1
  97. package/dist/factory/options/option/jsonc/index.js +3 -8
  98. package/dist/factory/options/option/jsonc/index.js.map +1 -1
  99. package/dist/factory/options/option/md/index.d.ts +1 -1
  100. package/dist/factory/options/option/md/index.d.ts.map +1 -1
  101. package/dist/factory/options/option/md/index.js +3 -8
  102. package/dist/factory/options/option/md/index.js.map +1 -1
  103. package/dist/factory/options/option/mocha/index.d.ts +2 -2
  104. package/dist/factory/options/option/mocha/index.d.ts.map +1 -1
  105. package/dist/factory/options/option/mocha/index.js +9 -18
  106. package/dist/factory/options/option/mocha/index.js.map +1 -1
  107. package/dist/factory/options/option/svelte/index.d.ts +6 -6
  108. package/dist/factory/options/option/svelte/index.d.ts.map +1 -1
  109. package/dist/factory/options/option/svelte/index.js +12 -17
  110. package/dist/factory/options/option/svelte/index.js.map +1 -1
  111. package/dist/factory/options/option/ts/index.d.ts +4 -4
  112. package/dist/factory/options/option/ts/index.d.ts.map +1 -1
  113. package/dist/factory/options/option/ts/index.js +8 -17
  114. package/dist/factory/options/option/ts/index.js.map +1 -1
  115. package/dist/factory/options/option/yml/index.d.ts +1 -1
  116. package/dist/factory/options/option/yml/index.d.ts.map +1 -1
  117. package/dist/factory/options/option/yml/index.js +3 -8
  118. package/dist/factory/options/option/yml/index.js.map +1 -1
  119. package/dist/factory/ruleset/{Ruleset.d.ts → index.d.ts} +4 -4
  120. package/dist/factory/ruleset/index.d.ts.map +1 -0
  121. package/dist/factory/ruleset/{Ruleset.js → index.js} +7 -17
  122. package/dist/factory/ruleset/index.js.map +1 -0
  123. package/dist/factory/ruleset/rule/{Rule.d.ts → index.d.ts} +2 -2
  124. package/dist/factory/ruleset/rule/index.d.ts.map +1 -0
  125. package/dist/factory/ruleset/rule/{Rule.js → index.js} +1 -1
  126. package/dist/factory/ruleset/rule/index.js.map +1 -0
  127. package/dist/index.d.ts +1 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/index.js +13 -39
  130. package/dist/index.js.map +1 -1
  131. package/dist/scopes/{Scopes.d.ts → index.d.ts} +1 -1
  132. package/dist/scopes/index.d.ts.map +1 -0
  133. package/dist/scopes/{Scopes.js → index.js} +1 -1
  134. package/dist/scopes/index.js.map +1 -0
  135. package/package.json +1 -1
  136. package/src/boundary/index.ts +4 -0
  137. package/src/boundary/input/files/base/index.ts +5 -0
  138. package/src/boundary/input/files/includes/index.ts +5 -0
  139. package/src/boundary/input/files/index.ts +4 -0
  140. package/src/boundary/input/index.ts +6 -0
  141. package/src/boundary/input/parsers/{parsers.ts → index.ts} +2 -6
  142. package/src/boundary/input/plugins/{plugins.ts → index.ts} +2 -6
  143. package/src/boundary/input/rules/index.ts +4 -0
  144. package/src/boundary/input/rules/overrides/index.ts +6 -0
  145. package/src/boundary/input/rules/preset/entry/index.ts +5 -0
  146. package/src/boundary/input/rules/preset/entry/object/index.ts +9 -0
  147. package/src/boundary/input/rules/preset/entry/object/state/index.ts +6 -0
  148. package/src/boundary/input/rules/preset/index.ts +6 -0
  149. package/src/boundary/output/config/{config.ts → index.ts} +1 -1
  150. package/src/boundary/output/index.ts +3 -0
  151. package/src/dependency/{dependency.ts → index.ts} +1 -5
  152. package/src/dependency/parsers/index.ts +1 -1
  153. package/src/factory/files/index.ts +16 -0
  154. package/src/factory/index.ts +10 -0
  155. package/src/factory/options/option/html/index.ts +3 -11
  156. package/src/factory/options/option/{Option.ts → index.ts} +19 -49
  157. package/src/factory/options/option/js/index.ts +5 -13
  158. package/src/factory/options/option/json/index.ts +3 -11
  159. package/src/factory/options/option/jsonc/index.ts +3 -11
  160. package/src/factory/options/option/md/index.ts +3 -11
  161. package/src/factory/options/option/mocha/index.ts +11 -23
  162. package/src/factory/options/option/svelte/index.ts +13 -23
  163. package/src/factory/options/option/ts/index.ts +9 -22
  164. package/src/factory/options/option/yml/index.ts +3 -11
  165. package/src/factory/ruleset/index.ts +40 -0
  166. package/src/factory/ruleset/rule/{Rule.ts → index.ts} +1 -1
  167. package/src/index.ts +31 -98
  168. package/dist/boundary/boundary.d.ts +0 -4
  169. package/dist/boundary/boundary.d.ts.map +0 -1
  170. package/dist/boundary/boundary.js +0 -2
  171. package/dist/boundary/boundary.js.map +0 -1
  172. package/dist/boundary/input/files/base/base.d.ts +0 -5
  173. package/dist/boundary/input/files/base/base.d.ts.map +0 -1
  174. package/dist/boundary/input/files/base/base.js +0 -2
  175. package/dist/boundary/input/files/base/base.js.map +0 -1
  176. package/dist/boundary/input/files/base/list/list.d.ts +0 -3
  177. package/dist/boundary/input/files/base/list/list.d.ts.map +0 -1
  178. package/dist/boundary/input/files/base/list/list.js +0 -2
  179. package/dist/boundary/input/files/base/list/list.js.map +0 -1
  180. package/dist/boundary/input/files/files.d.ts +0 -4
  181. package/dist/boundary/input/files/files.d.ts.map +0 -1
  182. package/dist/boundary/input/files/files.js +0 -2
  183. package/dist/boundary/input/files/files.js.map +0 -1
  184. package/dist/boundary/input/files/includes/includes.d.ts +0 -4
  185. package/dist/boundary/input/files/includes/includes.d.ts.map +0 -1
  186. package/dist/boundary/input/files/includes/includes.js +0 -2
  187. package/dist/boundary/input/files/includes/includes.js.map +0 -1
  188. package/dist/boundary/input/input.d.ts +0 -6
  189. package/dist/boundary/input/input.d.ts.map +0 -1
  190. package/dist/boundary/input/input.js +0 -2
  191. package/dist/boundary/input/input.js.map +0 -1
  192. package/dist/boundary/input/parsers/parsers.d.ts.map +0 -1
  193. package/dist/boundary/input/parsers/parsers.js +0 -2
  194. package/dist/boundary/input/parsers/parsers.js.map +0 -1
  195. package/dist/boundary/input/plugins/plugins.d.ts.map +0 -1
  196. package/dist/boundary/input/plugins/plugins.js +0 -2
  197. package/dist/boundary/input/plugins/plugins.js.map +0 -1
  198. package/dist/boundary/input/rules/overrides/overrides.d.ts +0 -5
  199. package/dist/boundary/input/rules/overrides/overrides.d.ts.map +0 -1
  200. package/dist/boundary/input/rules/overrides/overrides.js +0 -2
  201. package/dist/boundary/input/rules/overrides/overrides.js.map +0 -1
  202. package/dist/boundary/input/rules/preset/entry/entry.d.ts +0 -4
  203. package/dist/boundary/input/rules/preset/entry/entry.d.ts.map +0 -1
  204. package/dist/boundary/input/rules/preset/entry/entry.js +0 -2
  205. package/dist/boundary/input/rules/preset/entry/entry.js.map +0 -1
  206. package/dist/boundary/input/rules/preset/entry/object/object.d.ts +0 -4
  207. package/dist/boundary/input/rules/preset/entry/object/object.d.ts.map +0 -1
  208. package/dist/boundary/input/rules/preset/entry/object/object.js +0 -2
  209. package/dist/boundary/input/rules/preset/entry/object/object.js.map +0 -1
  210. package/dist/boundary/input/rules/preset/entry/object/state/level.d.ts +0 -3
  211. package/dist/boundary/input/rules/preset/entry/object/state/level.d.ts.map +0 -1
  212. package/dist/boundary/input/rules/preset/entry/object/state/level.js +0 -2
  213. package/dist/boundary/input/rules/preset/entry/object/state/level.js.map +0 -1
  214. package/dist/boundary/input/rules/preset/preset.d.ts +0 -5
  215. package/dist/boundary/input/rules/preset/preset.d.ts.map +0 -1
  216. package/dist/boundary/input/rules/preset/preset.js +0 -2
  217. package/dist/boundary/input/rules/preset/preset.js.map +0 -1
  218. package/dist/boundary/input/rules/rules.d.ts +0 -4
  219. package/dist/boundary/input/rules/rules.d.ts.map +0 -1
  220. package/dist/boundary/input/rules/rules.js +0 -2
  221. package/dist/boundary/input/rules/rules.js.map +0 -1
  222. package/dist/boundary/output/config/config.d.ts.map +0 -1
  223. package/dist/boundary/output/config/config.js +0 -2
  224. package/dist/boundary/output/config/config.js.map +0 -1
  225. package/dist/boundary/output/output.d.ts +0 -3
  226. package/dist/boundary/output/output.d.ts.map +0 -1
  227. package/dist/boundary/output/output.js +0 -2
  228. package/dist/boundary/output/output.js.map +0 -1
  229. package/dist/dependency/dependency.d.ts.map +0 -1
  230. package/dist/dependency/dependency.js +0 -2
  231. package/dist/dependency/dependency.js.map +0 -1
  232. package/dist/factory/factory.d.ts +0 -5
  233. package/dist/factory/factory.d.ts.map +0 -1
  234. package/dist/factory/factory.js +0 -5
  235. package/dist/factory/factory.js.map +0 -1
  236. package/dist/factory/files/Files.d.ts.map +0 -1
  237. package/dist/factory/files/Files.js.map +0 -1
  238. package/dist/factory/options/Options.d.ts.map +0 -1
  239. package/dist/factory/options/Options.js.map +0 -1
  240. package/dist/factory/options/option/Option.js.map +0 -1
  241. package/dist/factory/ruleset/Ruleset.d.ts.map +0 -1
  242. package/dist/factory/ruleset/Ruleset.js.map +0 -1
  243. package/dist/factory/ruleset/rule/Rule.d.ts.map +0 -1
  244. package/dist/factory/ruleset/rule/Rule.js.map +0 -1
  245. package/dist/scopes/Scopes.d.ts.map +0 -1
  246. package/dist/scopes/Scopes.js.map +0 -1
  247. package/src/OmitFilesRuleset.d.ts +0 -1
  248. package/src/boundary/boundary.ts +0 -4
  249. package/src/boundary/input/files/base/base.ts +0 -9
  250. package/src/boundary/input/files/base/list/list.ts +0 -6
  251. package/src/boundary/input/files/files.ts +0 -7
  252. package/src/boundary/input/files/includes/includes.ts +0 -8
  253. package/src/boundary/input/input.ts +0 -9
  254. package/src/boundary/input/rules/overrides/overrides.ts +0 -9
  255. package/src/boundary/input/rules/preset/entry/entry.ts +0 -8
  256. package/src/boundary/input/rules/preset/entry/object/object.ts +0 -12
  257. package/src/boundary/input/rules/preset/entry/object/state/level.ts +0 -9
  258. package/src/boundary/input/rules/preset/preset.ts +0 -9
  259. package/src/boundary/input/rules/rules.ts +0 -7
  260. package/src/boundary/output/output.ts +0 -3
  261. package/src/factory/factory.ts +0 -10
  262. package/src/factory/files/Files.ts +0 -24
  263. package/src/factory/ruleset/Ruleset.ts +0 -72
  264. /package/src/boundary/output/config/option/{IOption.d.ts → index.d.ts} +0 -0
  265. /package/src/boundary/output/config/option/language/ecma/{IOLanguageEcma.d.ts → index.d.ts} +0 -0
  266. /package/src/boundary/output/config/option/language/{IOLanguage.d.ts → index.d.ts} +0 -0
  267. /package/src/boundary/output/config/option/language/source/{IOLanguageSource.d.ts → index.d.ts} +0 -0
  268. /package/src/boundary/output/config/option/linter/{IOLinter.d.ts → index.d.ts} +0 -0
  269. /package/src/boundary/output/config/option/plugins/{IOPlugins.d.ts → index.d.ts} +0 -0
  270. /package/src/boundary/output/config/option/processor/{IOProcessor.d.ts → index.d.ts} +0 -0
  271. /package/src/factory/options/{Options.ts → index.ts} +0 -0
  272. /package/src/scopes/{Scopes.ts → index.ts} +0 -0
@@ -1,15 +1,10 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Json extends Option {
3
3
  scope = "json";
4
4
  processor = {};
5
5
  get languageOptions() {
6
- try {
7
- const [parser] = this.parser;
8
- return { parser };
9
- }
10
- catch (e) {
11
- throw new Error(`linted.factory.options.json: languageOptions`, { cause: e });
12
- }
6
+ const [parser] = this.parser;
7
+ return { parser };
13
8
  }
14
9
  }
15
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAMjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,8CAA8C,EAC9C,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/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"}
@@ -1,4 +1,4 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Jsonc extends Option<"jsonc", "jsonc", false, true, 1> {
3
3
  readonly scope = "jsonc";
4
4
  readonly processor: {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAYzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,15 +1,10 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Jsonc extends Option {
3
3
  scope = "jsonc";
4
4
  processor = {};
5
5
  get languageOptions() {
6
- try {
7
- const [parser] = this.parser;
8
- return { parser };
9
- }
10
- catch (e) {
11
- throw new Error(`linted.factory.options.jsonc: languageOptions`, { cause: e });
12
- }
6
+ const [parser] = this.parser;
7
+ return { parser };
13
8
  }
14
9
  }
15
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAMlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,+CAA+C,EAC/C,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAMlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,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"}
@@ -1,4 +1,4 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Md extends Option<"md", "markdownlint", false, true, 1> {
3
3
  readonly scope = "md";
4
4
  readonly processor: {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAYzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,15 +1,10 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Md extends Option {
3
3
  scope = "md";
4
4
  processor = {};
5
5
  get languageOptions() {
6
- try {
7
- const [parser] = this.parser;
8
- return { parser };
9
- }
10
- catch (e) {
11
- throw new Error(`linted.factory.options.md: languageOptions`, { cause: e });
12
- }
6
+ const [parser] = this.parser;
7
+ return { parser };
13
8
  }
14
9
  }
15
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAM/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,4CAA4C,EAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAM/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,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"}
@@ -1,4 +1,4 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  import type Ts from "../ts/index.js";
3
3
  export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"]["plugins"], true, Ts["option"]["languageOptions"]["parserOptions"], 1, "mocha"> {
4
4
  readonly scope = "mocha";
@@ -9,9 +9,9 @@ export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"][
9
9
  readonly sourceType: "module";
10
10
  readonly parser: unknown;
11
11
  readonly parserOptions: {
12
+ readonly project: "tsconfig.json";
12
13
  readonly ecmaVersion: "latest";
13
14
  readonly sourceType: "module";
14
- readonly project: "tsconfig.json";
15
15
  };
16
16
  readonly globals: {
17
17
  readonly after: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACvC,IAAI,EACF,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EAClD,CAAC,EACD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IACxC,SAAgB,KAAK,qBAAsB;IAE3C,IAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACvC,IAAI,EACJ,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EAChD,CAAC,EACD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IACxC,SAAgB,KAAK,qBAAsB;IAE3C,IAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWzB;CACF"}
@@ -1,26 +1,17 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Mocha extends Option {
3
3
  scope = "mocha";
4
4
  processor = {};
5
5
  types = ["mocha"];
6
6
  get languageOptions() {
7
- try {
8
- const [parser] = this.parser, globals = this.globals("mocha");
9
- return {
10
- ecmaVersion: "latest",
11
- sourceType: "module",
12
- parser,
13
- parserOptions: {
14
- ecmaVersion: "latest",
15
- sourceType: "module",
16
- project: "tsconfig.json",
17
- },
18
- globals,
19
- };
20
- }
21
- catch (e) {
22
- throw new Error(`linted.factory.options.mocha: languageOptions`, { cause: e });
23
- }
7
+ const [parser] = this.parser, globals = this.globals("mocha");
8
+ return {
9
+ ecmaVersion: "latest",
10
+ sourceType: "module",
11
+ parser,
12
+ parserOptions: { project: "tsconfig.json", ecmaVersion: "latest", sourceType: "module" },
13
+ globals,
14
+ };
24
15
  }
25
16
  }
26
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAGlC,MAAM,CAAC,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SACC,CAAC;IACb,CAAC;CACF"}
@@ -1,10 +1,10 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  import type Ts from "../ts/index.js";
3
- export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option"]["plugins"], true, Ts["option"]["languageOptions"]["parserOptions"] & {
3
+ export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option"]["plugins"], true, {
4
4
  parser: unknown;
5
5
  } & {
6
6
  extraFileExtensions: readonly [".svelte"];
7
- }, 2, never, {
7
+ } & Ts["option"]["languageOptions"]["parserOptions"], 2, never, {
8
8
  processor: "svelte/svelte";
9
9
  }> {
10
10
  readonly scope = "svelte";
@@ -16,11 +16,11 @@ export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option
16
16
  readonly sourceType: "module";
17
17
  readonly parser: unknown;
18
18
  readonly parserOptions: {
19
+ readonly parser: unknown;
20
+ readonly extraFileExtensions: readonly [".svelte"];
21
+ readonly project: "tsconfig.json";
19
22
  readonly ecmaVersion: "latest";
20
23
  readonly sourceType: "module";
21
- readonly project: "tsconfig.json";
22
- readonly extraFileExtensions: readonly [".svelte"];
23
- readonly parser: unknown;
24
24
  };
25
25
  };
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR,QAAQ,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACxC,IAAI,EACF,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,GAChD;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,EAC/C,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IAEpE,IAAW,eAAe;;;;;;;;;;;MAuBzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR,QAAQ,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACxC,IAAI,EACJ;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACtH,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IAEpE,IAAW,eAAe;;;;;;;;;;;MAezB;CACF"}
@@ -1,26 +1,21 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Svelte extends Option {
3
3
  scope = "svelte";
4
4
  processor = { processor: "svelte/svelte" };
5
5
  get languageOptions() {
6
- try {
7
- const [parser, tsParser] = this.parser;
8
- return {
6
+ const [parser, tsParser] = this.parser;
7
+ return {
8
+ ecmaVersion: "latest",
9
+ sourceType: "module",
10
+ parser,
11
+ parserOptions: {
12
+ parser: tsParser,
13
+ extraFileExtensions: [".svelte"],
14
+ project: "tsconfig.json",
9
15
  ecmaVersion: "latest",
10
16
  sourceType: "module",
11
- parser,
12
- parserOptions: {
13
- ecmaVersion: "latest",
14
- sourceType: "module",
15
- project: "tsconfig.json",
16
- extraFileExtensions: [".svelte"],
17
- parser: tsParser,
18
- },
19
- };
20
- }
21
- catch (e) {
22
- throw new Error(`linted.factory.options.svelte: languageOptions`, { cause: e });
23
- }
17
+ },
18
+ };
24
19
  }
25
20
  }
26
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAGlC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAUnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IAEpE,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAEvC,OAAO;gBACL,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;gBACpB,MAAM;gBACN,aAAa,EAAE;oBACb,WAAW,EAAE,QAAQ;oBACrB,UAAU,EAAE,QAAQ;oBACpB,OAAO,EAAE,eAAe;oBACxB,mBAAmB,EAAE,CAAC,SAAS,CAAU;oBACzC,MAAM,EAAE,QAAQ;iBACjB;aACO,CAAC;QACb,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,gDAAgD,EAChD,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAQnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IAEpE,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAEvC,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM;YACN,aAAa,EAAE;gBACb,MAAM,EAAE,QAAQ;gBAChB,mBAAmB,EAAE,CAAC,SAAS,CAAU;gBACzC,OAAO,EAAE,eAAe;gBACxB,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACO,CAAC;IACb,CAAC;CACF"}
@@ -1,8 +1,8 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  import type Js from "../js/index.js";
3
- export default class Ts extends Option<"ts", "@typescript-eslint" | keyof Js["option"]["plugins"], true, Js["option"]["languageOptions"] & {
3
+ export default class Ts extends Option<"ts", "@typescript-eslint" | keyof Js["option"]["plugins"], true, {
4
4
  project: "tsconfig.json";
5
- }, 1> {
5
+ } & Js["option"]["languageOptions"], 1> {
6
6
  readonly scope = "ts";
7
7
  readonly processor: {};
8
8
  get languageOptions(): {
@@ -10,9 +10,9 @@ export default class Ts extends Option<"ts", "@typescript-eslint" | keyof Js["op
10
10
  readonly sourceType: "module";
11
11
  readonly parser: unknown;
12
12
  readonly parserOptions: {
13
+ readonly project: "tsconfig.json";
13
14
  readonly ecmaVersion: "latest";
14
15
  readonly sourceType: "module";
15
- readonly project: "tsconfig.json";
16
16
  };
17
17
  };
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,oBAAoB,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACpD,IAAI,EACF,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,GAC/B;IAAE,OAAO,EAAE,eAAe,CAAA;CAAE,EAC9B,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;;;;;;;;MAqBzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,oBAAoB,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACpD,IAAI,EACJ;IAAE,OAAO,EAAE,eAAe,CAAA;CAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,EAC9D,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;;;;;;;;MASzB;CACF"}
@@ -1,24 +1,15 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Ts extends Option {
3
3
  scope = "ts";
4
4
  processor = {};
5
5
  get languageOptions() {
6
- try {
7
- const [parser] = this.parser;
8
- return {
9
- ecmaVersion: "latest",
10
- sourceType: "module",
11
- parser,
12
- parserOptions: {
13
- ecmaVersion: "latest",
14
- sourceType: "module",
15
- project: "tsconfig.json",
16
- },
17
- };
18
- }
19
- catch (e) {
20
- throw new Error(`linted.factory.options.ts: languageOptions`, { cause: e });
21
- }
6
+ const [parser] = this.parser;
7
+ return {
8
+ ecmaVersion: "latest",
9
+ sourceType: "module",
10
+ parser,
11
+ parserOptions: { project: "tsconfig.json", ecmaVersion: "latest", sourceType: "module" },
12
+ };
22
13
  }
23
14
  }
24
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAGlC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAO/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAE7B,OAAO;gBACL,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;gBACpB,MAAM;gBACN,aAAa,EAAE;oBACb,WAAW,EAAE,QAAQ;oBACrB,UAAU,EAAE,QAAQ;oBACpB,OAAO,EAAE,eAAe;iBACzB;aACO,CAAC;QACb,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,4CAA4C,EAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAM/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM;YACN,aAAa,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE;SAChF,CAAC;IACb,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Yml extends Option<"yml", "yml", false, true, 1> {
3
3
  readonly scope = "yml";
4
4
  readonly processor: {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAAM,CACrC,KAAK,EACL,KAAK,EACL,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,SAAS;IAC9B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAYzB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAAM,CACrC,KAAK,EACL,KAAK,EACL,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,SAAS;IAC9B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,15 +1,10 @@
1
- import Option from "../Option.js";
1
+ import Option from "../index.js";
2
2
  export default class Yml extends Option {
3
3
  scope = "yml";
4
4
  processor = {};
5
5
  get languageOptions() {
6
- try {
7
- const [parser] = this.parser;
8
- return { parser };
9
- }
10
- catch (e) {
11
- throw new Error(`linted.factory.options.yml: languageOptions`, { cause: e });
12
- }
6
+ const [parser] = this.parser;
7
+ return { parser };
13
8
  }
14
9
  }
15
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAMhC;IACiB,KAAK,GAAG,KAAK,CAAC;IACd,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,IAAI,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;YAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,6CAA6C,EAC7C,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAMhC;IACiB,KAAK,GAAG,KAAK,CAAC;IACd,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"}
@@ -1,5 +1,5 @@
1
- import type { Scope } from "../../scopes/Scopes.js";
2
- import Rule from "./rule/Rule.js";
1
+ import type { Scope } from "../../scopes/index.js";
2
+ import Rule from "./rule/index.js";
3
3
  export { Rule };
4
4
  export default class Ruleset<S extends Scope> {
5
5
  private readonly scope;
@@ -7,7 +7,7 @@ export default class Ruleset<S extends Scope> {
7
7
  overrides: Null<Rule>;
8
8
  constructor(scope: literalful<S>, ...rules: readonly Rule[]);
9
9
  get id(): literalful<S>;
10
- get records(): (readonly [string, Readonly<Record<string, import("../../boundary/input/rules/preset/entry/object/state/level.js").default | readonly [import("../../boundary/input/rules/preset/entry/object/state/level.js").default, ...unknown[]]>>])[];
10
+ get records(): (readonly [string, Readonly<Record<string, import("../../boundary/input/rules/preset/entry/object/state/index.js").Level | readonly [import("../../boundary/input/rules/preset/entry/object/state/index.js").Level, ...unknown[]]>>])[];
11
11
  override(overrides: undefined | Rule["rules"]): this;
12
12
  }
13
- //# sourceMappingURL=Ruleset.d.ts.map
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/ruleset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,IAAI,MAAM,iBAAiB,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO,CAAC,CAAC,SAAS,KAAK;IAI9B,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,SAAgB,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAQ;gBAEP,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,IAAI,EAAE;IAO5E,IAAW,EAAE,kBAIZ;IAED,IAAW,OAAO,4OAUjB;IAEM,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;CAMrD"}
@@ -1,4 +1,4 @@
1
- import Rule from "./rule/Rule.js";
1
+ import Rule from "./rule/index.js";
2
2
  export { Rule };
3
3
  export default class Ruleset {
4
4
  scope;
@@ -14,13 +14,8 @@ export default class Ruleset {
14
14
  }
15
15
  }
16
16
  get id() {
17
- try {
18
- const { scope } = this;
19
- return scope;
20
- }
21
- catch (e) {
22
- throw new Error(`linted.factory.Ruleset: id`, { cause: e });
23
- }
17
+ const { scope } = this;
18
+ return scope;
24
19
  }
25
20
  get records() {
26
21
  try {
@@ -35,14 +30,9 @@ export default class Ruleset {
35
30
  }
36
31
  }
37
32
  override(overrides) {
38
- try {
39
- if (typeof overrides !== "undefined")
40
- this.overrides = new Rule("override", overrides);
41
- return this;
42
- }
43
- catch (e) {
44
- throw new Error(`linted.factory.Ruleset: override`, { cause: e });
45
- }
33
+ if (typeof overrides !== "undefined")
34
+ this.overrides = new Rule("override", overrides);
35
+ return this;
46
36
  }
47
37
  }
48
- //# sourceMappingURL=Ruleset.js.map
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/ruleset/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,iBAAiB,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO;IAIG;IAHb,OAAO,CAAkB;IAClC,SAAS,GAAe,IAAI,CAAC;IAEpC,YAA6B,KAAoB,EAAE,GAAG,KAAsB;QAA/C,UAAK,GAAL,KAAK,CAAe;QAC/C,IAAI,CAAC;YACH,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;QAC5B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACxE,CAAC;IAED,IAAW,EAAE;QACX,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAW,OAAO;QAChB,IAAI,CAAC;YACH,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;YAEpC,OAAO;gBACL,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,CAAU,CAAC;gBACzD,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,KAAK,CAAU,CAAU;aACjF,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACjF,CAAC;IAEM,QAAQ,CAAC,SAAoC;QAClD,IAAI,OAAO,SAAS,KAAK,WAAW;YAClC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAEnD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -1,7 +1,7 @@
1
- import type { Input } from "../../../boundary/boundary.js";
1
+ import type { Input } from "../../../boundary/index.js";
2
2
  export default class {
3
3
  readonly id: string;
4
4
  readonly rules: Input.Rules.Preset.Entry.Object;
5
5
  constructor(id: string, rules: Input.Rules.Preset.Entry.Object);
6
6
  }
7
- //# sourceMappingURL=Rule.d.ts.map
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,CAAC,OAAO;aAEM,EAAE,EAAE,MAAM;aACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM;gBADtC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM;CAEzD"}
@@ -6,4 +6,4 @@ export default class {
6
6
  this.rules = rules;
7
7
  }
8
8
  }
9
- //# sourceMappingURL=Rule.js.map
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO;IAEM;IACA;IAFlB,YACkB,EAAU,EACV,KAAsC;QADtC,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAiC;IACrD,CAAC;CACL"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type * as Boundary from "./boundary/boundary.js";
1
+ import type * as Boundary from "./boundary/index.js";
2
2
  export type { Boundary };
3
3
  export default function (plugins: Boundary.Input.Plugins, parsers: Boundary.Input.Parsers, files: {
4
4
  base: Boundary.Input.Files.Base;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AASxD,YAAY,EAAE,QAAQ,EAAE,CAAC;AACzB,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,KAAK,EAAE;IACL,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;CACzC,EACD,KAAK,EAAE;IACL,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;CAC3C,GACA,QAAQ,CAAC,MAAM,EAAE,CAqKnB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAQrD,YAAY,EAAE,QAAQ,EAAE,CAAC;AACzB,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,KAAK,EAAE;IACL,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;CACzC,EACD,KAAK,EAAE;IACL,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;CAC3C,GACA,QAAQ,CAAC,MAAM,EAAE,CAkGnB"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import scopes, {} from "./scopes/Scopes.js";
2
- import { Options, Files, Ruleset, Rule, } from "./factory/factory.js";
1
+ import scopes, {} from "./scopes/index.js";
2
+ import { Options, Files, Ruleset, Rule, } from "./factory/index.js";
3
3
  export default function (plugins, parsers, files, rules) {
4
4
  try {
5
5
  const f = new Files(files.base, files.includes), rulesets = {
@@ -27,54 +27,28 @@ export default function (plugins, parsers, files, rules) {
27
27
  rulesets[scope].override(rules.overrides[scope]);
28
28
  const options = {
29
29
  js: new Options
30
- .js(f.files("js"), rulesets.js, {
31
- "@stylistic": plugins["@stylistic"],
32
- }, scopedParsers.js)
33
- .configs,
30
+ .js(f.files("js"), rulesets.js, { "@stylistic": plugins["@stylistic"] }, scopedParsers.js).configs,
34
31
  ts: new Options
35
- .ts(f.files("ts"), rulesets.ts, {
36
- "@stylistic": plugins["@stylistic"],
37
- "@typescript-eslint": plugins["@typescript-eslint"],
38
- }, scopedParsers.ts)
39
- .configs,
32
+ .ts(f.files("ts"), rulesets.ts, { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"] }, scopedParsers.ts).configs,
40
33
  svelte: new Options
41
- .svelte(f.files("svelte"), rulesets.svelte, {
42
- "@stylistic": plugins["@stylistic"],
43
- "@typescript-eslint": plugins["@typescript-eslint"],
44
- svelte: plugins.svelte,
45
- }, scopedParsers.svelte)
46
- .configs,
34
+ .svelte(f.files("svelte"), rulesets.svelte, { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], svelte: plugins.svelte }, scopedParsers.svelte).configs,
47
35
  mocha: new Options
48
- .mocha(f.files("mocha"), rulesets.mocha, {
49
- "@stylistic": plugins["@stylistic"],
50
- "@typescript-eslint": plugins["@typescript-eslint"],
51
- mocha: plugins.mocha,
52
- }, scopedParsers.mocha)
53
- .configs,
36
+ .mocha(f.files("mocha"), rulesets.mocha, { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], mocha: plugins.mocha }, scopedParsers.mocha).configs,
54
37
  html: new Options
55
- .html(f.files("html"), rulesets.html, { "@html-eslint": plugins["@html-eslint"] }, scopedParsers.html)
56
- .configs,
38
+ .html(f.files("html"), rulesets.html, { "@html-eslint": plugins["@html-eslint"] }, scopedParsers.html).configs,
57
39
  json: new Options
58
- .json(f.files("json"), rulesets.json, { jsonc: plugins.jsonc }, scopedParsers.json)
59
- .configs,
40
+ .json(f.files("json"), rulesets.json, { jsonc: plugins.jsonc }, scopedParsers.json).configs,
60
41
  jsonc: new Options
61
- .jsonc(f.files("jsonc"), rulesets.jsonc, { jsonc: plugins.jsonc }, scopedParsers.jsonc)
62
- .configs,
42
+ .jsonc(f.files("jsonc"), rulesets.jsonc, { jsonc: plugins.jsonc }, scopedParsers.jsonc).configs,
63
43
  yml: new Options
64
- .yml(f.files("yml"), rulesets.yml, { yml: plugins.yml }, scopedParsers.yml)
65
- .configs,
44
+ .yml(f.files("yml"), rulesets.yml, { yml: plugins.yml }, scopedParsers.yml).configs,
66
45
  md: new Options
67
- .md(f.files("md"), rulesets.md, {
68
- markdownlint: plugins.markdownlint,
69
- }, scopedParsers.md)
70
- .configs,
46
+ .md(f.files("md"), rulesets.md, { markdownlint: plugins.markdownlint }, scopedParsers.md).configs,
71
47
  };
72
- return scopes
73
- .map(scope => options[scope])
74
- .flat();
48
+ return scopes.flatMap(scope => options[scope]);
75
49
  }
76
50
  catch (e) {
77
- throw new Error(`linted.main`, { cause: e });
51
+ throw new Error(`linted-core`, { cause: e });
78
52
  }
79
53
  }
80
54
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,EAAE,EAAc,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GACL,MAAM,sBAAsB,CAAC;AAG9B,MAAM,CAAC,OAAO,WACZ,OAA+B,EAC/B,OAA+B,EAC/B,KAGC,EACD,KAGC;IAED,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,KAAK,CACjB,KAAK,CAAC,IAAI,EACV,KAAK,CAAC,QAAQ,CACf,EACD,QAAQ,GAAG;YACT,EAAE,EAAE,IAAI,OAAO,CACb,IAAI,EACJ,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAClD;YACD,EAAE,EAAE,IAAI,OAAO,CACb,IAAI,EACJ,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAClD;YACD,MAAM,EAAE,IAAI,OAAO,CACjB,QAAQ,EACR,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CACtD;YACD,KAAK,EAAE,IAAI,OAAO,CAChB,OAAO,EACP,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CACrD;YACD,IAAI,EAAE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AAC7D,CAAC"}
@@ -1,4 +1,4 @@
1
1
  declare const scopes: readonly ["js", "ts", "svelte", "mocha", "html", "json", "jsonc", "yml", "md"];
2
2
  export default scopes;
3
3
  export type Scope = (typeof scopes)[number];
4
- //# sourceMappingURL=Scopes.d.ts.map
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,gFAUF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -10,4 +10,4 @@ const scopes = [
10
10
  "md",
11
11
  ];
12
12
  export default scopes;
13
- //# sourceMappingURL=Scopes.js.map
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;CACI,CAAC;AAEX,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.14.0",
3
3
  "name": "@eslinted/core",
4
- "version": "3.0.3-rc.2",
4
+ "version": "3.0.3",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "license": "MIT",