@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
package/src/index.ts CHANGED
@@ -1,11 +1,11 @@
1
- import type * as Boundary from "./boundary/boundary.js";
2
- import scopes, { type Scope } from "./scopes/Scopes.js";
1
+ import scopes, { type Scope } from "./scopes/index.js";
2
+ import type * as Boundary from "./boundary/index.js";
3
3
  import {
4
4
  Options,
5
5
  Files,
6
6
  Ruleset,
7
7
  Rule,
8
- } from "./factory/factory.js";
8
+ } from "./factory/index.js";
9
9
 
10
10
  export type { Boundary };
11
11
  export default function (
@@ -21,51 +21,19 @@ export default function (
21
21
  },
22
22
  ): Boundary.Output[] {
23
23
  try {
24
- const f = new Files(
25
- files.base,
26
- files.includes,
27
- ),
24
+ const f = new Files(files.base, files.includes),
28
25
  rulesets = {
29
- js: new Ruleset(
30
- "js",
31
- ...rules.preset.js.map(args => new Rule(...args)),
32
- ),
33
- ts: new Ruleset(
34
- "ts",
35
- ...rules.preset.ts.map(args => new Rule(...args)),
36
- ),
37
- svelte: new Ruleset(
38
- "svelte",
39
- ...rules.preset.svelte.map(args => new Rule(...args)),
40
- ),
41
- mocha: new Ruleset(
42
- "mocha",
43
- ...rules.preset.mocha.map(args => new Rule(...args)),
44
- ),
45
- html: new Ruleset(
46
- "html",
47
- ...rules.preset.html.map(args => new Rule(...args)),
48
- ),
49
- json: new Ruleset(
50
- "json",
51
- ...rules.preset.json.map(args => new Rule(...args)),
52
- ),
53
- jsonc: new Ruleset(
54
- "jsonc",
55
- ...rules.preset.jsonc.map(args => new Rule(...args)),
56
- ),
57
- yml: new Ruleset(
58
- "yml",
59
- ...rules.preset.yml.map(args => new Rule(...args)),
60
- ),
61
- md: new Ruleset(
62
- "md",
63
- ...rules.preset.md.map(args => new Rule(...args)),
64
- ),
26
+ js: new Ruleset("js", ...rules.preset.js.map(args => new Rule(...args))),
27
+ ts: new Ruleset("ts", ...rules.preset.ts.map(args => new Rule(...args))),
28
+ svelte: new Ruleset("svelte", ...rules.preset.svelte.map(args => new Rule(...args))),
29
+ mocha: new Ruleset("mocha", ...rules.preset.mocha.map(args => new Rule(...args))),
30
+ html: new Ruleset("html", ...rules.preset.html.map(args => new Rule(...args))),
31
+ json: new Ruleset("json", ...rules.preset.json.map(args => new Rule(...args))),
32
+ jsonc: new Ruleset("jsonc", ...rules.preset.jsonc.map(args => new Rule(...args))),
33
+ yml: new Ruleset("yml", ...rules.preset.yml.map(args => new Rule(...args))),
34
+ md: new Ruleset("md", ...rules.preset.md.map(args => new Rule(...args))),
65
35
  },
66
- scopedParsers: {
67
- [S in Scope]: ConstructorParameters<typeof Options[S]>[3];
68
- } = {
36
+ scopedParsers: { [S in Scope]: ConstructorParameters<typeof Options[S]>[3] } = {
69
37
  js: [] as const,
70
38
  ts: [parsers.ts] as const,
71
39
  svelte: [parsers.svelte, parsers.ts] as const,
@@ -80,108 +48,73 @@ export default function (
80
48
  for (const scope of scopes)
81
49
  rulesets[scope].override(rules.overrides[scope]);
82
50
 
83
- const options: {
84
- [S in Scope]: InstanceType<
85
- typeof Options[S]
86
- >["configs"]
87
- } = {
51
+ const options: { [S in Scope]: InstanceType<typeof Options[S]>["configs"] } = {
88
52
  js: new Options
89
53
  .js(
90
54
  f.files("js"),
91
55
  rulesets.js,
92
- {
93
- "@stylistic": plugins["@stylistic"],
94
- },
56
+ { "@stylistic": plugins["@stylistic"] },
95
57
  scopedParsers.js,
96
- )
97
- .configs,
58
+ ).configs,
98
59
  ts: new Options
99
60
  .ts(
100
61
  f.files("ts"),
101
62
  rulesets.ts,
102
- {
103
- "@stylistic": plugins["@stylistic"],
104
- "@typescript-eslint": plugins["@typescript-eslint"],
105
- },
63
+ { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"] },
106
64
  scopedParsers.ts,
107
- )
108
- .configs,
65
+ ).configs,
109
66
  svelte: new Options
110
67
  .svelte(
111
68
  f.files("svelte"),
112
69
  rulesets.svelte,
113
- {
114
- "@stylistic": plugins["@stylistic"],
115
- "@typescript-eslint": plugins["@typescript-eslint"],
116
- svelte: plugins.svelte,
117
- },
70
+ { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], svelte: plugins.svelte },
118
71
  scopedParsers.svelte,
119
- )
120
- .configs,
72
+ ).configs,
121
73
  mocha: new Options
122
74
  .mocha(
123
75
  f.files("mocha"),
124
76
  rulesets.mocha,
125
- {
126
- "@stylistic": plugins["@stylistic"],
127
- "@typescript-eslint": plugins["@typescript-eslint"],
128
- mocha: plugins.mocha,
129
- },
77
+ { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], mocha: plugins.mocha },
130
78
  scopedParsers.mocha,
131
- )
132
- .configs,
79
+ ).configs,
133
80
  html: new Options
134
81
  .html(
135
82
  f.files("html"),
136
83
  rulesets.html,
137
84
  { "@html-eslint": plugins["@html-eslint"] },
138
85
  scopedParsers.html,
139
- )
140
- .configs,
86
+ ).configs,
141
87
  json: new Options
142
88
  .json(
143
89
  f.files("json"),
144
90
  rulesets.json,
145
91
  { jsonc: plugins.jsonc },
146
92
  scopedParsers.json,
147
- )
148
- .configs,
93
+ ).configs,
149
94
  jsonc: new Options
