@eslinted/core 0.6.0 → 0.7.0-rc.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. package/dist/boundary/boundary.d.ts +6 -0
  2. package/dist/boundary/boundary.d.ts.map +1 -0
  3. package/dist/boundary/boundary.js +3 -0
  4. package/dist/boundary/boundary.js.map +1 -0
  5. package/dist/boundary/input/input.d.ts +5 -0
  6. package/dist/boundary/input/input.d.ts.map +1 -0
  7. package/dist/boundary/input/input.js +2 -0
  8. package/dist/boundary/input/input.js.map +1 -0
  9. package/dist/boundary/input/parsers/index.d.ts +5 -0
  10. package/dist/boundary/input/parsers/index.d.ts.map +1 -0
  11. package/dist/boundary/input/parsers/index.js +2 -0
  12. package/dist/boundary/input/parsers/index.js.map +1 -0
  13. package/dist/boundary/input/parsers/parsers.d.ts +7 -0
  14. package/dist/boundary/input/parsers/parsers.d.ts.map +1 -0
  15. package/dist/boundary/input/parsers/parsers.js +2 -0
  16. package/dist/boundary/input/parsers/parsers.js.map +1 -0
  17. package/dist/boundary/input/plugins/index.d.ts +32 -0
  18. package/dist/boundary/input/plugins/index.d.ts.map +1 -0
  19. package/dist/boundary/input/plugins/index.js +2 -0
  20. package/dist/boundary/input/plugins/index.js.map +1 -0
  21. package/dist/boundary/input/plugins/plugins.d.ts +6 -0
  22. package/dist/boundary/input/plugins/plugins.d.ts.map +1 -0
  23. package/dist/boundary/input/plugins/plugins.js +2 -0
  24. package/dist/boundary/input/plugins/plugins.js.map +1 -0
  25. package/dist/boundary/output/config/IConfig.d.ts +19 -0
  26. package/dist/boundary/output/config/IConfig.d.ts.map +1 -0
  27. package/dist/boundary/output/config/IConfig.js +2 -0
  28. package/dist/boundary/output/config/IConfig.js.map +1 -0
  29. package/dist/boundary/output/config/index.d.ts +19 -0
  30. package/dist/boundary/output/config/index.d.ts.map +1 -0
  31. package/dist/boundary/output/config/index.js +2 -0
  32. package/dist/boundary/output/config/index.js.map +1 -0
  33. package/dist/boundary/output/output.d.ts +3 -0
  34. package/dist/boundary/output/output.d.ts.map +1 -0
  35. package/dist/boundary/output/output.js +2 -0
  36. package/dist/boundary/output/output.js.map +1 -0
  37. package/dist/boundary/scopes/scopes.d.ts +4 -0
  38. package/dist/boundary/scopes/scopes.d.ts.map +1 -0
  39. package/dist/boundary/scopes/scopes.js +11 -0
  40. package/dist/boundary/scopes/scopes.js.map +1 -0
  41. package/dist/factory/Factory.d.ts +7 -0
  42. package/dist/factory/Factory.d.ts.map +1 -0
  43. package/dist/factory/Factory.js +5 -0
  44. package/dist/factory/Factory.js.map +1 -0
  45. package/dist/factory/files/Files.d.ts +8 -0
  46. package/dist/factory/files/Files.d.ts.map +1 -0
  47. package/dist/factory/files/Files.js +15 -0
  48. package/dist/factory/files/Files.js.map +1 -0
  49. package/dist/factory/options/Options.d.ts +20 -0
  50. package/dist/factory/options/Options.d.ts.map +1 -0
  51. package/dist/factory/options/Options.js +17 -0
  52. package/dist/factory/options/Options.js.map +1 -0
  53. package/dist/factory/options/option/Option.d.ts +29 -0
  54. package/dist/factory/options/option/Option.d.ts.map +1 -0
  55. package/dist/factory/options/option/Option.js +26 -0
  56. package/dist/factory/options/option/Option.js.map +1 -0
  57. package/dist/factory/options/option/html/index.d.ts +7 -3
  58. package/dist/factory/options/option/html/index.d.ts.map +1 -1
  59. package/dist/factory/options/option/html/index.js +6 -12
  60. package/dist/factory/options/option/html/index.js.map +1 -1
  61. package/dist/factory/options/option/js/index.d.ts +7 -2
  62. package/dist/factory/options/option/js/index.d.ts.map +1 -1
  63. package/dist/factory/options/option/js/index.js +8 -15
  64. package/dist/factory/options/option/js/index.js.map +1 -1
  65. package/dist/factory/options/option/json/index.d.ts +7 -3
  66. package/dist/factory/options/option/json/index.d.ts.map +1 -1
  67. package/dist/factory/options/option/json/index.js +6 -12
  68. package/dist/factory/options/option/json/index.js.map +1 -1
  69. package/dist/factory/options/option/jsonc/index.d.ts +7 -3
  70. package/dist/factory/options/option/jsonc/index.d.ts.map +1 -1
  71. package/dist/factory/options/option/jsonc/index.js +6 -12
  72. package/dist/factory/options/option/jsonc/index.js.map +1 -1
  73. package/dist/factory/options/option/svelte/index.d.ts +22 -5
  74. package/dist/factory/options/option/svelte/index.d.ts.map +1 -1
  75. package/dist/factory/options/option/svelte/index.js +14 -21
  76. package/dist/factory/options/option/svelte/index.js.map +1 -1
  77. package/dist/factory/options/option/ts/index.d.ts +15 -4
  78. package/dist/factory/options/option/ts/index.d.ts.map +1 -1
  79. package/dist/factory/options/option/ts/index.js +12 -18
  80. package/dist/factory/options/option/ts/index.js.map +1 -1
  81. package/dist/factory/options/option/yml/index.d.ts +7 -3
  82. package/dist/factory/options/option/yml/index.d.ts.map +1 -1
  83. package/dist/factory/options/option/yml/index.js +6 -12
  84. package/dist/factory/options/option/yml/index.js.map +1 -1
  85. package/dist/factory/ruleset/Ruleset.d.ts +12 -0
  86. package/dist/factory/ruleset/Ruleset.d.ts.map +1 -0
  87. package/dist/factory/ruleset/Ruleset.js +27 -0
  88. package/dist/factory/ruleset/Ruleset.js.map +1 -0
  89. package/dist/factory/ruleset/rule/Rule.d.ts +6 -0
  90. package/dist/factory/ruleset/rule/Rule.d.ts.map +1 -0
  91. package/dist/factory/ruleset/rule/Rule.js +9 -0
  92. package/dist/factory/ruleset/rule/Rule.js.map +1 -0
  93. package/dist/index.d.ts +3 -4
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.js +38 -26
  96. package/dist/index.js.map +1 -1
  97. package/package.json +2 -2
  98. package/src/boundary/boundary.ts +11 -0
  99. package/src/boundary/input/input.ts +5 -0
  100. package/src/boundary/input/parsers/parsers.ts +6 -0
  101. package/src/boundary/input/plugins/plugins.ts +7 -0
  102. package/src/{config/index.ts → boundary/output/config/IConfig.ts} +3 -4
  103. package/src/boundary/output/config/interface/option/IOption.d.ts +20 -0
  104. package/src/boundary/output/config/interface/option/language/IOLanguage.d.ts +18 -0
  105. package/src/boundary/output/config/interface/option/language/ecma/IOLanguageEcma.d.ts +1 -0
  106. package/src/boundary/output/config/interface/option/language/globals/IOLanguageGlobals.d.ts +1 -0
  107. package/src/boundary/output/config/interface/option/language/source/IOLanguageSource.d.ts +3 -0
  108. package/src/boundary/output/config/interface/option/linter/IOLinter.d.ts +4 -0
  109. package/src/boundary/output/config/interface/option/name/IOName.d.ts +1 -0
  110. package/src/boundary/output/config/interface/option/plugins/IOPlugins.d.ts +1 -0
  111. package/src/boundary/output/config/interface/option/processor/IOProcessor.d.ts +1 -0
  112. package/src/boundary/output/output.ts +3 -0
  113. package/src/factory/Factory.ts +13 -0
  114. package/src/factory/files/Files.ts +15 -0
  115. package/src/factory/options/{index.ts → Options.ts} +2 -2
  116. package/src/factory/options/option/Option.ts +58 -0
  117. package/src/factory/options/option/html/index.ts +10 -23
  118. package/src/factory/options/option/js/index.ts +9 -20
  119. package/src/factory/options/option/json/index.ts +10 -23
  120. package/src/factory/options/option/jsonc/index.ts +10 -23
  121. package/src/factory/options/option/svelte/index.ts +23 -34
  122. package/src/factory/options/option/ts/index.ts +20 -29
  123. package/src/factory/options/option/yml/index.ts +10 -23
  124. package/src/factory/ruleset/{index.ts → Ruleset.ts} +1 -1
  125. package/src/index.ts +62 -72
  126. package/types/project/OmitLast.d.ts +1 -0
  127. package/src/config/files/IFiles.d.ts +0 -1
  128. package/src/config/option/IOption.d.ts +0 -25
  129. package/src/config/option/language/IOLanguage.d.ts +0 -15
  130. package/src/config/option/language/ecma/IOLanguageEcma.d.ts +0 -19
  131. package/src/config/option/language/globals/IOLanguageGlobals.d.ts +0 -3
  132. package/src/config/option/language/parser/IOLanguageParser.d.ts +0 -3
  133. package/src/config/option/language/parserOptions/IOLanguageParserOptions.d.ts +0 -5
  134. package/src/config/option/language/source/IOLanguageSource.d.ts +0 -12
  135. package/src/config/option/linter/IOLinter.d.ts +0 -30
  136. package/src/config/option/name/IOName.d.ts +0 -3
  137. package/src/config/option/plugins/IOPlugins.d.ts +0 -3
  138. package/src/config/option/processor/IOProcessor.d.ts +0 -3
  139. package/src/config/rules/IRules.d.ts +0 -1
  140. package/src/factory/files/index.ts +0 -20
  141. package/src/factory/index.ts +0 -12
  142. package/src/factory/options/option/index.ts +0 -27
  143. package/src/module/boundary/index.ts +0 -3
  144. package/src/module/boundary/parsers/index.ts +0 -12
  145. package/src/module/boundary/plugins/index.ts +0 -20
  146. package/src/module/index.ts +0 -9
  147. /package/src/{config/rules/rule → boundary/output/config/interface/rules}/IRule.d.ts +0 -0
  148. /package/src/{config/rules/rule → boundary/output/config/interface/rules}/state/RuleSeverity.d.ts +0 -0
  149. /package/src/{module/scopes/index.ts → boundary/scopes/scopes.ts} +0 -0
  150. /package/src/factory/ruleset/rule/{index.ts → Rule.ts} +0 -0
  151. /package/types/{literal → typioca/literal}/number/base32.d.ts +0 -0
  152. /package/types/{literal → typioca/literal}/number/base64.d.ts +0 -0
  153. /package/types/{literal → typioca/literal}/number/binary.d.ts +0 -0
  154. /package/types/{literal → typioca/literal}/number/decimal.d.ts +0 -0
  155. /package/types/{literal → typioca/literal}/number/hex.d.ts +0 -0
  156. /package/types/{literal → typioca/literal}/number/octal.d.ts +0 -0
  157. /package/types/{literal → typioca/literal}/number/quatral.d.ts +0 -0
  158. /package/types/{literal → typioca/literal}/number/ternary.d.ts +0 -0
  159. /package/types/{literal → typioca/literal}/string/base64char.d.ts +0 -0
  160. /package/types/{literal → typioca/literal}/string/digit.d.ts +0 -0
  161. /package/types/{literal → typioca/literal}/string/hexchar.d.ts +0 -0
  162. /package/types/{literal → typioca/literal}/string/letter.d.ts +0 -0
  163. /package/types/{safe → typioca/safe}/Safe.d.ts +0 -0
  164. /package/types/{safe → typioca/safe}/numbers/finite/Finite.d.ts +0 -0
  165. /package/types/{safe → typioca/safe}/numbers/finite.d.ts +0 -0
  166. /package/types/{safe → typioca/safe}/numbers/fint.d.ts +0 -0
  167. /package/types/{safe → typioca/safe}/numbers/int/Int.d.ts +0 -0
  168. /package/types/{safe → typioca/safe}/numbers/int.d.ts +0 -0
  169. /package/types/{safe → typioca/safe}/numbers/numberful.d.ts +0 -0
  170. /package/types/{safe → typioca/safe}/numbers/polarity/Negative.d.ts +0 -0
  171. /package/types/{safe → typioca/safe}/numbers/polarity/Positive.d.ts +0 -0
  172. /package/types/{safe → typioca/safe}/numbers/polarity/pole/Pole.d.ts +0 -0
  173. /package/types/{safe → typioca/safe}/primitive.d.ts +0 -0
  174. /package/types/{safe → typioca/safe}/strings/char.d.ts +0 -0
  175. /package/types/{safe → typioca/safe}/strings/length/PropLength.d.ts +0 -0
  176. /package/types/{safe → typioca/safe}/strings/stringful.d.ts +0 -0
  177. /package/types/{utility → typioca/utility}/interface/construct/Particord.d.ts +0 -0
  178. /package/types/{utility → typioca/utility}/interface/construct/Property.d.ts +0 -0
  179. /package/types/{utility → typioca/utility}/interface/construct/Recordful.d.ts +0 -0
  180. /package/types/{utility → typioca/utility}/interface/construct/Table.d.ts +0 -0
  181. /package/types/{utility → typioca/utility}/interface/construct/properties/Field.d.ts +0 -0
  182. /package/types/{utility → typioca/utility}/interface/construct/properties/Flag.d.ts +0 -0
  183. /package/types/{utility → typioca/utility}/interface/construct/properties/Limit.d.ts +0 -0
  184. /package/types/{utility → typioca/utility}/interface/construct/properties/List.d.ts +0 -0
  185. /package/types/{utility → typioca/utility}/interface/construct/properties/Listish.d.ts +0 -0
  186. /package/types/{utility → typioca/utility}/interface/construct/properties/Scalar.d.ts +0 -0
  187. /package/types/{utility → typioca/utility}/interface/construct/tables/FieldTable.d.ts +0 -0
  188. /package/types/{utility → typioca/utility}/interface/construct/tables/FlagTable.d.ts +0 -0
  189. /package/types/{utility → typioca/utility}/interface/construct/tables/ListTable.d.ts +0 -0
  190. /package/types/{utility → typioca/utility}/interface/construct/tables/ListishTable.d.ts +0 -0
  191. /package/types/{utility → typioca/utility}/interface/construct/tables/ScalarTable.d.ts +0 -0
  192. /package/types/{utility → typioca/utility}/interface/identity/Interface.d.ts +0 -0
  193. /package/types/{utility → typioca/utility}/interface/identity/Keys.d.ts +0 -0
  194. /package/types/{utility → typioca/utility}/interface/transform/Unrequire.d.ts +0 -0
  195. /package/types/{utility → typioca/utility}/iterable/construct/ArrayN.d.ts +0 -0
  196. /package/types/{utility → typioca/utility}/iterable/construct/Tuple.d.ts +0 -0
  197. /package/types/{utility → typioca/utility}/iterable/construct/arrays/Arrays.d.ts +0 -0
  198. /package/types/{utility → typioca/utility}/iterable/construct/tuples/Tuples.d.ts +0 -0
  199. /package/types/{utility → typioca/utility}/iterable/identity/DyadType.d.ts +0 -0
  200. /package/types/{utility → typioca/utility}/iterable/identity/MonadType.d.ts +0 -0
  201. /package/types/{utility → typioca/utility}/iterable/identity/TriadType.d.ts +0 -0
  202. /package/types/{utility → typioca/utility}/iterable/identity/array/ArrayType.d.ts +0 -0
  203. /package/types/{utility → typioca/utility}/iterable/identity/array/length/ArrayLength.d.ts +0 -0
  204. /package/types/{utility → typioca/utility}/iterable/transform/Join.d.ts +0 -0
  205. /package/types/{utility → typioca/utility}/iterable/transform/Unflat.d.ts +0 -0
  206. /package/types/{utility → typioca/utility}/iterable/transform/stringarray/Chain.d.ts +0 -0
  207. /package/types/{utility → typioca/utility}/iterable/transform/stringarray/PathN.d.ts +0 -0
  208. /package/types/{utility → typioca/utility}/iterable/transform/stringarray/stringify/Stringify.d.ts +0 -0
  209. /package/types/{utility → typioca/utility}/length/Length.d.ts +0 -0
  210. /package/types/{utility → typioca/utility}/null/null.d.ts +0 -0
  211. /package/types/{utility → typioca/utility}/null/nullable.d.ts +0 -0
  212. /package/types/{utility → typioca/utility}/primitive/Primeval.d.ts +0 -0
  213. /package/types/{utility → typioca/utility}/primitive/boolean/True.d.ts +0 -0
  214. /package/types/{utility → typioca/utility}/primitive/number/Numbered.d.ts +0 -0
  215. /package/types/{utility → typioca/utility}/primitive/string/literal.d.ts +0 -0
  216. /package/types/{utility → typioca/utility}/primitive/string/literalful.d.ts +0 -0
