@eslinted/core 0.4.7 → 0.4.8-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/dist/{interface/IConfig.d.ts → config/index.d.ts} +2 -2
  2. package/dist/config/index.d.ts.map +1 -0
  3. package/dist/config/index.js +2 -0
  4. package/dist/config/index.js.map +1 -0
  5. package/dist/factory/index.d.ts +4 -0
  6. package/dist/factory/index.d.ts.map +1 -0
  7. package/dist/factory/index.js +4 -0
  8. package/dist/factory/index.js.map +1 -0
  9. package/dist/factory/options/index.d.ts +18 -0
  10. package/dist/factory/options/index.d.ts.map +1 -0
  11. package/dist/factory/options/index.js +17 -0
  12. package/dist/factory/options/index.js.map +1 -0
  13. package/dist/{options/HtmlOption.d.ts → factory/options/option/html/index.d.ts} +2 -2
  14. package/dist/factory/options/option/html/index.d.ts.map +1 -0
  15. package/dist/{options/HtmlOption.js → factory/options/option/html/index.js} +2 -2
  16. package/dist/factory/options/option/html/index.js.map +1 -0
  17. package/dist/{options/option/Option.d.ts → factory/options/option/index.d.ts} +1 -1
  18. package/dist/factory/options/option/index.d.ts.map +1 -0
  19. package/dist/{options/option/Option.js → factory/options/option/index.js} +1 -1
  20. package/dist/factory/options/option/index.js.map +1 -0
  21. package/dist/{options/JsOption.d.ts → factory/options/option/js/index.d.ts} +2 -2
  22. package/dist/factory/options/option/js/index.d.ts.map +1 -0
  23. package/dist/{options/JsOption.js → factory/options/option/js/index.js} +2 -2
  24. package/dist/factory/options/option/js/index.js.map +1 -0
  25. package/dist/{options/JsonOption.d.ts → factory/options/option/json/index.d.ts} +2 -2
  26. package/dist/factory/options/option/json/index.d.ts.map +1 -0
  27. package/dist/{options/JsonOption.js → factory/options/option/json/index.js} +2 -2
  28. package/dist/factory/options/option/json/index.js.map +1 -0
  29. package/dist/{options/JsoncOption.d.ts → factory/options/option/jsonc/index.d.ts} +2 -2
  30. package/dist/factory/options/option/jsonc/index.d.ts.map +1 -0
  31. package/dist/{options/JsoncOption.js → factory/options/option/jsonc/index.js} +2 -2
  32. package/dist/factory/options/option/jsonc/index.js.map +1 -0
  33. package/dist/{options/MdOption.d.ts → factory/options/option/md/index.d.ts} +2 -2
  34. package/dist/factory/options/option/md/index.d.ts.map +1 -0
  35. package/dist/{options/MdOption.js → factory/options/option/md/index.js} +2 -2
  36. package/dist/factory/options/option/md/index.js.map +1 -0
  37. package/dist/{options/SvelteOption.d.ts → factory/options/option/svelte/index.d.ts} +3 -3
  38. package/dist/factory/options/option/svelte/index.d.ts.map +1 -0
  39. package/dist/{options/SvelteOption.js → factory/options/option/svelte/index.js} +2 -2
  40. package/dist/factory/options/option/svelte/index.js.map +1 -0
  41. package/dist/{options/TsOption.d.ts → factory/options/option/ts/index.d.ts} +3 -3
  42. package/dist/factory/options/option/ts/index.d.ts.map +1 -0
  43. package/dist/{options/TsOption.js → factory/options/option/ts/index.js} +2 -2
  44. package/dist/factory/options/option/ts/index.js.map +1 -0
  45. package/dist/{options/YmlOption.d.ts → factory/options/option/yml/index.d.ts} +2 -2
  46. package/dist/factory/options/option/yml/index.d.ts.map +1 -0
  47. package/dist/{options/YmlOption.js → factory/options/option/yml/index.js} +2 -2
  48. package/dist/factory/options/option/yml/index.js.map +1 -0
  49. package/dist/{ruleset/Ruleset.d.ts → factory/ruleset/index.d.ts} +3 -2
  50. package/dist/factory/ruleset/index.d.ts.map +1 -0
  51. package/dist/{ruleset/Ruleset.js → factory/ruleset/index.js} +3 -2
  52. package/dist/factory/ruleset/index.js.map +1 -0
  53. package/dist/{ruleset/rule/Rule.d.ts → factory/ruleset/rule/index.d.ts} +2 -2
  54. package/dist/factory/ruleset/rule/index.d.ts.map +1 -0
  55. package/dist/{ruleset/rule/Rule.js → factory/ruleset/rule/index.js} +2 -2
  56. package/dist/factory/ruleset/rule/index.js.map +1 -0
  57. package/dist/index.d.ts +6 -10
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -4
  60. package/dist/index.js.map +1 -1
  61. package/dist/module/boundary/index.d.ts +4 -0
  62. package/dist/module/boundary/index.d.ts.map +1 -0
  63. package/dist/module/boundary/index.js +2 -0
  64. package/dist/module/boundary/index.js.map +1 -0
  65. package/dist/module/boundary/parsers/index.d.ts +5 -0
  66. package/dist/module/boundary/parsers/index.d.ts.map +1 -0
  67. package/dist/module/boundary/parsers/index.js +2 -0
  68. package/dist/module/boundary/parsers/index.js.map +1 -0
  69. package/dist/{plugins.d.ts → module/boundary/plugins/index.d.ts} +3 -5
  70. package/dist/module/boundary/plugins/index.d.ts.map +1 -0
  71. package/dist/module/boundary/plugins/index.js +2 -0
  72. package/dist/module/boundary/plugins/index.js.map +1 -0
  73. package/dist/module/index.d.ts +5 -0
  74. package/dist/module/index.d.ts.map +1 -0
  75. package/dist/module/index.js +3 -0
  76. package/dist/module/index.js.map +1 -0
  77. package/dist/{scopes.d.ts → module/scopes/index.d.ts} +2 -2
  78. package/dist/module/scopes/index.d.ts.map +1 -0
  79. package/dist/{scopes.js → module/scopes/index.js} +1 -1
  80. package/dist/module/scopes/index.js.map +1 -0
  81. package/package.json +2 -2
  82. package/src/{interface/IConfig.ts → config/index.ts} +1 -1
  83. package/src/factory/index.ts +8 -0
  84. package/src/factory/options/index.ts +18 -0
  85. package/src/{options/HtmlOption.ts → factory/options/option/html/index.ts} +1 -1
  86. package/src/{options/JsOption.ts → factory/options/option/js/index.ts} +1 -1
  87. package/src/{options/JsonOption.ts → factory/options/option/json/index.ts} +1 -1
  88. package/src/{options/JsoncOption.ts → factory/options/option/jsonc/index.ts} +1 -1
  89. package/src/{options/MdOption.ts → factory/options/option/md/index.ts} +1 -1
  90. package/src/{options/SvelteOption.ts → factory/options/option/svelte/index.ts} +2 -2
  91. package/src/{options/TsOption.ts → factory/options/option/ts/index.ts} +2 -2
  92. package/src/{options/YmlOption.ts → factory/options/option/yml/index.ts} +1 -1
  93. package/src/{ruleset/Ruleset.ts → factory/ruleset/index.ts} +2 -1
  94. package/src/{ruleset/rule/Rule.ts → factory/ruleset/rule/index.ts} +1 -1
  95. package/src/index.ts +15 -12
  96. package/src/module/boundary/index.ts +3 -0
  97. package/src/module/boundary/parsers/index.ts +12 -0
  98. package/src/{plugins.ts → module/boundary/plugins/index.ts} +2 -5
  99. package/src/module/index.ts +5 -0
  100. package/src/{scopes.ts → module/scopes/index.ts} +1 -2
  101. package/dist/interface/IConfig.d.ts.map +0 -1
  102. package/dist/interface/IConfig.js +0 -2
  103. package/dist/interface/IConfig.js.map +0 -1
  104. package/dist/options/HtmlOption.d.ts.map +0 -1
  105. package/dist/options/HtmlOption.js.map +0 -1
  106. package/dist/options/JsOption.d.ts.map +0 -1
  107. package/dist/options/JsOption.js.map +0 -1
  108. package/dist/options/JsonOption.d.ts.map +0 -1
  109. package/dist/options/JsonOption.js.map +0 -1
  110. package/dist/options/JsoncOption.d.ts.map +0 -1
  111. package/dist/options/JsoncOption.js.map +0 -1
  112. package/dist/options/MdOption.d.ts.map +0 -1
  113. package/dist/options/MdOption.js.map +0 -1
  114. package/dist/options/SvelteOption.d.ts.map +0 -1
  115. package/dist/options/SvelteOption.js.map +0 -1
  116. package/dist/options/TsOption.d.ts.map +0 -1
  117. package/dist/options/TsOption.js.map +0 -1
  118. package/dist/options/YmlOption.d.ts.map +0 -1
  119. package/dist/options/YmlOption.js.map +0 -1
  120. package/dist/options/option/Option.d.ts.map +0 -1
  121. package/dist/options/option/Option.js.map +0 -1
  122. package/dist/options.d.ts +0 -18
  123. package/dist/options.d.ts.map +0 -1
  124. package/dist/options.js +0 -17
  125. package/dist/options.js.map +0 -1
  126. package/dist/parsers.d.ts +0 -5
  127. package/dist/parsers.d.ts.map +0 -1
  128. package/dist/parsers.js +0 -2
  129. package/dist/parsers.js.map +0 -1
  130. package/dist/plugins.d.ts.map +0 -1
  131. package/dist/plugins.js +0 -2
  132. package/dist/plugins.js.map +0 -1
  133. package/dist/ruleset/Ruleset.d.ts.map +0 -1
  134. package/dist/ruleset/Ruleset.js.map +0 -1
  135. package/dist/ruleset/rule/Rule.d.ts.map +0 -1
  136. package/dist/ruleset/rule/Rule.js.map +0 -1
  137. package/dist/scopes.d.ts.map +0 -1
  138. package/dist/scopes.js.map +0 -1
  139. package/src/options.ts +0 -18
  140. package/src/parsers.ts +0 -11
  141. /package/src/{interface → config}/files/IFiles.d.ts +0 -0
  142. /package/src/{interface → config}/option/IOption.d.ts +0 -0
  143. /package/src/{interface → config}/option/language/IOLanguage.d.ts +0 -0
  144. /package/src/{interface → config}/option/language/ecma/IOLanguageEcma.d.ts +0 -0
  145. /package/src/{interface → config}/option/language/globals/IOLanguageGlobals.d.ts +0 -0
  146. /package/src/{interface → config}/option/language/parser/IOLanguageParser.d.ts +0 -0
  147. /package/src/{interface → config}/option/language/parserOptions/IOLanguageParserOptions.d.ts +0 -0
  148. /package/src/{interface → config}/option/language/source/IOLanguageSource.d.ts +0 -0
  149. /package/src/{interface → config}/option/linter/IOLinter.d.ts +0 -0
  150. /package/src/{interface → config}/option/name/IOName.d.ts +0 -0
  151. /package/src/{interface → config}/option/plugins/IOPlugins.d.ts +0 -0
  152. /package/src/{interface → config}/option/processor/IOProcessor.d.ts +0 -0
  153. /package/src/{interface → config}/rules/IRules.d.ts +0 -0
  154. /package/src/{interface → config}/rules/rule/IRule.d.ts +0 -0
  155. /package/src/{interface → config}/rules/rule/state/RuleSeverity.d.ts +0 -0
  156. /package/src/{options/option/Option.ts → factory/options/option/index.ts} +0 -0
