@eslinted/core 0.4.7 → 0.4.8-rc.1

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
@@ -8,4 +8,4 @@ const scopes = [
8
8
  "yml",
9
9
  ];
10
10
  export default scopes;
11
- //# sourceMappingURL=scopes.js.map
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/module/scopes/index.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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslinted/core",
3
- "version": "0.4.7",
3
+ "version": "0.4.8-rc.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {},
31
31
  "devDependencies": {
32
32
  "eslint": "~8.57.0",
33
- "linted": "~15.1.1",
33
+ "linted": "~15.2.1",
34
34
  "npm-run-all": "^4.1.5",
35
35
  "typescript": "^5.5.3"
36
36
  },
@@ -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}`;
@@ -0,0 +1,8 @@
1
+ import options from "./options";
2
+ import Ruleset, { Rule } from "./ruleset";
3
+
4
+ export {
5
+ options,
6
+ Ruleset,
7
+ Rule,
8
+ };
@@ -0,0 +1,18 @@
1
+ import type { Scope } from "../../module";
2
+ import JsOption from "./option/js";
3
+ import TsOption from "./option/ts";
4
+ import SvelteOption from "./option/svelte";
5
+ import HtmlOption from "./option/html";
6
+ import JsonOption from "./option/json";
7
+ import JsoncOption from "./option/jsonc";
8
+ import YmlOption from "./option/yml";
9
+
10
+ export default {
11
+ js: JsOption,
12
+ ts: TsOption,
13
+ svelte: SvelteOption,
14
+ html: HtmlOption,
15
+ json: JsonOption,
16
+ jsonc: JsoncOption,
17
+ yml: YmlOption,
18
+ } satisfies Record<Scope, unknown>;
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class HtmlOption extends Option<
4
4
  "html",
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class JsOption extends Option<
4
4
  "js",
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class JsonOption extends Option<
4
4
  "json",
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class JsoncOption extends Option<
4
4
  "jsonc",
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class MdOption extends Option<
4
4
  "md",
@@ -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
 
4
4
  export default class SvelteOption extends Option<
5
5
  "svelte",
@@ -1,5 +1,5 @@
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
 
4
4
  export default class TsOption extends Option<
5
5
  "ts",
@@ -1,4 +1,4 @@
1
- import Option from "./option/Option.js";
1
+ import Option from "..";
2
2
 
3
3
  export default class YmlOption extends Option<
4
4
  "yml",
@@ -1,5 +1,6 @@
1
- import Rule from "./rule/Rule.js";
1
+ import Rule from "./rule";
2
2
 
3
+ export { Rule };
3
4
  export default class Ruleset<Language extends string> {
4
5
  public readonly ruleset: readonly Rule[];
5
6
  public readonly overrides: Rule[] = [];
@@ -1,4 +1,4 @@
1
- export default class Rule {
1
+ export default class {
2
2
  constructor(
3
3
  public readonly id: string,
4
4
  public readonly rules: IRule,
package/src/index.ts CHANGED
@@ -1,15 +1,18 @@
1
- import scopes from "./scopes.js";
2
- import options from "./options.js";
3
- import type IConfig from "./interface/IConfig.js";
4
- import type { Scope } from "./scopes.js";
5
- import type Plugins from "./plugins.js";
6
- import type { Parsers } from "./parsers.js";
7
- import type Ruleset from "./ruleset/Ruleset.js";
1
+ import scopes from "./module";
2
+ import {
3
+ options,
4
+ Ruleset,
5
+ Rule,
6
+ } from "./factory";
7
+ import type {
8
+ Scope,
9
+ Plugins,
10
+ Parsers,
11
+ } from "./module";
12
+ import type Config from "./config";
8
13
 
9
- export type { default as IConfig } from "./interface/IConfig.js";
10
- export type { Scope } from "./scopes.js";
11
- export { default as Ruleset } from "./ruleset/Ruleset.js";
12
- export { default as Rule } from "./ruleset/rule/Rule.js";
14
+ export { Ruleset, Rule };
15
+ export type { Scope };
13
16
  export default function (
14
17
  plugins: Plugins,
15
18
  parsers: Parsers,
@@ -17,7 +20,7 @@ export default function (
17
20
  includes: Particord<Scope, string[]>,
18
21
  rulesets: { [S in Scope]: Ruleset<S> },
19
22
  overrides: Particord<Scope, IRule>,
20
- ): IConfig[] {
23
+ ): Config[] {
21
24
  try {
22
25
  for (const scope of scopes)
23
26
  rulesets[scope].override(overrides[scope]);
@@ -0,0 +1,3 @@
1
+ export type { default as Plugins } from "./plugins";
2
+ export type { Parsers } from "./parsers";
3
+ export type { Scope } from "..";
@@ -0,0 +1,12 @@
1
+ import type { Scope } from "..";
2
+
3
+ type ParsedScopes = Scope & (
4
+ | "ts"
5
+ | "svelte"
6
+ | "html"
7
+ | "json"
8
+ | "jsonc"
9
+ | "yml"
10
+ );
11
+
12
+ export type Parsers = Record<ParsedScopes, unknown>;
@@ -1,11 +1,8 @@
1
- import type { Scope } from "./scopes.js";
1
+ import type { Scope } from "..";
2
2
 
3
3
  type PluginImport = { configs: unknown };
4
4
 
5
- export default interface Plugins extends Record<
6
- Scope,
7
- Record<string, { configs: unknown }>
8
- > {
5
+ export default interface Plugins extends Record<Scope, Record<string, PluginImport>> {
9
6
  js: { "@stylistic": PluginImport };
10
7
  ts: {
11
8
  "@stylistic": PluginImport;
@@ -0,0 +1,5 @@
1
+ import scopes from "./scopes";
2
+
3
+ export default scopes;
4
+ export type { Scope } from "./scopes";
5
+ export type { Plugins, Parsers } from "./boundary";
@@ -1,5 +1,3 @@
1
- export type Scope = typeof scopes[number];
2
-
3
1
  const scopes = [
4
2
  "js",
5
3
  "ts",
@@ -11,3 +9,4 @@ const scopes = [
11
9
  ] as const;
12
10
 
13
11
  export default scopes;
12
+ export type Scope = typeof scopes[number];
@@ -1 +0,0 @@
1
- {"version":3,"file":"IConfig.d.ts","sourceRoot":"","sources":["../../src/interface/IConfig.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IConfig.js","sourceRoot":"","sources":["../../src/interface/IConfig.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"HtmlOption.d.ts","sourceRoot":"","sources":["../../src/options/HtmlOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"HtmlOption.js","sourceRoot":"","sources":["../../src/options/HtmlOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsOption.d.ts","sourceRoot":"","sources":["../../src/options/JsOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsOption.js","sourceRoot":"","sources":["../../src/options/JsOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsonOption.d.ts","sourceRoot":"","sources":["../../src/options/JsonOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsonOption.js","sourceRoot":"","sources":["../../src/options/JsonOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsoncOption.d.ts","sourceRoot":"","sources":["../../src/options/JsoncOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"JsoncOption.js","sourceRoot":"","sources":["../../src/options/JsoncOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"MdOption.d.ts","sourceRoot":"","sources":["../../src/options/MdOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"MdOption.js","sourceRoot":"","sources":["../../src/options/MdOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"SvelteOption.d.ts","sourceRoot":"","sources":["../../src/options/SvelteOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAE1C,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 +0,0 @@
1
- {"version":3,"file":"SvelteOption.js","sourceRoot":"","sources":["../../src/options/SvelteOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAGxC,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 +0,0 @@
1
- {"version":3,"file":"TsOption.d.ts","sourceRoot":"","sources":["../../src/options/TsOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAE1C,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 +0,0 @@
1
- {"version":3,"file":"TsOption.js","sourceRoot":"","sources":["../../src/options/TsOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAGxC,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 +0,0 @@
1
- {"version":3,"file":"YmlOption.d.ts","sourceRoot":"","sources":["../../src/options/YmlOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"YmlOption.js","sourceRoot":"","sources":["../../src/options/YmlOption.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,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 +0,0 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/options/option/Option.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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../src/options/option/Option.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,MAAM;IAWP;IADlB,YACkB,IAWf;QAXe,SAAI,GAAJ,IAAI,CAWnB;IACA,CAAC;CACL"}
package/dist/options.d.ts DELETED
@@ -1,18 +0,0 @@
1
- import JsOption from "./options/JsOption.js";
2
- import TsOption from "./options/TsOption.js";
3
- import SvelteOption from "./options/SvelteOption.js";
4
- import HtmlOption from "./options/HtmlOption.js";
5
- import JsonOption from "./options/JsonOption.js";
6
- import JsoncOption from "./options/JsoncOption.js";
7
- import YmlOption from "./options/YmlOption.js";
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=options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,SAAS,MAAM,wBAAwB,CAAC;;;;;;;;;;AAE/C,wBAQmC"}
package/dist/options.js DELETED
@@ -1,17 +0,0 @@
1
- import JsOption from "./options/JsOption.js";
2
- import TsOption from "./options/TsOption.js";
3
- import SvelteOption from "./options/SvelteOption.js";
4
- import HtmlOption from "./options/HtmlOption.js";
5
- import JsonOption from "./options/JsonOption.js";
6
- import JsoncOption from "./options/JsoncOption.js";
7
- import YmlOption from "./options/YmlOption.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
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C,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"}
package/dist/parsers.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import type { Scope } from "./scopes.js";
2
- type ParsedScopes = "ts" | "svelte" | "html" | "json" | "jsonc" | "yml";
3
- export type Parsers = Particord<Scope, unknown> & Record<ParsedScopes, unknown>;
4
- export {};
5
- //# sourceMappingURL=parsers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GACb,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,CAAC;AAEV,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC"}
package/dist/parsers.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=parsers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.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,CAC7C,KAAK,EACL,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CACrC;IACC,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"}
package/dist/plugins.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=plugins.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ruleset.d.ts","sourceRoot":"","sources":["../../src/ruleset/Ruleset.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,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 +0,0 @@
1
- {"version":3,"file":"Ruleset.js","sourceRoot":"","sources":["../../src/ruleset/Ruleset.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,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 +0,0 @@
1
- {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../src/ruleset/rule/Rule.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,IAAI;aAEL,EAAE,EAAE,MAAM;aACV,KAAK,EAAE,KAAK;gBADZ,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,KAAK;CAE/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../src/ruleset/rule/Rule.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,IAAI;IAEL;IACA;IAFlB,YACkB,EAAU,EACV,KAAY;QADZ,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAO;IAC3B,CAAC;CACL"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAE1C,QAAA,MAAM,MAAM,iEAQF,CAAC;AAEX,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC;AAEX,eAAe,MAAM,CAAC"}
package/src/options.ts DELETED
@@ -1,18 +0,0 @@
1
- import type { Scope } from "./scopes.js";
2
- import JsOption from "./options/JsOption.js";
3
- import TsOption from "./options/TsOption.js";
4
- import SvelteOption from "./options/SvelteOption.js";
5
- import HtmlOption from "./options/HtmlOption.js";
6
- import JsonOption from "./options/JsonOption.js";
7
- import JsoncOption from "./options/JsoncOption.js";
8
- import YmlOption from "./options/YmlOption.js";
9
-
10
- export default {
11
- js: JsOption,
12
- ts: TsOption,
13
- svelte: SvelteOption,
14
- html: HtmlOption,
15
- json: JsonOption,
16
- jsonc: JsoncOption,
17
- yml: YmlOption,
18
- } satisfies Record<Scope, unknown>;
package/src/parsers.ts DELETED
@@ -1,11 +0,0 @@
1
- import type { Scope } from "./scopes.js";
2
-
3
- type ParsedScopes =
4
- | "ts"
5
- | "svelte"
6
- | "html"
7
- | "json"
8
- | "jsonc"
9
- | "yml";
10
-
11
- export type Parsers = Particord<Scope, unknown> & Record<ParsedScopes, unknown>;
File without changes
File without changes
File without changes
File without changes