@@ -0,0 +1,6 @@
1
+ import scopes, { type Scope } from "./scopes/scopes.js";
2
+ import type { Plugins, Parsers } from "./input/input.js";
3
+ import type Config from "./output/output.js";
4
+ export default scopes;
5
+ export type { Scope, Plugins, Parsers, Config, };
6
+ //# sourceMappingURL=boundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,eAAe,MAAM,CAAC;AACtB,YAAY,EACV,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,GACP,CAAC"}
@@ -0,0 +1,3 @@
1
+ import scopes, {} from "./scopes/scopes.js";
2
+ export default scopes;
3
+ //# sourceMappingURL=boundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boundary.js","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAc,MAAM,oBAAoB,CAAC;AAIxD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type Plugins from "./plugins/plugins.js";
2
+ import type Parsers from "./parsers/parsers.js";
3
+ export type { Plugins, Parsers };
4
+ export type { Scope } from "../boundary.js";
5
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
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,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACjC,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { Scope } from "../input.js";
2
+ type ParsedScopes = Scope & ("ts" | "svelte" | "html" | "json" | "jsonc" | "yml");
3
+ export type Parsers = Record<ParsedScopes, unknown>;
4
+ export {};
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG,KAAK,GAAG,CACxB,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,CACR,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { Scope } from "../input.js";
2
+ import type { Options } from "../../../factory/Factory.js";
3
+ type Parsers = {
4
+ [S in Scope]: ConstructorParameters<typeof Options[S]>[2];
5
+ };
6
+ export type { Parsers as default };
7
+ //# sourceMappingURL=parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,KAAK,OAAO,GAAG;KAAG,CAAC,IAAI,KAAK,GAAG,qBAAqB,CAAG,OAAO,OAAO,CAAC,CAAC,CAAC,CAAE,CAAE,CAAC,CAAC;CAAE,CAAC;AAEjF,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=parsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import type { Scope } from "../input.js";
2
+ type PluginImport = {
3
+ configs: unknown;
4
+ };
5
+ export default interface Plugins extends Record<Scope, Record<string, PluginImport>> {
6
+ js: {
7
+ "@stylistic": PluginImport;
8
+ };
9
+ ts: {
10
+ "@stylistic": PluginImport;
11
+ "@typescript-eslint": PluginImport;
12
+ };
13
+ svelte: {
14
+ "@stylistic": PluginImport;
15
+ "@typescript-eslint": PluginImport;
16
+ svelte: PluginImport;
17
+ };
18
+ html: {
19
+ "@html-eslint": PluginImport;
20
+ };
21
+ json: {
22
+ jsonc: PluginImport;
23
+ };
24
+ jsonc: {
25
+ jsonc: PluginImport;
26
+ };
27
+ yml: {
28
+ yml: PluginImport;
29
+ };
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzC,MAAM,CAAC,OAAO,WAAW,OAAQ,SAAQ,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAClF,EAAE,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAC;IACnC,EAAE,EAAE;QACF,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;QACnC,MAAM,EAAE,YAAY,CAAC;KACtB,CAAC;IACF,IAAI,EAAE;QAAE,cAAc,EAAE,YAAY,CAAA;KAAE,CAAC;IACvC,IAAI,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC9B,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC/B,GAAG,EAAE;QAAE,GAAG,EAAE,YAAY,CAAA;KAAE,CAAC;CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { Scope, Options } from "../../../factory/Factory.js";
2
+ type Plugins = {
3
+ [S in Scope]: InstanceType<typeof Options[S]>["plugins"];
4
+ };
5
+ export type { Plugins as default };
6
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAElE,KAAK,OAAO,GAAG;KACZ,CAAC,IAAI,KAAK,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;CACzD,CAAC;AAEF,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ export default interface IConfig {
2
+ name: `scope:${string}`;
3
+ rules: IRule;
4
+ files: readonly string[];
5
+ linterOptions: {
6
+ noInlineConfig: true;
7
+ reportUnusedDisableDirectives: "error";
8
+ };
9
+ languageOptions: {
10
+ sourceType?: "module" | "script";
11
+ ecmaVersion?: "latest";
12
+ globals?: Record<string, true>;
13
+ parser?: unknown;
14
+ parserOptions?: Record<string, unknown>;
15
+ };
16
+ plugins: Record<string, Record<"configs", unknown>>;
17
+ processor?: string;
18
+ }
19
+ //# sourceMappingURL=IConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IConfig.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/IConfig.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IConfig.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/IConfig.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ export default interface Config {
2
+ rules: IRule;
3
+ files: readonly string[];
4
+ name: `linted/scope:${string}`;
5
+ linterOptions: {
6
+ noInlineConfig: true;
7
+ reportUnusedDisableDirectives: "error";
8
+ };
9
+ languageOptions: {
10
+ sourceType?: "module" | "script";
11
+ ecmaVersion?: "latest";
12
+ globals?: Record<string, true>;
13
+ parser?: unknown;
14
+ parserOptions?: Record<string, unknown>;
15
+ };
16
+ plugins: Record<string, Record<"configs", unknown>>;
17
+ processor?: string;
18
+ }
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,gBAAgB,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CACX;QACD,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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type IConfig from "./config/IConfig.js";
2
+ export type { IConfig as default };
3
+ //# sourceMappingURL=output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ declare const scopes: readonly ["js", "ts", "svelte", "html", "json", "jsonc", "yml"];
2
+ export default scopes;
3
+ export type Scope = typeof scopes[number];
4
+ //# sourceMappingURL=scopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,iEAQF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ const scopes = [
2
+ "js",
3
+ "ts",
4
+ "svelte",
5
+ "html",
6
+ "json",
7
+ "jsonc",
8
+ "yml",
9
+ ];
10
+ export default scopes;
11
+ //# sourceMappingURL=scopes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC;AAEX,eAAe,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ import Options from "./options/Options.js";
2
+ import Files from "./files/Files.js";
3
+ import Ruleset, { Rule } from "./ruleset/Ruleset.js";
4
+ import type { Scope } from "../index.js";
5
+ export type Blanka = ConstructorParameters<typeof Options["js"]>;
6
+ export { Options, Files, Ruleset, Rule, type Scope, };
7
+ //# sourceMappingURL=Factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Factory.d.ts","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG,qBAAqB,CAAC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACjE,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,EACJ,KAAK,KAAK,GACX,CAAC"}
@@ -0,0 +1,5 @@
1
+ import Options from "./options/Options.js";
2
+ import Files from "./files/Files.js";
3
+ import Ruleset, { Rule } from "./ruleset/Ruleset.js";
4
+ export { Options, Files, Ruleset, Rule, };
5
+ //# sourceMappingURL=Factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Factory.js","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GAEL,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Scope } from "../Factory.js";
2
+ export default class Files {
3
+ private readonly base;
4
+ private readonly includes;
5
+ constructor(base: Record<Scope, string[]>, includes: Particord<Scope, string[]>);
6
+ files(scope: Scope): readonly string[];
7
+ }
8
+ //# sourceMappingURL=Files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Files.d.ts","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,KAAK;IAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhD,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAM9C"}
@@ -0,0 +1,15 @@
1
+ export default class Files {
2
+ base;
3
+ includes;
4
+ constructor(base, includes) {
5
+ this.base = base;
6
+ this.includes = includes;
7
+ }
8
+ files(scope) {
9
+ return [
10
+ ...this.base[scope],
11
+ ...this.includes[scope] ?? [],
12
+ ];
13
+ }
14
+ }
15
+ //# sourceMappingURL=Files.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Files.js","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,KAAK;IAEL;IACA;IAFnB,YACmB,IAA6B,EAC7B,QAAoC;QADpC,SAAI,GAAJ,IAAI,CAAyB;QAC7B,aAAQ,GAAR,QAAQ,CAA4B;IACpD,CAAC;IAEG,KAAK,CAAC,KAAY;QACvB,OAAO;YACL,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;YACnB,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;SAC9B,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ import type { Scope } from "../Factory.js";
2
+ import JsOption from "./option/js/index.js";
3
+ import TsOption from "./option/ts/index.js";
4
+ import SvelteOption from "./option/svelte/index.js";
5
+ import HtmlOption from "./option/html/index.js";
6
+ import JsonOption from "./option/json/index.js";
7
+ import JsoncOption from "./option/jsonc/index.js";
8
+ import YmlOption from "./option/yml/index.js";
9
+ export type { Scope };
10
+ declare const _default: {
11
+ readonly js: typeof JsOption;
12
+ readonly ts: typeof TsOption;
13
+ readonly svelte: typeof SvelteOption;
14
+ readonly html: typeof HtmlOption;
15
+ readonly json: typeof JsonOption;
16
+ readonly jsonc: typeof JsoncOption;
17
+ readonly yml: typeof YmlOption;
18
+ };
19
+ export default _default;
20
+ //# sourceMappingURL=Options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,YAAY,EAAE,KAAK,EAAE,CAAC;;;;;;;;;;AACtB,wBAQW"}
@@ -0,0 +1,17 @@
1
+ import JsOption from "./option/js/index.js";
2
+ import TsOption from "./option/ts/index.js";
3
+ import SvelteOption from "./option/svelte/index.js";
4
+ import HtmlOption from "./option/html/index.js";
5
+ import JsonOption from "./option/json/index.js";
6
+ import JsoncOption from "./option/jsonc/index.js";
7
+ import YmlOption from "./option/yml/index.js";
8
+ export default {
9
+ js: JsOption,
10
+ ts: TsOption,
11
+ svelte: SvelteOption,
12
+ html: HtmlOption,
13
+ json: JsonOption,
14
+ jsonc: JsoncOption,
15
+ yml: YmlOption,
16
+ };
17
+ //# sourceMappingURL=Options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAG9C,eAAe;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,WAAW;IAClB,GAAG,EAAE,SAAS;CACN,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { Scope } from "../Options.js";
2
+ export default abstract class Option<S extends Scope, PluginId extends string, IsEcma extends boolean = true, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = 0, GlobalTypes extends string = never, Processor extends object = never> {
3
+ readonly files: readonly string[];
4
+ readonly plugins: IOPlugins<PluginId>;
5
+ readonly parser: Tuple<unknown, ParserCount>;
6
+ readonly linterOptions: {
7
+ readonly noInlineConfig: true;
8
+ readonly reportUnusedDisableDirectives: "error";
9
+ };
10
+ abstract readonly name: literalful<`scope:${S}`>;
11
+ abstract readonly processor: (Interface<Processor> extends never ? object : Interface<Processor> extends {
12
+ "interface": string;
13
+ } ? Interface<Processor> : object);
14
+ constructor(files: readonly string[], plugins: IOPlugins<PluginId>, parser: Tuple<unknown, ParserCount>);
15
+ get option(): {
16
+ name: literalful<`scope:${S}`>;
17
+ files: readonly string[];
18
+ linterOptions: {
19
+ readonly noInlineConfig: true;
20
+ readonly reportUnusedDisableDirectives: "error";
21
+ };
22
+ languageOptions: IOLanguage<IsEcma, ParserOptions, GlobalTypes>;
23
+ plugins: IOPlugins<PluginId>;
24
+ } & (Interface<Processor> extends never ? object : Interface<Processor> extends {
25
+ interface: string;
26
+ } ? Interface<Processor> : object);
27
+ abstract get languageOptions(): IOLanguage<IsEcma, ParserOptions, GlobalTypes>;
28
+ }
29
+ //# sourceMappingURL=Option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM,CAClC,CAAC,SAAS,KAAK,EACf,QAAQ,SAAS,MAAM,EACvB,MAAM,SAAS,OAAO,GAAG,IAAI,EAC7B,aAAa,SAAS,MAAM,GAAG,OAAO,GAAG,KAAK,EAC9C,WAAW,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EACjC,WAAW,SAAS,MAAM,GAAG,KAAK,EAClC,SAAS,SAAS,MAAM,GAAG,KAAK;aAWd,KAAK,EAAE,SAAS,MAAM,EAAE;aACxB,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC;aAC5B,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC;IAXrD,SAAgB,aAAa;;;MAGlB;IAEX,kBAAyB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IACxD,kBAAyB,SAAS,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,SAAS;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,CAAC;gBAGvJ,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC5B,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC;IAGrD,IAAW,MAAM;;;;;;;;;;mBAR8G,MAAM;uCAiCpI;IAED,aAAoB,eAAe,IAAI,UAAU,CAC/C,MAAM,EACN,aAAa,EACb,WAAW,CACZ,CAAC;CACH"}
@@ -0,0 +1,26 @@
1
+ export default class Option {
2
+ files;
3
+ plugins;
4
+ parser;
5
+ linterOptions = {
6
+ noInlineConfig: true,
7
+ reportUnusedDisableDirectives: "error",
8
+ };
9
+ constructor(files, plugins, parser) {
10
+ this.files = files;
11
+ this.plugins = plugins;
12
+ this.parser = parser;
13
+ }
14
+ get option() {
15
+ const { name, files, plugins, linterOptions, languageOptions, processor, } = this;
16
+ return {
17
+ name,
18
+ files,
19
+ linterOptions,
20
+ languageOptions,
21
+ plugins,
22
+ ...processor,
23
+ };
24
+ }
25
+ }
26
+ //# sourceMappingURL=Option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAgB,MAAM;IAkBhB;IACA;IACA;IAXF,aAAa,GAAG;QAC9B,cAAc,EAAE,IAAI;QACpB,6BAA6B,EAAE,OAAO;KAC9B,CAAC;IAKX,YACkB,KAAwB,EACxB,OAA4B,EAC5B,MAAmC;QAFnC,UAAK,GAAL,KAAK,CAAmB;QACxB,YAAO,GAAP,OAAO,CAAqB;QAC5B,WAAM,GAAN,MAAM,CAA6B;IAClD,CAAC;IAEJ,IAAW,MAAM;QACf,MAAM,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,SAAS,GACV,GAAG,IAAI,CAAC;QAET,OAAO;YACL,IAAI;YACJ,KAAK;YACL,aAAa;YACb,eAAe;YACf,OAAO;YACP,GAAG,SAAS;SAQb,CAAC;IACJ,CAAC;CAOF"}
@@ -1,5 +1,9 @@
1
- import Option from "../index.js";
2
- export default class HtmlOption extends Option<"html", "@html-eslint", true, never, never, never, never, never> {
3
- constructor(plugins: HtmlOption["body"]["plugins"], parser: HtmlOption["body"]["languageOptions"]["parser"], files: readonly string[]);
1
+ import Option from "../Option.js";
2
+ export default class HtmlOption extends Option<"html", "@html-eslint", false, true, 1> {
3
+ readonly name = "scope:html";
4
+ readonly processor: {};
5
+ get languageOptions(): {
6
+ readonly parser: unknown;
7
+ };
4
8
  }
5
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,cAAc,EACd,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACtC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACvD,KAAK,EAAE,SAAS,MAAM,EAAE;CAe3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,IAAI,gBAAgB;IACpC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,16 +1,10 @@
1
- import Option from "../index.js";
1
+ import Option from "../Option.js";
2
2
  export default class HtmlOption extends Option {
3
- constructor(plugins, parser, files) {
4
- super({
5
- name: "linted/scope:html",
6
- files,
7
- plugins,
8
- linterOptions: {
9
- noInlineConfig: true,
10
- reportUnusedDisableDirectives: "error",
11
- },
12
- languageOptions: { parser },
13
- });
3
+ name = "scope:html";
4
+ processor = {};
5
+ get languageOptions() {
6
+ const [parser] = this.parser;
7
+ return { parser };
14
8
  }
15
9
  }
16
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE,EAAE,MAAM,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAMvC;IACiB,IAAI,GAAG,YAAY,CAAC;IACpB,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,10 @@
1
- import Option from "../index.js";
1
+ import Option from "../Option.js";
2
2
  export default class JsOption extends Option<"js", "@stylistic"> {
3
- constructor(plugins: JsOption["body"]["plugins"], files: readonly string[]);
3
+ readonly name = "scope:js";
4
+ readonly processor: {};
5
+ get languageOptions(): {
6
+ readonly ecmaVersion: "latest";
7
+ readonly sourceType: "module";
8
+ };
4
9
  }
5
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC;gBAE5D,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACpC,KAAK,EAAE,SAAS,MAAM,EAAE;CAkB3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC;IAC9D,SAAgB,IAAI,cAAc;IAClC,SAAgB,SAAS,KAAM;IAE/B,IAAW,eAAe;;;MAKzB;CACF"}
@@ -1,19 +1,12 @@
1
- import Option from "../index.js";
1
+ import Option from "../Option.js";
2
2
  export default class JsOption extends Option {
3
- constructor(plugins, files) {
4
- super({
5
- name: "linted/scope:js",
6
- files,
7
- plugins,
8
- linterOptions: {
9
- noInlineConfig: true,
10
- reportUnusedDisableDirectives: "error",
11
- },
12
- languageOptions: {
13
- ecmaVersion: "latest",
14
- sourceType: "module",
15
- },
16
- });
3
+ name = "scope:js";
4
+ processor = {};
5
+ get languageOptions() {
6
+ return {
7
+ ecmaVersion: "latest",
8
+ sourceType: "module",
9
+ };
17
10
  }
18
11
  }
19
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAA0B;IAC9D,YACE,OAAoC,EACpC,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE;gBACf,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACF,CACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAA0B;IAC9C,IAAI,GAAG,UAAU,CAAC;IAClB,SAAS,GAAG,EAAE,CAAC;IAE/B,IAAW,eAAe;QACxB,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
@@ -1,5 +1,9 @@
1
- import Option from "../index.js";
2
- export default class JsonOption extends Option<"json", "jsonc", true, never, never, never, never, never> {
3
- constructor(plugins: JsonOption["body"]["plugins"], parser: JsonOption["body"]["languageOptions"]["parser"], files: readonly string[]);
1
+ import Option from "../Option.js";
2
+ export default class JsonOption extends Option<"json", "jsonc", false, true, 1> {
3
+ readonly name = "scope:json";
4
+ readonly processor: {};
5
+ get languageOptions(): {
6
+ readonly parser: unknown;
7
+ };
4
8
  }
5
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACtC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACvD,KAAK,EAAE,SAAS,MAAM,EAAE;CAe3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,IAAI,gBAAgB;IACpC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,16 +1,10 @@
1
- import Option from "../index.js";
1
+ import Option from "../Option.js";
2
2
  export default class JsonOption extends Option {
3
- constructor(plugins, parser, files) {
4
- super({
5
- name: "linted/scope:json",
6
- files,
7
- plugins,
8
- linterOptions: {
9
- noInlineConfig: true,
10
- reportUnusedDisableDirectives: "error",
11
- },
12
- languageOptions: { parser },
13
- });
3
+ name = "scope:json";
4
+ processor = {};
5
+ get languageOptions() {
6
+ const [parser] = this.parser;
7
+ return { parser };
14
8
  }
15
9
  }
16
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,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE,EAAE,MAAM,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;CACF"}
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,UAAW,SAAQ,MAMvC;IACiB,IAAI,GAAG,YAAY,CAAC;IACpB,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,9 @@
1
- import Option from "../index.js";
2
- export default class JsoncOption extends Option<"jsonc", "jsonc", true, never, never, never, never, never> {
3
- constructor(plugins: JsoncOption["body"]["plugins"], parser: JsoncOption["body"]["languageOptions"]["parser"], files: readonly string[]);
1
+ import Option from "../Option.js";
2
+ export default class JsoncOption extends Option<"jsonc", "jsonc", false, true, 1> {
3
+ readonly name = "scope:jsonc";
4
+ readonly processor: {};
5
+ get languageOptions(): {
6
+ readonly parser: unknown;
7
+ };
4
8
  }
5
9
  //# sourceMappingURL=index.d.ts.map