150
95
  .jsonc(
151
96
  f.files("jsonc"),
152
97
  rulesets.jsonc,
153
98
  { jsonc: plugins.jsonc },
154
99
  scopedParsers.jsonc,
155
- )
156
- .configs,
100
+ ).configs,
157
101
  yml: new Options
158
102
  .yml(
159
103
  f.files("yml"),
160
104
  rulesets.yml,
161
105
  { yml: plugins.yml },
162
106
  scopedParsers.yml,
163
- )
164
- .configs,
107
+ ).configs,
165
108
  md: new Options
166
109
  .md(
167
110
  f.files("md"),
168
111
  rulesets.md,
169
- {
170
- markdownlint: plugins.markdownlint,
171
- },
112
+ { markdownlint: plugins.markdownlint },
172
113
  scopedParsers.md,
173
- )
174
- .configs,
114
+ ).configs,
175
115
  };
176
116
 
177
- return scopes
178
- .map(scope => options[scope])
179
- .flat();
180
- }
181
- catch (e) {
182
- throw new Error(
183
- `linted.main`,
184
- { cause: e },
185
- );
117
+ return scopes.flatMap(scope => options[scope]);
186
118
  }
119
+ catch (e) { throw new Error(`linted-core`, { cause: e }); }
187
120
  }
