@eslinted/core 0.5.1 → 0.7.0-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/boundary/boundary.d.ts +6 -0
- package/dist/boundary/boundary.d.ts.map +1 -0
- package/dist/boundary/boundary.js +3 -0
- package/dist/boundary/boundary.js.map +1 -0
- package/dist/boundary/input/input.d.ts +4 -0
- package/dist/boundary/input/input.d.ts.map +1 -0
- package/dist/boundary/input/input.js +2 -0
- package/dist/boundary/input/input.js.map +1 -0
- package/dist/boundary/input/parsers/index.d.ts +5 -0
- package/dist/boundary/input/parsers/index.d.ts.map +1 -0
- package/dist/boundary/input/parsers/index.js +2 -0
- package/dist/boundary/input/parsers/index.js.map +1 -0
- package/dist/boundary/input/plugins/index.d.ts +32 -0
- package/dist/boundary/input/plugins/index.d.ts.map +1 -0
- package/dist/boundary/input/plugins/index.js +2 -0
- package/dist/boundary/input/plugins/index.js.map +1 -0
- package/dist/boundary/output/config/index.d.ts +19 -0
- package/dist/boundary/output/config/index.d.ts.map +1 -0
- package/dist/boundary/output/config/index.js +2 -0
- package/dist/boundary/output/config/index.js.map +1 -0
- package/dist/boundary/output/output.d.ts +3 -0
- package/dist/boundary/output/output.d.ts.map +1 -0
- package/dist/boundary/output/output.js +2 -0
- package/dist/boundary/output/output.js.map +1 -0
- package/dist/boundary/scopes/scopes.d.ts +4 -0
- package/dist/boundary/scopes/scopes.d.ts.map +1 -0
- package/dist/boundary/scopes/scopes.js +11 -0
- package/dist/boundary/scopes/scopes.js.map +1 -0
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/factory/Factory.d.ts +6 -0
- package/dist/factory/Factory.d.ts.map +1 -0
- package/dist/factory/Factory.js +5 -0
- package/dist/factory/Factory.js.map +1 -0
- package/dist/factory/files/Files.d.ts +8 -0
- package/dist/factory/files/Files.d.ts.map +1 -0
- package/dist/factory/files/Files.js +15 -0
- package/dist/factory/files/Files.js.map +1 -0
- package/dist/factory/files/index.d.ts +9 -0
- package/dist/factory/files/index.d.ts.map +1 -0
- package/dist/factory/files/index.js +11 -0
- package/dist/factory/files/index.js.map +1 -0
- package/dist/factory/index.d.ts +2 -1
- package/dist/factory/index.d.ts.map +1 -1
- package/dist/factory/index.js +2 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/factory/options/Options.d.ts +20 -0
- package/dist/factory/options/Options.d.ts.map +1 -0
- package/dist/factory/options/Options.js +17 -0
- package/dist/factory/options/Options.js.map +1 -0
- package/dist/factory/options/option/Option.d.ts +6 -0
- package/dist/factory/options/option/Option.d.ts.map +1 -0
- package/dist/factory/options/option/Option.js +7 -0
- package/dist/factory/options/option/Option.js.map +1 -0
- package/dist/factory/options/option/html/index.d.ts +2 -2
- package/dist/factory/options/option/html/index.d.ts.map +1 -1
- package/dist/factory/options/option/html/index.js +2 -2
- package/dist/factory/options/option/html/index.js.map +1 -1
- package/dist/factory/options/option/js/index.d.ts +2 -2
- package/dist/factory/options/option/js/index.d.ts.map +1 -1
- package/dist/factory/options/option/js/index.js +2 -2
- package/dist/factory/options/option/js/index.js.map +1 -1
- package/dist/factory/options/option/json/index.d.ts +2 -2
- package/dist/factory/options/option/json/index.d.ts.map +1 -1
- package/dist/factory/options/option/json/index.js +2 -2
- package/dist/factory/options/option/json/index.js.map +1 -1
- package/dist/factory/options/option/jsonc/index.d.ts +2 -2
- package/dist/factory/options/option/jsonc/index.d.ts.map +1 -1
- package/dist/factory/options/option/jsonc/index.js +2 -2
- package/dist/factory/options/option/jsonc/index.js.map +1 -1
- package/dist/factory/options/option/svelte/index.d.ts +2 -2
- package/dist/factory/options/option/svelte/index.d.ts.map +1 -1
- package/dist/factory/options/option/svelte/index.js +2 -2
- package/dist/factory/options/option/svelte/index.js.map +1 -1
- package/dist/factory/options/option/ts/index.d.ts +2 -2
- package/dist/factory/options/option/ts/index.d.ts.map +1 -1
- package/dist/factory/options/option/ts/index.js +2 -2
- package/dist/factory/options/option/ts/index.js.map +1 -1
- package/dist/factory/options/option/yml/index.d.ts +2 -2
- package/dist/factory/options/option/yml/index.d.ts.map +1 -1
- package/dist/factory/options/option/yml/index.js +2 -2
- package/dist/factory/options/option/yml/index.js.map +1 -1
- package/dist/factory/ruleset/Ruleset.d.ts +12 -0
- package/dist/factory/ruleset/Ruleset.d.ts.map +1 -0
- package/dist/factory/ruleset/Ruleset.js +27 -0
- package/dist/factory/ruleset/Ruleset.js.map +1 -0
- package/dist/factory/ruleset/rule/Rule.d.ts +6 -0
- package/dist/factory/ruleset/rule/Rule.d.ts.map +1 -0
- package/dist/factory/ruleset/rule/Rule.js +9 -0
- package/dist/factory/ruleset/rule/Rule.js.map +1 -0
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -20
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
- package/src/boundary/boundary.ts +11 -0
- package/src/{module/boundary/index.ts → boundary/input/input.ts} +1 -1
- package/src/{module/boundary → boundary/input}/parsers/index.ts +1 -1
- package/src/{module/boundary → boundary/input}/plugins/index.ts +1 -1
- package/src/{config → boundary/output/config}/index.ts +1 -1
- package/src/boundary/output/config/interface/files/IFiles.d.ts +1 -0
- package/src/boundary/output/output.ts +3 -0
- package/src/factory/Factory.ts +12 -0
- package/src/factory/files/Files.ts +15 -0
- package/src/factory/options/{index.ts → Options.ts} +1 -1
- package/src/factory/options/option/{index.ts → Option.ts} +1 -1
- package/src/factory/options/option/html/index.ts +2 -2
- package/src/factory/options/option/js/index.ts +2 -2
- package/src/factory/options/option/json/index.ts +2 -2
- package/src/factory/options/option/jsonc/index.ts +2 -2
- package/src/factory/options/option/svelte/index.ts +2 -2
- package/src/factory/options/option/ts/index.ts +2 -2
- package/src/factory/options/option/yml/index.ts +2 -2
- package/src/factory/ruleset/{index.ts → Ruleset.ts} +1 -1
- package/src/index.ts +34 -35
- package/src/config/files/IFiles.d.ts +0 -1
- package/src/factory/index.ts +0 -10
- package/src/module/index.ts +0 -9
- /package/src/{config → boundary/output/config/interface}/option/IOption.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/IOLanguage.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/ecma/IOLanguageEcma.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/globals/IOLanguageGlobals.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/parser/IOLanguageParser.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/parserOptions/IOLanguageParserOptions.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/language/source/IOLanguageSource.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/linter/IOLinter.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/name/IOName.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/plugins/IOPlugins.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/option/processor/IOProcessor.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/rules/IRules.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/rules/rule/IRule.d.ts +0 -0
- /package/src/{config → boundary/output/config/interface}/rules/rule/state/RuleSeverity.d.ts +0 -0
- /package/src/{module/scopes/index.ts → boundary/scopes/scopes.ts} +0 -0
- /package/src/factory/ruleset/rule/{index.ts → Rule.ts} +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
import scopes, { type Scope } from "./scopes/scopes.js";
|
2
|
+
import type { Plugins, Parsers } from "./input/input.js";
|
3
|
+
import type Config from "./output/output.js";
|
4
|
+
export default scopes;
|
5
|
+
export type { Scope, Plugins, Parsers, Config, };
|
6
|
+
//# sourceMappingURL=boundary.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,eAAe,MAAM,CAAC;AACtB,YAAY,EACV,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,GACP,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"boundary.js","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAc,MAAM,oBAAoB,CAAC;AAIxD,eAAe,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG,KAAK,GAAG,CACxB,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,CACR,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import type { Scope } from "../input.js";
|
2
|
+
type PluginImport = {
|
3
|
+
configs: unknown;
|
4
|
+
};
|
5
|
+
export default interface Plugins extends Record<Scope, Record<string, PluginImport>> {
|
6
|
+
js: {
|
7
|
+
"@stylistic": PluginImport;
|
8
|
+
};
|
9
|
+
ts: {
|
10
|
+
"@stylistic": PluginImport;
|
11
|
+
"@typescript-eslint": PluginImport;
|
12
|
+
};
|
13
|
+
svelte: {
|
14
|
+
"@stylistic": PluginImport;
|
15
|
+
"@typescript-eslint": PluginImport;
|
16
|
+
svelte: PluginImport;
|
17
|
+
};
|
18
|
+
html: {
|
19
|
+
"@html-eslint": PluginImport;
|
20
|
+
};
|
21
|
+
json: {
|
22
|
+
jsonc: PluginImport;
|
23
|
+
};
|
24
|
+
jsonc: {
|
25
|
+
jsonc: PluginImport;
|
26
|
+
};
|
27
|
+
yml: {
|
28
|
+
yml: PluginImport;
|
29
|
+
};
|
30
|
+
}
|
31
|
+
export {};
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzC,MAAM,CAAC,OAAO,WAAW,OAAQ,SAAQ,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAClF,EAAE,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAC;IACnC,EAAE,EAAE;QACF,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;QACnC,MAAM,EAAE,YAAY,CAAC;KACtB,CAAC;IACF,IAAI,EAAE;QAAE,cAAc,EAAE,YAAY,CAAA;KAAE,CAAC;IACvC,IAAI,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC9B,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC/B,GAAG,EAAE;QAAE,GAAG,EAAE,YAAY,CAAA;KAAE,CAAC;CAC5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export default interface Config {
|
2
|
+
rules: IRule;
|
3
|
+
files: readonly string[];
|
4
|
+
name: `linted/scope:${string}`;
|
5
|
+
linterOptions: {
|
6
|
+
noInlineConfig: true;
|
7
|
+
reportUnusedDisableDirectives: "error";
|
8
|
+
};
|
9
|
+
languageOptions: {
|
10
|
+
sourceType?: "module" | "script";
|
11
|
+
ecmaVersion?: "latest";
|
12
|
+
globals?: Record<string, true>;
|
13
|
+
parser?: unknown;
|
14
|
+
parserOptions?: Record<string, unknown>;
|
15
|
+
};
|
16
|
+
plugins: Record<string, Record<"configs", unknown>>;
|
17
|
+
processor?: string;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,gBAAgB,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,YAAY,EAAE,MAAM,IAAI,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,iEAQF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC;AAEX,eAAe,MAAM,CAAC"}
|
package/dist/config/index.d.ts
CHANGED
@@ -1 +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;
|
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,SAAS,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,gBAAgB,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import Options from "./options/Options.js";
|
2
|
+
import Files from "./files/Files.js";
|
3
|
+
import Ruleset, { Rule } from "./ruleset/Ruleset.js";
|
4
|
+
import type { Scope } from "../index.js";
|
5
|
+
export { Options, Files, Ruleset, Rule, type Scope, };
|
6
|
+
//# sourceMappingURL=Factory.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Factory.d.ts","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,EACJ,KAAK,KAAK,GACX,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Factory.js","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GAEL,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Scope } from "../Factory.js";
|
2
|
+
export default class Files {
|
3
|
+
private readonly base;
|
4
|
+
private readonly includes;
|
5
|
+
constructor(base: Record<Scope, string[]>, includes: Particord<Scope, string[]>);
|
6
|
+
files(scope: Scope): readonly string[];
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=Files.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Files.d.ts","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,KAAK;IAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhD,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAM9C"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export default class Files {
|
2
|
+
base;
|
3
|
+
includes;
|
4
|
+
constructor(base, includes) {
|
5
|
+
this.base = base;
|
6
|
+
this.includes = includes;
|
7
|
+
}
|
8
|
+
files(scope) {
|
9
|
+
return [
|
10
|
+
...this.base[scope],
|
11
|
+
...this.includes[scope] ?? [],
|
12
|
+
];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=Files.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Files.js","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,KAAK;IAEL;IACA;IAFnB,YACmB,IAA6B,EAC7B,QAAoC;QADpC,SAAI,GAAJ,IAAI,CAAyB;QAC7B,aAAQ,GAAR,QAAQ,CAA4B;IACpD,CAAC;IAEG,KAAK,CAAC,KAAY;QACvB,OAAO;YACL,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;YACnB,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;SAC9B,CAAC;IACJ,CAAC;CACF"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Scope } from "../index.js";
|
2
|
+
export default class Files<S extends Scope> {
|
3
|
+
readonly files: readonly string[];
|
4
|
+
constructor(scope: S, filescopes: {
|
5
|
+
base: Record<Scope, string[]>;
|
6
|
+
includes: Particord<Scope, string[]>;
|
7
|
+
});
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,KAAK;IACxC,SAAgB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;gBAGvC,KAAK,EAAE,CAAC,EACR,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;QAC9B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;KACtC;CASJ"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/files/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,KAAK;IACR,KAAK,CAAoB;IAEzC,YACE,KAAQ,EACR,UAGC;QAED,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;QAEtC,IAAI,CAAC,KAAK,GAAG;YACX,GAAG,IAAI,CAAC,KAAK,CAAC;YACd,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;SACzB,CAAC;IACJ,CAAC;CACF"}
|
package/dist/factory/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import options from "./options/index.js";
|
2
|
+
import Files from "./files/index.js";
|
2
3
|
import Ruleset, { Rule } from "./ruleset/index.js";
|
3
4
|
import type { Scope } from "../index.js";
|
4
|
-
export { options, Ruleset, Rule, type Scope, };
|
5
|
+
export { options, Files, Ruleset, Rule, type Scope, };
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,KAAK,GACX,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,EACJ,KAAK,KAAK,GACX,CAAC"}
|
package/dist/factory/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,GAEL,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GAEL,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { Scope } from "../Factory.js";
|
2
|
+
import JsOption from "./option/js/index.js";
|
3
|
+
import TsOption from "./option/ts/index.js";
|
4
|
+
import SvelteOption from "./option/svelte/index.js";
|
5
|
+
import HtmlOption from "./option/html/index.js";
|
6
|
+
import JsonOption from "./option/json/index.js";
|
7
|
+
import JsoncOption from "./option/jsonc/index.js";
|
8
|
+
import YmlOption from "./option/yml/index.js";
|
9
|
+
export type { Scope };
|
10
|
+
declare const _default: {
|
11
|
+
js: typeof JsOption;
|
12
|
+
ts: typeof TsOption;
|
13
|
+
svelte: typeof SvelteOption;
|
14
|
+
html: typeof HtmlOption;
|
15
|
+
json: typeof JsonOption;
|
16
|
+
jsonc: typeof JsoncOption;
|
17
|
+
yml: typeof YmlOption;
|
18
|
+
};
|
19
|
+
export default _default;
|
20
|
+
//# sourceMappingURL=Options.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,YAAY,EAAE,KAAK,EAAE,CAAC;;;;;;;;;;AACtB,wBAQmC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import JsOption from "./option/js/index.js";
|
2
|
+
import TsOption from "./option/ts/index.js";
|
3
|
+
import SvelteOption from "./option/svelte/index.js";
|
4
|
+
import HtmlOption from "./option/html/index.js";
|
5
|
+
import JsonOption from "./option/json/index.js";
|
6
|
+
import JsoncOption from "./option/jsonc/index.js";
|
7
|
+
import YmlOption from "./option/yml/index.js";
|
8
|
+
export default {
|
9
|
+
js: JsOption,
|
10
|
+
ts: TsOption,
|
11
|
+
svelte: SvelteOption,
|
12
|
+
html: HtmlOption,
|
13
|
+
json: JsonOption,
|
14
|
+
jsonc: JsoncOption,
|
15
|
+
yml: YmlOption,
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=Options.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAG9C,eAAe;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,WAAW;IAClB,GAAG,EAAE,SAAS;CACkB,CAAC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Scope } from "../Options.js";
|
2
|
+
export default class Option<S extends Scope, PluginId extends string, UseParser extends boolean = never, ParserOptions extends object = never, GlobalTypes extends string = never, ProcessorId extends string = never, Source extends IOLanguageSource.Source = "module", Ecma extends number | IOLanguageEcma.Ecma = "latest"> {
|
3
|
+
readonly body: IOption<`linted/scope:${literalful<S>}`, true, "error", PluginId, Ecma, Source, UseParser, ParserOptions, GlobalTypes, ProcessorId>;
|
4
|
+
constructor(body: IOption<`linted/scope:${literalful<S>}`, true, "error", PluginId, Ecma, Source, UseParser, ParserOptions, GlobalTypes, ProcessorId>);
|
5
|
+
}
|
6
|
+
//# sourceMappingURL=Option.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,MAAM,CACzB,CAAC,SAAS,KAAK,EACf,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,CAAC,CAAC,EAAE,EAC/B,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,CAAC,CAAC,EAAE,EAC/B,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":"Option.js","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAEA,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 "../Option.js";
|
2
2
|
export default class HtmlOption extends Option<"html", "@html-eslint", true, never, never, never, never, never> {
|
3
|
-
constructor(plugins: HtmlOption["body"]["plugins"], parser: HtmlOption["body"]["languageOptions"]["parser"],
|
3
|
+
constructor(plugins: HtmlOption["body"]["plugins"], parser: HtmlOption["body"]["languageOptions"]["parser"], files: readonly string[]);
|
4
4
|
}
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,cAAc,EACd,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACtC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACvD,KAAK,EAAE,SAAS,MAAM,EAAE;CAe3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE,EAAE,MAAM,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsOption extends Option<"js", "@stylistic"> {
|
3
|
-
constructor(plugins: JsOption["body"]["plugins"],
|
3
|
+
constructor(plugins: JsOption["body"]["plugins"], files: readonly string[]);
|
4
4
|
}
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC;gBAE5D,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACpC,KAAK,EAAE,SAAS,MAAM,EAAE;CAkB3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAA0B;IAC9D,YACE,OAAoC,EACpC,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE;gBACf,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACF,CACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsonOption extends Option<"json", "jsonc", true, never, never, never, never, never> {
|
3
|
-
constructor(plugins: JsonOption["body"]["plugins"], parser: JsonOption["body"]["languageOptions"]["parser"],
|
3
|
+
constructor(plugins: JsonOption["body"]["plugins"], parser: JsonOption["body"]["languageOptions"]["parser"], files: readonly string[]);
|
4
4
|
}
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACN;gBAEG,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACtC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EACvD,KAAK,EAAE,SAAS,MAAM,EAAE;CAe3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MASvC;IACC,YACE,OAAsC,EACtC,MAAuD,EACvD,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE,EAAE,MAAM,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsoncOption extends Option<"jsonc", "jsonc", true, never, never, never, never, never> {
|
3
|
-
constructor(plugins: JsoncOption["body"]["plugins"], parser: JsoncOption["body"]["languageOptions"]["parser"],
|
3
|
+
constructor(plugins: JsoncOption["body"]["plugins"], parser: JsoncOption["body"]["languageOptions"]["parser"], files: readonly string[]);
|
4
4
|
}
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,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,KAAK,EAAE,SAAS,MAAM,EAAE;CAe3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,MASxC;IACC,YACE,OAAuC,EACvC,MAAwD,EACxD,KAAwB;QAExB,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,10 +1,10 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
import type TsOption from "../ts/index.js";
|
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
|
} & {
|
6
6
|
extraFileExtensions: [".svelte"];
|
7
7
|
}, never, "svelte/svelte"> {
|
8
|
-
constructor(plugins: SvelteOption["body"]["plugins"], svelteParser: SvelteOption["body"]["languageOptions"]["parser"], tsParser: SvelteOption["body"]["languageOptions"]["parserOptions"]["parser"],
|
8
|
+
constructor(plugins: SvelteOption["body"]["plugins"], svelteParser: SvelteOption["body"]["languageOptions"]["parser"], tsParser: SvelteOption["body"]["languageOptions"]["parserOptions"]["parser"], files: readonly string[]);
|
9
9
|
}
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,MAAM,CAC9C,QAAQ,EACR,QAAQ,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EAC5C,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,KAAK,EAAE,SAAS,MAAM,EAAE;CA2B3B"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class SvelteOption extends Option {
|
3
|
-
constructor(plugins, svelteParser, tsParser,
|
3
|
+
constructor(plugins, svelteParser, tsParser, files) {
|
4
4
|
super({
|
5
5
|
name: "linted/scope:svelte",
|
6
6
|
processor: "svelte/svelte",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAGlC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,MASzC;IACC,YACE,OAAwC,EACxC,YAA+D,EAC/D,QAA4E,EAC5E,KAAwB;QAExB,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 "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
import type JsOption from "../js/index.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
|
-
constructor(plugins: TsOption["body"]["plugins"], parser: unknown,
|
6
|
+
constructor(plugins: TsOption["body"]["plugins"], parser: unknown, files: readonly string[]);
|
7
7
|
}
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAC1C,IAAI,EACJ,oBAAoB,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EACxD,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,KAAK,EAAE,SAAS,MAAM,EAAE;CAwB3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAGlC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAMrC;IACC,YACE,OAAoC,EACpC,MAAe,EACf,KAAwB;QAExB,KAAK,CACH;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK;YACL,OAAO;YACP,aAAa,EAAE;gBACb,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,OAAO;aACvC;YACD,eAAe,EAAE;gBACf,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;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"}
|