@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.
- package/dist/{interface/IConfig.d.ts → config/index.d.ts} +2 -2
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -0
- package/dist/factory/index.d.ts +4 -0
- package/dist/factory/index.d.ts.map +1 -0
- package/dist/factory/index.js +4 -0
- package/dist/factory/index.js.map +1 -0
- package/dist/factory/options/index.d.ts +18 -0
- package/dist/factory/options/index.d.ts.map +1 -0
- package/dist/factory/options/index.js +17 -0
- package/dist/factory/options/index.js.map +1 -0
- package/dist/{options/HtmlOption.d.ts → factory/options/option/html/index.d.ts} +2 -2
- package/dist/factory/options/option/html/index.d.ts.map +1 -0
- package/dist/{options/HtmlOption.js → factory/options/option/html/index.js} +2 -2
- package/dist/factory/options/option/html/index.js.map +1 -0
- package/dist/{options/option/Option.d.ts → factory/options/option/index.d.ts} +1 -1
- package/dist/factory/options/option/index.d.ts.map +1 -0
- package/dist/{options/option/Option.js → factory/options/option/index.js} +1 -1
- package/dist/factory/options/option/index.js.map +1 -0
- package/dist/{options/JsOption.d.ts → factory/options/option/js/index.d.ts} +2 -2
- package/dist/factory/options/option/js/index.d.ts.map +1 -0
- package/dist/{options/JsOption.js → factory/options/option/js/index.js} +2 -2
- package/dist/factory/options/option/js/index.js.map +1 -0
- package/dist/{options/JsonOption.d.ts → factory/options/option/json/index.d.ts} +2 -2
- package/dist/factory/options/option/json/index.d.ts.map +1 -0
- package/dist/{options/JsonOption.js → factory/options/option/json/index.js} +2 -2
- package/dist/factory/options/option/json/index.js.map +1 -0
- package/dist/{options/JsoncOption.d.ts → factory/options/option/jsonc/index.d.ts} +2 -2
- package/dist/factory/options/option/jsonc/index.d.ts.map +1 -0
- package/dist/{options/JsoncOption.js → factory/options/option/jsonc/index.js} +2 -2
- package/dist/factory/options/option/jsonc/index.js.map +1 -0
- package/dist/{options/MdOption.d.ts → factory/options/option/md/index.d.ts} +2 -2
- package/dist/factory/options/option/md/index.d.ts.map +1 -0
- package/dist/{options/MdOption.js → factory/options/option/md/index.js} +2 -2
- package/dist/factory/options/option/md/index.js.map +1 -0
- package/dist/{options/SvelteOption.d.ts → factory/options/option/svelte/index.d.ts} +3 -3
- package/dist/factory/options/option/svelte/index.d.ts.map +1 -0
- package/dist/{options/SvelteOption.js → factory/options/option/svelte/index.js} +2 -2
- package/dist/factory/options/option/svelte/index.js.map +1 -0
- package/dist/{options/TsOption.d.ts → factory/options/option/ts/index.d.ts} +3 -3
- package/dist/factory/options/option/ts/index.d.ts.map +1 -0
- package/dist/{options/TsOption.js → factory/options/option/ts/index.js} +2 -2
- package/dist/factory/options/option/ts/index.js.map +1 -0
- package/dist/{options/YmlOption.d.ts → factory/options/option/yml/index.d.ts} +2 -2
- package/dist/factory/options/option/yml/index.d.ts.map +1 -0
- package/dist/{options/YmlOption.js → factory/options/option/yml/index.js} +2 -2
- package/dist/factory/options/option/yml/index.js.map +1 -0
- package/dist/{ruleset/Ruleset.d.ts → factory/ruleset/index.d.ts} +3 -2
- package/dist/factory/ruleset/index.d.ts.map +1 -0
- package/dist/{ruleset/Ruleset.js → factory/ruleset/index.js} +3 -2
- package/dist/factory/ruleset/index.js.map +1 -0
- package/dist/{ruleset/rule/Rule.d.ts → factory/ruleset/rule/index.d.ts} +2 -2
- package/dist/factory/ruleset/rule/index.d.ts.map +1 -0
- package/dist/{ruleset/rule/Rule.js → factory/ruleset/rule/index.js} +2 -2
- package/dist/factory/ruleset/rule/index.js.map +1 -0
- package/dist/index.d.ts +6 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/module/boundary/index.d.ts +4 -0
- package/dist/module/boundary/index.d.ts.map +1 -0
- package/dist/module/boundary/index.js +2 -0
- package/dist/module/boundary/index.js.map +1 -0
- package/dist/module/boundary/parsers/index.d.ts +5 -0
- package/dist/module/boundary/parsers/index.d.ts.map +1 -0
- package/dist/module/boundary/parsers/index.js +2 -0
- package/dist/module/boundary/parsers/index.js.map +1 -0
- package/dist/{plugins.d.ts → module/boundary/plugins/index.d.ts} +3 -5
- package/dist/module/boundary/plugins/index.d.ts.map +1 -0
- package/dist/module/boundary/plugins/index.js +2 -0
- package/dist/module/boundary/plugins/index.js.map +1 -0
- package/dist/module/index.d.ts +5 -0
- package/dist/module/index.d.ts.map +1 -0
- package/dist/module/index.js +3 -0
- package/dist/module/index.js.map +1 -0
- package/dist/{scopes.d.ts → module/scopes/index.d.ts} +2 -2
- package/dist/module/scopes/index.d.ts.map +1 -0
- package/dist/{scopes.js → module/scopes/index.js} +1 -1
- package/dist/module/scopes/index.js.map +1 -0
- package/package.json +2 -2
- package/src/{interface/IConfig.ts → config/index.ts} +1 -1
- package/src/factory/index.ts +8 -0
- package/src/factory/options/index.ts +18 -0
- package/src/{options/HtmlOption.ts → factory/options/option/html/index.ts} +1 -1
- package/src/{options/JsOption.ts → factory/options/option/js/index.ts} +1 -1
- package/src/{options/JsonOption.ts → factory/options/option/json/index.ts} +1 -1
- package/src/{options/JsoncOption.ts → factory/options/option/jsonc/index.ts} +1 -1
- package/src/{options/MdOption.ts → factory/options/option/md/index.ts} +1 -1
- package/src/{options/SvelteOption.ts → factory/options/option/svelte/index.ts} +2 -2
- package/src/{options/TsOption.ts → factory/options/option/ts/index.ts} +2 -2
- package/src/{options/YmlOption.ts → factory/options/option/yml/index.ts} +1 -1
- package/src/{ruleset/Ruleset.ts → factory/ruleset/index.ts} +2 -1
- package/src/{ruleset/rule/Rule.ts → factory/ruleset/rule/index.ts} +1 -1
- package/src/index.ts +15 -12
- package/src/module/boundary/index.ts +3 -0
- package/src/module/boundary/parsers/index.ts +12 -0
- package/src/{plugins.ts → module/boundary/plugins/index.ts} +2 -5
- package/src/module/index.ts +5 -0
- package/src/{scopes.ts → module/scopes/index.ts} +1 -2
- package/dist/interface/IConfig.d.ts.map +0 -1
- package/dist/interface/IConfig.js +0 -2
- package/dist/interface/IConfig.js.map +0 -1
- package/dist/options/HtmlOption.d.ts.map +0 -1
- package/dist/options/HtmlOption.js.map +0 -1
- package/dist/options/JsOption.d.ts.map +0 -1
- package/dist/options/JsOption.js.map +0 -1
- package/dist/options/JsonOption.d.ts.map +0 -1
- package/dist/options/JsonOption.js.map +0 -1
- package/dist/options/JsoncOption.d.ts.map +0 -1
- package/dist/options/JsoncOption.js.map +0 -1
- package/dist/options/MdOption.d.ts.map +0 -1
- package/dist/options/MdOption.js.map +0 -1
- package/dist/options/SvelteOption.d.ts.map +0 -1
- package/dist/options/SvelteOption.js.map +0 -1
- package/dist/options/TsOption.d.ts.map +0 -1
- package/dist/options/TsOption.js.map +0 -1
- package/dist/options/YmlOption.d.ts.map +0 -1
- package/dist/options/YmlOption.js.map +0 -1
- package/dist/options/option/Option.d.ts.map +0 -1
- package/dist/options/option/Option.js.map +0 -1
- package/dist/options.d.ts +0 -18
- package/dist/options.d.ts.map +0 -1
- package/dist/options.js +0 -17
- package/dist/options.js.map +0 -1
- package/dist/parsers.d.ts +0 -5
- package/dist/parsers.d.ts.map +0 -1
- package/dist/parsers.js +0 -2
- package/dist/parsers.js.map +0 -1
- package/dist/plugins.d.ts.map +0 -1
- package/dist/plugins.js +0 -2
- package/dist/plugins.js.map +0 -1
- package/dist/ruleset/Ruleset.d.ts.map +0 -1
- package/dist/ruleset/Ruleset.js.map +0 -1
- package/dist/ruleset/rule/Rule.d.ts.map +0 -1
- package/dist/ruleset/rule/Rule.js.map +0 -1
- package/dist/scopes.d.ts.map +0 -1
- package/dist/scopes.js.map +0 -1
- package/src/options.ts +0 -18
- package/src/parsers.ts +0 -11
- /package/src/{interface → config}/files/IFiles.d.ts +0 -0
- /package/src/{interface → config}/option/IOption.d.ts +0 -0
- /package/src/{interface → config}/option/language/IOLanguage.d.ts +0 -0
- /package/src/{interface → config}/option/language/ecma/IOLanguageEcma.d.ts +0 -0
- /package/src/{interface → config}/option/language/globals/IOLanguageGlobals.d.ts +0 -0
- /package/src/{interface → config}/option/language/parser/IOLanguageParser.d.ts +0 -0
- /package/src/{interface → config}/option/language/parserOptions/IOLanguageParserOptions.d.ts +0 -0
- /package/src/{interface → config}/option/language/source/IOLanguageSource.d.ts +0 -0
- /package/src/{interface → config}/option/linter/IOLinter.d.ts +0 -0
- /package/src/{interface → config}/option/name/IOName.d.ts +0 -0
- /package/src/{interface → config}/option/plugins/IOPlugins.d.ts +0 -0
- /package/src/{interface → config}/option/processor/IOProcessor.d.ts +0 -0
- /package/src/{interface → config}/rules/IRules.d.ts +0 -0
- /package/src/{interface → config}/rules/rule/IRule.d.ts +0 -0
- /package/src/{interface → config}/rules/rule/state/RuleSeverity.d.ts +0 -0
- /package/src/{options/option/Option.ts → factory/options/option/index.ts} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
export default interface
|
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=
|
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 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":""}
|
@@ -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 @@
|
|
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 "
|
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=
|
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 "
|
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=
|
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=
|
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"}
|
@@ -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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
2
|
-
import type TsOption from "
|
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=
|
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 "
|
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=
|
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 "
|
2
|
-
import type JsOption from "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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 "
|
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=
|
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
|
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=
|
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
|
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=
|
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"}
|
@@ -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"}
|
@@ -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
|
2
|
-
import type { Scope } from "./
|
3
|
-
import type
|
4
|
-
|
5
|
-
|
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>):
|
8
|
+
}, overrides: Particord<Scope, IRule>): Config[];
|
13
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
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 "./
|
2
|
-
import options from "./
|
3
|
-
export {
|
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 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,GACL,MAAM,WAAW,CAAC;AAQnB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEzB,MAAM,CAAC,OAAO,WACZ,OAAgB,EAChB,OAAgB,EAChB,QAAiC,EACjC,QAAoC,EACpC,QAAsC,EACtC,SAAkC;IAElC,IAAI,CAAC;QACH,KAAK,MAAM,KAAK,IAAI,MAAM;YACxB,QAAQ,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QAE7C,MAAM,mBAAmB,GAIrB;YACF,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,OAAO,CAAC,EAAE,EACV,GAAG,QAAQ,CAAC,EAAE,EACd,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,CACrB;iBACA,IAAI;YACP,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,OAAO,CAAC,EAAE,EACV,OAAO,CAAC,EAAE,EACV,GAAG,QAAQ,CAAC,EAAE,EACd,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,CACrB;iBACA,IAAI;YACP,MAAM,EAAE,IAAI,OAAO;iBAChB,MAAM,CACL,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,EAAE,EACV,GAAG,QAAQ,CAAC,MAAM,EAClB,GAAG,QAAQ,CAAC,MAAM,IAAI,EAAE,CACzB;iBACA,IAAI;YACP,IAAI,EAAE,IAAI,OAAO;iBACd,IAAI,CACH,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,IAAI,EACZ,GAAG,QAAQ,CAAC,IAAI,EAChB,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CACvB;iBACA,IAAI;YACP,IAAI,EAAE,IAAI,OAAO;iBACd,IAAI,CACH,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,IAAI,EACZ,GAAG,QAAQ,CAAC,IAAI,EAChB,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CACvB;iBACA,IAAI;YACP,KAAK,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 @@
|
|
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 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/module/boundary/index.ts"],"names":[],"mappings":""}
|
@@ -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 @@
|
|
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 "
|
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=
|
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 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/module/boundary/plugins/index.ts"],"names":[],"mappings":""}
|
@@ -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 @@
|
|
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
|
-
|
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"}
|