@@ -1,4 +0,0 @@
1
- import type Output from "./output/output.js";
2
- export type * as Input from "./input/input.js";
3
- export type { Output };
4
- //# sourceMappingURL=boundary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,YAAY,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=boundary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"boundary.js","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Scope } from "../../../../scopes/Scopes.js";
2
- import type * as Base from "./list/list.js";
3
- type Base = Readonly<Record<Scope, Base.List>>;
4
- export type { Base as default, Base, };
5
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/files/base/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAC;AAE5C,KAAK,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAE/C,YAAY,EACV,IAAI,IAAI,OAAO,EACf,IAAI,GACL,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../src/boundary/input/files/base/base.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type List = readonly string[];
2
- export type { List as default, List, };
3
- //# sourceMappingURL=list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/input/files/base/list/list.ts"],"names":[],"mappings":"AAAA,KAAK,IAAI,GAAG,SAAS,MAAM,EAAE,CAAC;AAE9B,YAAY,EACV,IAAI,IAAI,OAAO,EACf,IAAI,GACL,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/boundary/input/files/base/list/list.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type Base from "./base/base.js";
2
- import type Includes from "./includes/includes.js";
3
- export type { Base, Includes, };
4
- //# sourceMappingURL=files.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/files/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AAEnD,YAAY,EACV,IAAI,EACJ,QAAQ,GACT,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=files.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files.js","sourceRoot":"","sources":["../../../../src/boundary/input/files/files.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as Includes from "../base/base.ts";
2
- type Includes = Partial<Includes.Base>;
3
- export type { Includes as default, Includes, };
4
- //# sourceMappingURL=includes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"includes.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/files/includes/includes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAEvC,YAAY,EACV,QAAQ,IAAI,OAAO,EACnB,QAAQ,GACT,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=includes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"includes.js","sourceRoot":"","sources":["../../../../../src/boundary/input/files/includes/includes.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import type Plugins from "./plugins/plugins.js";
2
- import type Parsers from "./parsers/parsers.js";
3
- export type { Plugins, Parsers, };
4
- export type * as Files from "./files/files.js";
5
- export type * as Rules from "./rules/rules.js";
6
- //# sourceMappingURL=input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,YAAY,EACV,OAAO,EACP,OAAO,GACR,CAAC;AACF,YAAY,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC/C,YAAY,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;AAEvD,YAAY,EACV,OAAO,IAAI,OAAO,EAClB,OAAO,EACP,YAAY,GACb,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=parsers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC,CAAC;AAEpE,YAAY,EACV,OAAO,IAAI,OAAO,EAClB,OAAO,EACP,YAAY,GACb,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=plugins.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Scope } from "../../../../scopes/Scopes.js";
2
- import type * as Overrides from "../preset/preset.js";
3
- type Overrides = Readonly<Partial<Record<Scope, Overrides.Preset.Entry.Object>>>;
4
- export type { Overrides as default, Overrides, };
5
- //# sourceMappingURL=overrides.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overrides.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/overrides/overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,KAAK,SAAS,MAAM,qBAAqB,CAAC;AAEtD,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAEjF,YAAY,EACV,SAAS,IAAI,OAAO,EACpB,SAAS,GACV,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=overrides.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/overrides/overrides.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as Entry from "./object/object.js";
2
- type Entry = readonly [string, Entry.Object];
3
- export type { Entry as default, Entry, };
4
- //# sourceMappingURL=entry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../../../../../src/boundary/input/rules/preset/entry/entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,KAAK,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;AAE7C,YAAY,EACV,KAAK,IAAI,OAAO,EAChB,KAAK,GACN,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../../src/boundary/input/rules/preset/entry/entry.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as Object from "./state/level.js";
2
- type Object = Readonly<Record<string, Object.Level | readonly [Object.Level, ...unknown[]]>>;
3
- export type { Object as default, Object, };
4
- //# sourceMappingURL=object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../../../../../../src/boundary/input/rules/preset/entry/object/object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAEhD,KAAK,MAAM,GAAG,QAAQ,CAAC,MAAM,CAC3B,MAAM,EACJ,MAAM,CAAC,KAAK,GACZ,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CACxC,CAAC,CAAC;AAEH,YAAY,EACV,MAAM,IAAI,OAAO,EACjB,MAAM,GACP,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"object.js","sourceRoot":"","sources":["../../../../../../../src/boundary/input/rules/preset/entry/object/object.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- type Level = "error" | "warn" | "off";
2
- export type { Level as default, Level, };
3
- //# sourceMappingURL=level.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../../../../../../../src/boundary/input/rules/preset/entry/object/state/level.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GACN,OAAO,GACP,MAAM,GACN,KAAK,CAAC;AAEV,YAAY,EACV,KAAK,IAAI,OAAO,EAChB,KAAK,GACN,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=level.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"level.js","sourceRoot":"","sources":["../../../../../../../../src/boundary/input/rules/preset/entry/object/state/level.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Scope } from "../../../../scopes/Scopes.js";
2
- import type * as Preset from "./entry/entry.js";
3
- type Preset = Readonly<Record<Scope, readonly Preset.Entry[]>>;
4
- export type { Preset as default, Preset, };
5
- //# sourceMappingURL=preset.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/preset/preset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAEhD,KAAK,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;AAE/D,YAAY,EACV,MAAM,IAAI,OAAO,EACjB,MAAM,GACP,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=preset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preset.js","sourceRoot":"","sources":["../../../../../src/boundary/input/rules/preset/preset.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type Preset from "./preset/preset.js";
2
- import type Overrides from "./overrides/overrides.js";
3
- export type { Preset, Overrides, };
4
- //# sourceMappingURL=rules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/rules/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAEtD,YAAY,EACV,MAAM,EACN,SAAS,GACV,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/boundary/input/rules/rules.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,IAAI,EAAE,gBAAgB,MAAM,SAAS,MAAM,IAAI,MAAM,EAAE,CAAC;IACxD,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;IACjC,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/config.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type Config from "./config/config.js";
2
- export type { Config as default };
3
- //# sourceMappingURL=output.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,YAAY,EAAE,MAAM,IAAI,OAAO,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=output.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dependency.d.ts","sourceRoot":"","sources":["../../src/dependency/dependency.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,EACV,OAAO,EACP,OAAO,EACP,OAAO,GACR,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=dependency.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dependency.js","sourceRoot":"","sources":["../../src/dependency/dependency.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import Ruleset, { Rule } from "./ruleset/Ruleset.js";
2
- import Files from "./files/Files.js";
3
- import Options from "./options/Options.js";
4
- export { Options, Files, Ruleset, Rule, };
5
- //# sourceMappingURL=factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GACL,CAAC"}
@@ -1,5 +0,0 @@
1
- import Ruleset, { Rule } from "./ruleset/Ruleset.js";
2
- import Files from "./files/Files.js";
3
- import Options from "./options/Options.js";
4
- export { Options, Files, Ruleset, Rule, };
5
- //# sourceMappingURL=factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GACL,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Files.d.ts","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,CAAC,OAAO,OAAO,KAAK;IAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EACtB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ;IAG1C,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAc9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Files.js","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,OAAO,KAAK;IAEL;IACA;IAFnB,YACmB,IAAsB,EACtB,QAA8B;QAD9B,SAAI,GAAJ,IAAI,CAAkB;QACtB,aAAQ,GAAR,QAAQ,CAAsB;IAC9C,CAAC;IAEG,KAAK,CAAC,KAAY;QACvB,IAAI,CAAC;YACH,OAAO;gBACL,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;gBACnB,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;aAC9B,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,8BAA8B,KAAK,EAAE,EACrC,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.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 +0,0 @@
1
- {"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.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 +0,0 @@
1
- {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAM9B,MAAM,CAAC,OAAO,OAAgB,MAAM;IAsBhB;IACA;IACA;IACA;IAhBD,aAAa,GAAG;QAC/B,cAAc,EAAE,IAAI;QACpB,6BAA6B,EAAE,OAAO;KAC9B,CAAC;IASX,YACkB,KAAwB,EACxB,OAAmB,EACnB,OAA4B,EAC5B,MAAmC;QAHnC,UAAK,GAAL,KAAK,CAAmB;QACxB,YAAO,GAAP,OAAO,CAAY;QACnB,YAAO,GAAP,OAAO,CAAqB;QAC5B,WAAM,GAAN,MAAM,CAA6B;IAClD,CAAC;IAEJ,IAAW,OAAO;QAChB,IAAI,CAAC;YACH,MAAM,EACJ,KAAK,EACL,OAAO,EACP,KAAK,EACL,MAAM,GACP,GAAG,IAAI,CAAC;YAET,IAAI,OAAO,CAAC,EAAE,KAAK,KAAK;gBACtB,MAAM,IAAI,SAAS,CACjB,mCAAmC,EACnC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,CAClD,CAAC;iBACC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;gBACvB,OAAO,EAAE,CAAC;iBACP,CAAC;gBACJ,MAAM,QAAQ,GAAG,gBAAgB,KAAK,SAAS,OAAO,CAAC,EAAE,EAAW,CAAC;gBAErE,OAAO,OAAO,CAAC,OAAO,CAAC,GAAG,CACxB,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE;oBAClB,MAAM,IAAI,GAAG,GAAG,QAAQ,IAAI,MAAM,EAAW,CAAC;oBAE9C,OAAO;wBACL,IAAI;wBACJ,KAAK;wBACL,KAAK;wBACL,GAAG,MAAM;qBACV,CAAC;gBACJ,CAAC,CACF,CAAC;YACJ,CAAC;QACH,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,+BAA+B,IAAI,CAAC,KAAK,WAAW,EACpD,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAY,MAAM;QAChB,IAAI,CAAC;YACH,MAAM,EACJ,OAAO,EACP,aAAa,EACb,eAAe,EACf,SAAS,GACV,GAAG,IAAI,CAAC;YAET,OAAO;gBACL,aAAa;gBACb,eAAe;gBACf,OAAO;gBACP,GAAG,SAAS;aAOb,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,+BAA+B,IAAI,CAAC,KAAK,UAAU,EACnD,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAQS,OAAO,CAAC,IAAiB;QACjC,IAAI,CAAC;YACH,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,+BAA+B,IAAI,CAAC,KAAK,WAAW,EACpD,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ruleset.d.ts","sourceRoot":"","sources":["../../../src/factory/ruleset/Ruleset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO,CAAC,CAAC,SAAS,KAAK;IAKxC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAJxB,SAAgB,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAQ;gBAGjB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EACrC,GAAG,KAAK,EAAE,SAAS,IAAI,EAAE;IAa3B,IAAW,EAAE,kBAYZ;IAED,IAAW,OAAO,gPAejB;IAEM,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;CAiBrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ruleset.js","sourceRoot":"","sources":["../../../src/factory/ruleset/Ruleset.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO;IAKP;IAJH,OAAO,CAAkB;IAClC,SAAS,GAAe,IAAI,CAAC;IAEpC,YACmB,KAAoB,EACrC,GAAG,KAAsB;QADR,UAAK,GAAL,KAAK,CAAe;QAGrC,IAAI,CAAC;YACH,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;QAC5B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,wBAAwB,EACxB,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAW,EAAE;QACX,IAAI,CAAC;YACH,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;YAEvB,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,4BAA4B,EAC5B,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,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;YACT,MAAM,IAAI,KAAK,CACb,iCAAiC,EACjC,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAEM,QAAQ,CAAC,SAAoC;QAClD,IAAI,CAAC;YACH,IAAI,OAAO,SAAS,KAAK,WAAW;gBAClC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CACvB,UAAU,EACV,SAAS,CACV,CAAC;YAEJ,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CACb,kCAAkC,EAClC,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/Rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAE3D,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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/Rule.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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Scopes.d.ts","sourceRoot":"","sources":["../../src/scopes/Scopes.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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Scopes.js","sourceRoot":"","sources":["../../src/scopes/Scopes.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"}
@@ -1 +0,0 @@
1
- declare type OmitFilesRuleset<A> = A extends readonly [unknown, unknown, ...infer An_1] ? An_1 : never;
@@ -1,4 +0,0 @@
1
- import type Output from "./output/output.js";
2
-
3
- export type * as Input from "./input/input.js";
4
- export type { Output };
@@ -1,9 +0,0 @@
1
- import type { Scope } from "../../../../scopes/Scopes.js";
2
- import type * as Base from "./list/list.js";
3
-
4
- type Base = Readonly<Record<Scope, Base.List>>;
5
-
6
- export type {
7
- Base as default,
8
- Base,
9
- };
@@ -1,6 +0,0 @@
1
- type List = readonly string[];
2
-
3
- export type {
4
- List as default,
5
- List,
6
- };
@@ -1,7 +0,0 @@
1
- import type Base from "./base/base.js";
2
- import type Includes from "./includes/includes.js";
3
-
4
- export type {
5
- Base,
6
- Includes,
7
- };