@@ -1,4 +1,4 @@
1
- export default interface IConfig {
1
+ export default interface Config {
2
2
  rules: IRule;
3
3
  files: string[];
4
4
  name: `linted/scope:${string}`;
@@ -16,4 +16,4 @@ export default interface IConfig {
16
16
  plugins: Record<string, Record<"configs", unknown>>;
17
17
  processor?: string;
18
18
  }
19
- //# sourceMappingURL=IConfig.d.ts.map
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,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/config/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import options from "./options";
2
+ import Ruleset, { Rule } from "./ruleset";
3
+ export { options, Ruleset, Rule, };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,GACL,CAAC"}
@@ -0,0 +1,4 @@
1
+ import options from "./options";
2
+ import Ruleset, { Rule } from "./ruleset";
3
+ export { options, Ruleset, Rule, };
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,GACL,CAAC"}
@@ -0,0 +1,18 @@
1
+ import JsOption from "./option/js";
2
+ import TsOption from "./option/ts";
3
+ import SvelteOption from "./option/svelte";
4
+ import HtmlOption from "./option/html";
5
+ import JsonOption from "./option/json";
6
+ import JsoncOption from "./option/jsonc";
7
+ import YmlOption from "./option/yml";
8
+ declare const _default: {
9
+ js: typeof JsOption;
10
+ ts: typeof TsOption;
11
+ svelte: typeof SvelteOption;
12
+ html: typeof HtmlOption;
13
+ json: typeof JsonOption;
14
+ jsonc: typeof JsoncOption;
15
+ yml: typeof YmlOption;
16
+ };
17
+ export default _default;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,SAAS,MAAM,cAAc,CAAC;;;;;;;;;;AAErC,wBAQmC"}
@@ -0,0 +1,17 @@
1
+ import JsOption from "./option/js";
2
+ import TsOption from "./option/ts";
3
+ import SvelteOption from "./option/svelte";
4
+ import HtmlOption from "./option/html";
5
+ import JsonOption from "./option/json";
6
+ import JsoncOption from "./option/jsonc";
7
+ import YmlOption from "./option/yml";
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=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,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;CACkB,CAAC"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class HtmlOption extends Option<"html", "@html-eslint", true, never, never, never, never, never> {
3
3
  constructor(plugins: HtmlOption["body"]["plugins"], parser: HtmlOption["body"]["languageOptions"]["parser"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=HtmlOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,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,GAAG,KAAK,EAAE,MAAM,EAAE;CAerB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class HtmlOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -13,4 +13,4 @@ export default class HtmlOption extends Option {
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=HtmlOption.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,GAAG,KAAe;QAElB,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"}
@@ -2,4 +2,4 @@ export default class Option<Scope extends string, PluginId extends string, UsePa
2
2
  readonly body: IOption<`linted/scope:${literalful<Scope>}`, true, "error", PluginId, Ecma, Source, UseParser, ParserOptions, GlobalTypes, ProcessorId>;
3
3
  constructor(body: IOption<`linted/scope:${literalful<Scope>}`, true, "error", PluginId, Ecma, Source, UseParser, ParserOptions, GlobalTypes, ProcessorId>);
4
4
  }
5
- //# sourceMappingURL=Option.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,MAAM,CACzB,KAAK,SAAS,MAAM,EACpB,QAAQ,SAAS,MAAM,EACvB,SAAS,SAAS,OAAO,GAAG,KAAK,EACjC,aAAa,SAAS,MAAM,GAAG,KAAK,EACpC,WAAW,SAAS,MAAM,GAAG,KAAK,EAClC,WAAW,SAAS,MAAM,GAAG,KAAK,EAClC,MAAM,SAAS,gBAAgB,CAAC,MAAM,GAAG,QAAQ,EACjD,IAAI,SAAS,MAAM,GAAG,cAAc,CAAC,IAAI,GAAG,QAAQ;aAGlC,IAAI,EAAE,OAAO,CAC3B,gBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,EACnC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,WAAW,CACZ;gBAXe,IAAI,EAAE,OAAO,CAC3B,gBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,EACnC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,WAAW,CACZ;CAEJ"}
@@ -4,4 +4,4 @@ export default class Option {
4
4
  this.body = body;
5
5
  }
6
6
  }
7
- //# sourceMappingURL=Option.js.map
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,MAAM;IAWP;IADlB,YACkB,IAWf;QAXe,SAAI,GAAJ,IAAI,CAWnB;IACA,CAAC;CACL"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsOption extends Option<"js", "@stylistic"> {
3
3
  constructor(plugins: JsOption["body"]["plugins"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=JsOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAC1C,IAAI,EACJ,YAAY,CACb;gBAEG,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACpC,GAAG,KAAK,EAAE,MAAM,EAAE;CAkBrB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsOption extends Option {
3
3
  constructor(plugins, ...files) {
4
4
  super({
@@ -16,4 +16,4 @@ export default class JsOption extends Option {
16
16
  });
17
17
  }
18
18
  }
19
- //# sourceMappingURL=JsOption.js.map
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAGrC;IACC,YACE,OAAoC,EACpC,GAAG,KAAe;QAElB,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,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsonOption extends Option<"json", "jsonc", true, never, never, never, never, never> {
3
3
  constructor(plugins: JsonOption["body"]["plugins"], parser: JsonOption["body"]["languageOptions"]["parser"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=JsonOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,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,GAAG,KAAK,EAAE,MAAM,EAAE;CAerB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsonOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -13,4 +13,4 @@ export default class JsonOption extends Option {
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=JsonOption.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,GAAG,KAAe;QAElB,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,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsoncOption extends Option<"jsonc", "jsonc", true, never, never, never, never, never> {
3
3
  constructor(plugins: JsoncOption["body"]["plugins"], parser: JsoncOption["body"]["languageOptions"]["parser"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=JsoncOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,MAAM,CAC7C,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACvC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACxD,GAAG,KAAK,EAAE,MAAM,EAAE;CAerB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class JsoncOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -13,4 +13,4 @@ export default class JsoncOption extends Option {
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=JsoncOption.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,MASxC;IACC,YACE,OAAuC,EACvC,MAAwD,EACxD,GAAG,KAAe;QAElB,KAAK,CACH;YACE,IAAI,EAAE,oBAAoB;YAC1B,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,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class MdOption extends Option<"md", "yml", true, never, never, never, never, never> {
3
3
  constructor(plugins: MdOption["body"]["plugins"], parser: MdOption["body"]["languageOptions"]["parser"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=MdOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAC1C,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACpC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACrD,GAAG,KAAK,EAAE,MAAM,EAAE;CAerB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class MdOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -13,4 +13,4 @@ export default class MdOption extends Option {
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=MdOption.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MASrC;IACC,YACE,OAAoC,EACpC,MAAqD,EACrD,GAAG,KAAe;QAElB,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,EAAE,MAAM,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/Option.js";
2
- import type TsOption from "./TsOption.js";
1
+ import Option from "..";
2
+ import type TsOption from "../ts";
3
3
  export default class SvelteOption extends Option<"svelte", "svelte" | keyof TsOption["body"]["plugins"], true, TsOption["body"]["languageOptions"]["parserOptions"] & {
4
4
  parser: unknown;
5
5
  } & {
@@ -7,4 +7,4 @@ export default class SvelteOption extends Option<"svelte", "svelte" | keyof TsOp
7
7
  }, never, "svelte/svelte"> {
8
8
  constructor(plugins: SvelteOption["body"]["plugins"], svelteParser: SvelteOption["body"]["languageOptions"]["parser"], tsParser: SvelteOption["body"]["languageOptions"]["parserOptions"]["parser"], ...files: string[]);
9
9
  }
10
- //# sourceMappingURL=SvelteOption.d.ts.map
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AACxB,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,MAAM,CAC9C,QAAQ,EACN,QAAQ,GACR,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EAEnC,IAAI,EACF,QAAQ,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,GACpD;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,mBAAmB,EAAE,CAAC,SAAS,CAAC,CAAA;CAAE,EACtC,KAAK,EACL,eAAe,CAChB;gBAEG,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACxC,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EAC/D,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,EAC5E,GAAG,KAAK,EAAE,MAAM,EAAE;CA2BrB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class SvelteOption extends Option {
3
3
  constructor(plugins, svelteParser, tsParser, ...files) {
4
4
  super({
@@ -25,4 +25,4 @@ export default class SvelteOption extends Option {
25
25
  });
26
26
  }
27
27
  }
28
- //# sourceMappingURL=SvelteOption.js.map
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAGxB,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,MAWzC;IACC,YACE,OAAwC,EACxC,YAA+D,EAC/D,QAA4E,EAC5E,GAAG,KAAe;QAElB,KAAK,CACH;YACE,IAAI,EAAE,qBAAqB;YAC3B,SAAS,EAAE,eAAe;YAC1B,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;gBACpB,MAAM,EAAE,YAAY;gBACpB,aAAa,EAAE;oBACb,WAAW,EAAE,QAAQ;oBACrB,UAAU,EAAE,QAAQ;oBACpB,OAAO,EAAE,eAAe;oBACxB,mBAAmB,EAAE,CAAC,SAAS,CAAC;oBAChC,MAAM,EAAE,QAAQ;iBACjB;aACF;SACF,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -1,8 +1,8 @@
1
- import Option from "./option/Option.js";
2
- import type JsOption from "./JsOption.js";
1
+ import Option from "..";
2
+ import type JsOption from "../js";
3
3
  export default class TsOption extends Option<"ts", "@typescript-eslint" | keyof JsOption["body"]["plugins"], true, JsOption["body"]["languageOptions"] & {
4
4
  project: "tsconfig.json";
5
5
  }> {
6
6
  constructor(plugins: TsOption["body"]["plugins"], parser: unknown, ...files: string[]);
7
7
  }
8
- //# sourceMappingURL=TsOption.d.ts.map
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AACxB,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAC1C,IAAI,EACF,oBAAoB,GACpB,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EAEnC,IAAI,EACF,QAAQ,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,GACnC;IAAE,OAAO,EAAE,eAAe,CAAA;CAAE,CAC/B;gBAEG,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACpC,MAAM,EAAE,OAAO,EACf,GAAG,KAAK,EAAE,MAAM,EAAE;CAwBrB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class TsOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -22,4 +22,4 @@ export default class TsOption extends Option {
22
22
  });
23
23
  }
24
24
  }
25
- //# sourceMappingURL=TsOption.js.map
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAGxB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAQrC;IACC,YACE,OAAoC,EACpC,MAAe,EACf,GAAG,KAAe;QAElB,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;gBACpB,MAAM;gBACN,aAAa,EAAE;oBACb,WAAW,EAAE,QAAQ;oBACrB,UAAU,EAAE,QAAQ;oBACpB,OAAO,EAAE,eAAe;iBACzB;aACF;SACF,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class YmlOption extends Option<"yml", "yml", true, never, never, never, never, never> {
3
3
  constructor(plugins: YmlOption["body"]["plugins"], parser: YmlOption["body"]["languageOptions"]["parser"], ...files: string[]);
4
4
  }
5
- //# sourceMappingURL=YmlOption.d.ts.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,MAAM,CAC3C,KAAK,EACL,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACrC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACtD,GAAG,KAAK,EAAE,MAAM,EAAE;CAerB"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
  export default class YmlOption extends Option {
3
3
  constructor(plugins, parser, ...files) {
4
4
  super({
@@ -13,4 +13,4 @@ export default class YmlOption extends Option {
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=YmlOption.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,MAStC;IACC,YACE,OAAqC,EACrC,MAAsD,EACtD,GAAG,KAAe;QAElB,KAAK,CACH;YACE,IAAI,EAAE,kBAAkB;YACxB,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,4 +1,5 @@
1
- import Rule from "./rule/Rule.js";
1
+ import Rule from "./rule";
2
+ export { Rule };
2
3
  export default class Ruleset<Language extends string> {
3
4
  readonly language: literalful<Language>;
4
5
  readonly ruleset: readonly Rule[];
@@ -8,4 +9,4 @@ export default class Ruleset<Language extends string> {
8
9
  get flat(): IRule[];
9
10
  override(...overrides: (undefined | IRule)[]): this;
10
11
  }
11
- //# sourceMappingURL=Ruleset.d.ts.map
12
+ //# 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,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO,CAAC,QAAQ,SAAS,MAAM;aAKhC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IAJhD,SAAgB,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IACzC,SAAgB,SAAS,EAAE,IAAI,EAAE,CAAM;gBAGrB,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC,EAC9C,GAAG,OAAO,EAAE,SAAS,IAAI,EAAE;IAK7B,IAAW,EAAE,sCAEZ;IAED,IAAW,IAAI,YAKd;IAEM,QAAQ,CAAC,GAAG,SAAS,EAAE,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE;CAcpD"}
@@ -1,4 +1,5 @@
1
- import Rule from "./rule/Rule.js";
1
+ import Rule from "./rule";
2
+ export { Rule };
2
3
  export default class Ruleset {
3
4
  language;
4
5
  ruleset;
@@ -23,4 +24,4 @@ export default class Ruleset {
23
24
  return this;
24
25
  }
25
26
  }
26
- //# sourceMappingURL=Ruleset.js.map
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/ruleset/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO;IAKR;IAJF,OAAO,CAAkB;IACzB,SAAS,GAAW,EAAE,CAAC;IAEvC,YACkB,QAA8B,EAC9C,GAAG,OAAwB;QADX,aAAQ,GAAR,QAAQ,CAAsB;QAG9C,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,IAAW,EAAE;QACX,OAAO,WAAW,IAAI,CAAC,QAAQ,EAAW,CAAC;IAC7C,CAAC;IAED,IAAW,IAAI;QACb,OAAO;YACL,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YACzC,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;SAC5C,CAAC;IACJ,CAAC;IAEM,QAAQ,CAAC,GAAG,SAAgC;QACjD,IAAI,CAAC,SAAS,CAAC,IAAI,CACjB,GAAG,SAAS;aACT,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,OAAO,QAAQ,KAAK,WAAW,CAAC;aACnD,GAAG,CACF,QAAQ,CAAC,EAAE,CAAC,IAAI,IAAI,CAClB,UAAU,EACV,QAAQ,CACT,CACF,CACJ,CAAC;QAEF,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
- export default class Rule {
1
+ export default class {
2
2
  readonly id: string;
3
3
  readonly rules: IRule;
4
4
  constructor(id: string, rules: IRule);
5
5
  }
6
- //# sourceMappingURL=Rule.d.ts.map
6
+ //# 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,MAAM,CAAC,OAAO;aAEM,EAAE,EAAE,MAAM;aACV,KAAK,EAAE,KAAK;gBADZ,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,KAAK;CAE/B"}
@@ -1,4 +1,4 @@
1
- export default class Rule {
1
+ export default class {
2
2
  id;
3
3
  rules;
4
4
  constructor(id, rules) {
@@ -6,4 +6,4 @@ export default class Rule {
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":"AAAA,MAAM,CAAC,OAAO;IAEM;IACA;IAFlB,YACkB,EAAU,EACV,KAAY;QADZ,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAO;IAC3B,CAAC;CACL"}
package/dist/index.d.ts CHANGED
@@ -1,13 +1,9 @@
1
- import type IConfig from "./interface/IConfig.js";
2
- import type { Scope } from "./scopes.js";
3
- import type Plugins from "./plugins.js";
4
- import type { Parsers } from "./parsers.js";
5
- import type Ruleset from "./ruleset/Ruleset.js";
6
- export type { default as IConfig } from "./interface/IConfig.js";
7
- export type { Scope } from "./scopes.js";
8
- export { default as Ruleset } from "./ruleset/Ruleset.js";
9
- export { default as Rule } from "./ruleset/rule/Rule.js";
1
+ import { Ruleset, Rule } from "./factory";
2
+ import type { Scope, Plugins, Parsers } from "./module";
3
+ import type Config from "./config";
4
+ export { Ruleset, Rule };
5
+ export type { Scope, Config };
10
6
  export default function (plugins: Plugins, parsers: Parsers, defaults: Record<Scope, string[]>, includes: Particord<Scope, string[]>, rulesets: {
11
7
  [S in Scope]: Ruleset<S>;
12
- }, overrides: Particord<Scope, IRule>): IConfig[];
8
+ }, overrides: Particord<Scope, IRule>): Config[];
13
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACzD,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACjC,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACpC,QAAQ,EAAE;KAAG,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC;CAAE,EACtC,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,GACjC,OAAO,EAAE,CA2FX"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,OAAO,EACP,IAAI,EACL,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,KAAK,EACL,OAAO,EACP,OAAO,EACR,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AACzB,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAC9B,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACjC,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACpC,QAAQ,EAAE;KAAG,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC;CAAE,EACtC,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,GACjC,MAAM,EAAE,CA2FV"}
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
- import scopes from "./scopes.js";
2
- import options from "./options.js";
3
- export { default as Ruleset } from "./ruleset/Ruleset.js";
4
- export { default as Rule } from "./ruleset/rule/Rule.js";
1
+ import scopes from "./module";
2
+ import { options, Ruleset, Rule, } from "./factory";
3
+ export { Ruleset, Rule };
5
4
  export default function (plugins, parsers, defaults, includes, rulesets, overrides) {
6
5
  try {
7
6
  for (const scope of scopes)
package/dist/index.js.map CHANGED
@@ -1 +1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AAK,EAAE,IAAI,OAAO;iBACf,KAAK,CACJ,OAAO,CAAC,KAAK,EACb,OAAO,CAAC,KAAK,EACb,GAAG,QAAQ,CAAC,KAAK,EACjB,GAAG,QAAQ,CAAC,KAAK,IAAI,EAAE,CACxB;iBACA,IAAI;YACP,GAAG,EAAE,IAAI,OAAO;iBACb,GAAG,CACF,OAAO,CAAC,GAAG,EACX,OAAO,CAAC,GAAG,EACX,GAAG,QAAQ,CAAC,GAAG,EACf,GAAG,QAAQ,CAAC,GAAG,IAAI,EAAE,CACtB;iBACA,IAAI;SACR,CAAC;QAEF,OAAO,MAAM;aACV,GAAG,CACF,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;YAClD,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;iBACd,IAAI;iBACJ,GAAG,CACF,KAAK,CAAC,EAAE;gBACN,OAAO;oBACL,KAAK;oBACL,GAAG,mBAAmB,CAAC,KAAK,CAAC;iBAC9B,CAAC;YACJ,CAAC,CACF;YACH,CAAC,CAAC,EAAE,CACP;aACA,IAAI,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,6BAA6B,EAC7B,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { default as Plugins } from "./plugins";
2
+ export type { Parsers } from "./parsers";
3
+ export type { Scope } from "..";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/module/boundary/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AACpD,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/module/boundary/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { Scope } from "..";
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/module/boundary/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,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/module/boundary/parsers/index.ts"],"names":[],"mappings":""}
@@ -1,10 +1,8 @@
1
- import type { Scope } from "./scopes.js";
1
+ import type { Scope } from "..";
2
2
  type PluginImport = {
3
3
  configs: unknown;
4
4
  };
5
- export default interface Plugins extends Record<Scope, Record<string, {
6
- configs: unknown;
7
- }>> {
5
+ export default interface Plugins extends Record<Scope, Record<string, PluginImport>> {
8
6
  js: {
9
7
  "@stylistic": PluginImport;
10
8
  };
@@ -31,4 +29,4 @@ export default interface Plugins extends Record<Scope, Record<string, {
31
29
  };
32
30
  }
33
31
  export {};
34
- //# sourceMappingURL=plugins.d.ts.map
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/module/boundary/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,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/module/boundary/plugins/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import scopes from "./scopes";
2
+ export default scopes;
3
+ export type { Scope } from "./scopes";
4
+ export type { Plugins, Parsers } from "./boundary";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/module/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ import scopes from "./scopes";
2
+ export default scopes;
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/module/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,MAAM,CAAC"}
@@ -1,4 +1,4 @@
1
- export type Scope = typeof scopes[number];
2
1
  declare const scopes: readonly ["js", "ts", "svelte", "html", "json", "jsonc", "yml"];
3
2
  export default scopes;
4
- //# sourceMappingURL=scopes.d.ts.map
3
+ export type Scope = typeof scopes[number];
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/module/scopes/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,iEAQF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC"}