@eslinted/core 13.0.0-rc.0 → 13.0.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/{objects → config}/index.js.map +1 -1
- package/dist/config/rule.d.ts +7 -0
- package/dist/config/rule.d.ts.map +1 -0
- package/dist/config/rule.js +2 -0
- package/dist/config/rule.js.map +1 -0
- package/dist/factory/global.d.ts +12 -9
- package/dist/factory/global.d.ts.map +1 -1
- package/dist/factory/global.js +20 -18
- package/dist/factory/global.js.map +1 -1
- package/dist/factory/index.d.ts +2 -16
- package/dist/factory/index.d.ts.map +1 -1
- package/dist/factory/index.js +2 -21
- package/dist/factory/index.js.map +1 -1
- package/dist/factory/options/index.d.ts +10 -9
- package/dist/factory/options/index.d.ts.map +1 -1
- package/dist/factory/options/index.js +8 -8
- package/dist/factory/options/index.js.map +1 -1
- package/dist/factory/options/option.d.ts +3002 -0
- package/dist/factory/options/option.d.ts.map +1 -0
- package/dist/factory/options/{option/index.js → option.js} +5 -3
- package/dist/factory/options/option.js.map +1 -0
- package/dist/factory/options/proto.d.ts +19 -0
- package/dist/factory/options/proto.d.ts.map +1 -0
- package/dist/factory/options/proto.js +2 -0
- package/dist/factory/options/proto.js.map +1 -0
- package/dist/factory/options/{html.d.ts → scopes/html.d.ts} +1 -1
- package/dist/factory/options/scopes/html.d.ts.map +1 -0
- package/dist/factory/options/{html.js → scopes/html.js} +1 -1
- package/dist/factory/options/scopes/html.js.map +1 -0
- package/dist/factory/options/{js.d.ts → scopes/js.d.ts} +1 -1
- package/dist/factory/options/scopes/js.d.ts.map +1 -0
- package/dist/factory/options/{js.js → scopes/js.js} +1 -1
- package/dist/factory/options/scopes/js.js.map +1 -0
- package/dist/factory/options/{json.d.ts → scopes/json.d.ts} +1 -1
- package/dist/factory/options/scopes/json.d.ts.map +1 -0
- package/dist/factory/options/{json.js → scopes/json.js} +1 -1
- package/dist/factory/options/scopes/json.js.map +1 -0
- package/dist/factory/options/{jsonc.d.ts → scopes/jsonc.d.ts} +1 -1
- package/dist/factory/options/scopes/jsonc.d.ts.map +1 -0
- package/dist/factory/options/{jsonc.js → scopes/jsonc.js} +1 -1
- package/dist/factory/options/scopes/jsonc.js.map +1 -0
- package/dist/factory/options/{mocha.d.ts → scopes/mocha.d.ts} +1 -1
- package/dist/factory/options/scopes/mocha.d.ts.map +1 -0
- package/dist/factory/options/{mocha.js → scopes/mocha.js} +1 -1
- package/dist/factory/options/scopes/mocha.js.map +1 -0
- package/dist/factory/options/{svelte.d.ts → scopes/svelte.d.ts} +1 -1
- package/dist/factory/options/scopes/svelte.d.ts.map +1 -0
- package/dist/factory/options/{svelte.js → scopes/svelte.js} +1 -1
- package/dist/factory/options/scopes/svelte.js.map +1 -0
- package/dist/factory/options/{ts.d.ts → scopes/ts.d.ts} +1 -1
- package/dist/factory/options/scopes/ts.d.ts.map +1 -0
- package/dist/factory/options/{ts.js → scopes/ts.js} +1 -1
- package/dist/factory/options/scopes/ts.js.map +1 -0
- package/dist/factory/options/{yml.d.ts → scopes/yml.d.ts} +1 -1
- package/dist/factory/options/scopes/yml.d.ts.map +1 -0
- package/dist/factory/options/{yml.js → scopes/yml.js} +1 -1
- package/dist/factory/options/scopes/yml.js.map +1 -0
- package/dist/factory/ruleset.d.ts +10 -0
- package/dist/factory/ruleset.d.ts.map +1 -0
- package/dist/factory/ruleset.js +18 -0
- package/dist/factory/ruleset.js.map +1 -0
- package/dist/factory/scoped.d.ts +13 -0
- package/dist/factory/scoped.d.ts.map +1 -0
- package/dist/factory/scoped.js +17 -0
- package/dist/factory/scoped.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/interface/imports/index.d.ts +3 -0
- package/dist/interface/imports/index.d.ts.map +1 -0
- package/dist/{objects/config → interface/imports}/index.js.map +1 -1
- package/dist/interface/index.d.ts +3 -3
- package/dist/interface/index.d.ts.map +1 -1
- package/dist/interface/input.d.ts +18 -0
- package/dist/interface/input.d.ts.map +1 -0
- package/dist/interface/input.js +2 -0
- package/dist/interface/input.js.map +1 -0
- package/dist/interface/output.d.ts +17 -0
- package/dist/interface/output.d.ts.map +1 -0
- package/dist/interface/output.js +2 -0
- package/dist/interface/output.js.map +1 -0
- package/dist/{scopes/index.d.ts → scopes.d.ts} +2 -2
- package/dist/scopes.d.ts.map +1 -0
- package/dist/{scopes/index.js → scopes.js} +1 -1
- package/dist/scopes.js.map +1 -0
- package/dist/scopes.spec.d.ts +2 -0
- package/dist/scopes.spec.d.ts.map +1 -0
- package/dist/{scopes/index.spec.js → scopes.spec.js} +2 -2
- package/dist/scopes.spec.js.map +1 -0
- package/package.json +1 -1
- package/src/config/index.ts +42 -0
- package/src/config/rule.ts +14 -0
- package/src/factory/global.ts +20 -18
- package/src/factory/index.ts +2 -35
- package/src/factory/options/index.ts +10 -13
- package/src/factory/options/{option/index.ts → option.ts} +18 -17
- package/src/factory/options/proto.ts +46 -0
- package/src/factory/options/{html.ts → scopes/html.ts} +1 -1
- package/src/factory/options/{js.ts → scopes/js.ts} +1 -1
- package/src/factory/options/{json.ts → scopes/json.ts} +1 -1
- package/src/factory/options/{jsonc.ts → scopes/jsonc.ts} +1 -1
- package/src/factory/options/{mocha.ts → scopes/mocha.ts} +1 -1
- package/src/factory/options/{svelte.ts → scopes/svelte.ts} +1 -1
- package/src/factory/options/{ts.ts → scopes/ts.ts} +1 -1
- package/src/factory/options/{yml.ts → scopes/yml.ts} +1 -1
- package/src/factory/ruleset.ts +27 -0
- package/src/factory/scoped.ts +17 -0
- package/src/index.ts +19 -35
- package/src/interface/imports/index.ts +16 -0
- package/src/interface/index.ts +3 -11
- package/src/interface/input.ts +26 -0
- package/src/interface/output.ts +24 -0
- package/src/{scopes/index.spec.ts → scopes.spec.ts} +1 -1
- package/src/{scopes/index.ts → scopes.ts} +1 -1
- package/dist/factory/files.d.ts +0 -7
- package/dist/factory/files.d.ts.map +0 -1
- package/dist/factory/files.js +0 -17
- package/dist/factory/files.js.map +0 -1
- package/dist/factory/ignores.d.ts +0 -7
- package/dist/factory/ignores.d.ts.map +0 -1
- package/dist/factory/ignores.js +0 -17
- package/dist/factory/ignores.js.map +0 -1
- package/dist/factory/options/html.d.ts.map +0 -1
- package/dist/factory/options/html.js.map +0 -1
- package/dist/factory/options/js.d.ts.map +0 -1
- package/dist/factory/options/js.js.map +0 -1
- package/dist/factory/options/json.d.ts.map +0 -1
- package/dist/factory/options/json.js.map +0 -1
- package/dist/factory/options/jsonc.d.ts.map +0 -1
- package/dist/factory/options/jsonc.js.map +0 -1
- package/dist/factory/options/mocha.d.ts.map +0 -1
- package/dist/factory/options/mocha.js.map +0 -1
- package/dist/factory/options/option/index.d.ts +0 -51
- package/dist/factory/options/option/index.d.ts.map +0 -1
- package/dist/factory/options/option/index.js.map +0 -1
- package/dist/factory/options/option/template/globals.d.ts +0 -3
- package/dist/factory/options/option/template/globals.d.ts.map +0 -1
- package/dist/factory/options/option/template/globals.js +0 -2
- package/dist/factory/options/option/template/globals.js.map +0 -1
- package/dist/factory/options/option/template/index.d.ts +0 -15
- package/dist/factory/options/option/template/index.d.ts.map +0 -1
- package/dist/factory/options/option/template/index.js.map +0 -1
- package/dist/factory/options/option/template/languageOptions.d.ts +0 -10
- package/dist/factory/options/option/template/languageOptions.d.ts.map +0 -1
- package/dist/factory/options/option/template/languageOptions.js +0 -2
- package/dist/factory/options/option/template/languageOptions.js.map +0 -1
- package/dist/factory/options/svelte.d.ts.map +0 -1
- package/dist/factory/options/svelte.js.map +0 -1
- package/dist/factory/options/ts.d.ts.map +0 -1
- package/dist/factory/options/ts.js.map +0 -1
- package/dist/factory/options/yml.d.ts.map +0 -1
- package/dist/factory/options/yml.js.map +0 -1
- package/dist/factory/rules/index.d.ts +0 -9
- package/dist/factory/rules/index.d.ts.map +0 -1
- package/dist/factory/rules/index.js +0 -15
- package/dist/factory/rules/index.js.map +0 -1
- package/dist/factory/rules/ruleset.d.ts +0 -10
- package/dist/factory/rules/ruleset.d.ts.map +0 -1
- package/dist/factory/rules/ruleset.js +0 -20
- package/dist/factory/rules/ruleset.js.map +0 -1
- package/dist/interface/input/global/ignores/defaults.d.ts +0 -3
- package/dist/interface/input/global/ignores/defaults.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/defaults.js +0 -2
- package/dist/interface/input/global/ignores/defaults.js.map +0 -1
- package/dist/interface/input/global/ignores/extend.d.ts +0 -5
- package/dist/interface/input/global/ignores/extend.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/extend.js +0 -2
- package/dist/interface/input/global/ignores/extend.js.map +0 -1
- package/dist/interface/input/global/ignores/index.d.ts +0 -8
- package/dist/interface/input/global/ignores/index.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/index.js.map +0 -1
- package/dist/interface/input/global/index.d.ts +0 -6
- package/dist/interface/input/global/index.d.ts.map +0 -1
- package/dist/interface/input/global/index.js +0 -2
- package/dist/interface/input/global/index.js.map +0 -1
- package/dist/interface/input/imports/index.d.ts +0 -8
- package/dist/interface/input/imports/index.d.ts.map +0 -1
- package/dist/interface/input/imports/index.js +0 -2
- package/dist/interface/input/imports/index.js.map +0 -1
- package/dist/interface/input/imports/parsers/index.d.ts +0 -4
- package/dist/interface/input/imports/parsers/index.d.ts.map +0 -1
- package/dist/interface/input/imports/parsers/index.js +0 -2
- package/dist/interface/input/imports/parsers/index.js.map +0 -1
- package/dist/interface/input/imports/parsers/parser.d.ts +0 -3
- package/dist/interface/input/imports/parsers/parser.d.ts.map +0 -1
- package/dist/interface/input/imports/parsers/parser.js +0 -2
- package/dist/interface/input/imports/parsers/parser.js.map +0 -1
- package/dist/interface/input/imports/plugins.d.ts +0 -3
- package/dist/interface/input/imports/plugins.d.ts.map +0 -1
- package/dist/interface/input/imports/plugins.js +0 -2
- package/dist/interface/input/imports/plugins.js.map +0 -1
- package/dist/interface/input/index.d.ts +0 -7
- package/dist/interface/input/index.d.ts.map +0 -1
- package/dist/interface/input/index.js +0 -2
- package/dist/interface/input/index.js.map +0 -1
- package/dist/interface/input/scoped/files/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/files/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/defaults.js +0 -2
- package/dist/interface/input/scoped/files/defaults.js.map +0 -1
- package/dist/interface/input/scoped/files/includes.d.ts +0 -3
- package/dist/interface/input/scoped/files/includes.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/includes.js +0 -2
- package/dist/interface/input/scoped/files/includes.js.map +0 -1
- package/dist/interface/input/scoped/files/index.d.ts +0 -8
- package/dist/interface/input/scoped/files/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/index.js +0 -2
- package/dist/interface/input/scoped/files/index.js.map +0 -1
- package/dist/interface/input/scoped/ignores/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/ignores/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/defaults.js +0 -2
- package/dist/interface/input/scoped/ignores/defaults.js.map +0 -1
- package/dist/interface/input/scoped/ignores/extend.d.ts +0 -3
- package/dist/interface/input/scoped/ignores/extend.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/extend.js +0 -2
- package/dist/interface/input/scoped/ignores/extend.js.map +0 -1
- package/dist/interface/input/scoped/ignores/index.d.ts +0 -8
- package/dist/interface/input/scoped/ignores/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/index.js +0 -2
- package/dist/interface/input/scoped/ignores/index.js.map +0 -1
- package/dist/interface/input/scoped/index.d.ts +0 -10
- package/dist/interface/input/scoped/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/index.js +0 -2
- package/dist/interface/input/scoped/index.js.map +0 -1
- package/dist/interface/input/scoped/rules/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/rules/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/defaults.js +0 -2
- package/dist/interface/input/scoped/rules/defaults.js.map +0 -1
- package/dist/interface/input/scoped/rules/index.d.ts +0 -8
- package/dist/interface/input/scoped/rules/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/index.js +0 -2
- package/dist/interface/input/scoped/rules/index.js.map +0 -1
- package/dist/interface/input/scoped/rules/overrides.d.ts +0 -3
- package/dist/interface/input/scoped/rules/overrides.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/overrides.js +0 -2
- package/dist/interface/input/scoped/rules/overrides.js.map +0 -1
- package/dist/interface/input/settings/env.d.ts +0 -3
- package/dist/interface/input/settings/env.d.ts.map +0 -1
- package/dist/interface/input/settings/env.js +0 -2
- package/dist/interface/input/settings/env.js.map +0 -1
- package/dist/interface/input/settings/index.d.ts +0 -6
- package/dist/interface/input/settings/index.d.ts.map +0 -1
- package/dist/interface/input/settings/index.js +0 -2
- package/dist/interface/input/settings/index.js.map +0 -1
- package/dist/interface/output/global.d.ts +0 -6
- package/dist/interface/output/global.d.ts.map +0 -1
- package/dist/interface/output/global.js +0 -2
- package/dist/interface/output/global.js.map +0 -1
- package/dist/interface/output/index.d.ts +0 -8
- package/dist/interface/output/index.d.ts.map +0 -1
- package/dist/interface/output/index.js +0 -2
- package/dist/interface/output/index.js.map +0 -1
- package/dist/objects/config/global/ignores.d.ts +0 -6
- package/dist/objects/config/global/ignores.d.ts.map +0 -1
- package/dist/objects/config/global/ignores.js +0 -2
- package/dist/objects/config/global/ignores.js.map +0 -1
- package/dist/objects/config/global/system.d.ts +0 -14
- package/dist/objects/config/global/system.d.ts.map +0 -1
- package/dist/objects/config/global/system.js +0 -2
- package/dist/objects/config/global/system.js.map +0 -1
- package/dist/objects/config/index.d.ts +0 -6
- package/dist/objects/config/index.d.ts.map +0 -1
- package/dist/objects/config/index.js +0 -2
- package/dist/objects/config/property.d.ts +0 -2
- package/dist/objects/config/property.d.ts.map +0 -1
- package/dist/objects/config/property.js +0 -2
- package/dist/objects/config/property.js.map +0 -1
- package/dist/objects/config/scoped.d.ts +0 -11
- package/dist/objects/config/scoped.d.ts.map +0 -1
- package/dist/objects/config/scoped.js +0 -2
- package/dist/objects/config/scoped.js.map +0 -1
- package/dist/objects/index.d.ts +0 -4
- package/dist/objects/index.d.ts.map +0 -1
- package/dist/objects/index.js +0 -2
- package/dist/objects/plugins/index.d.ts +0 -5
- package/dist/objects/plugins/index.d.ts.map +0 -1
- package/dist/objects/plugins/index.js +0 -2
- package/dist/objects/plugins/index.js.map +0 -1
- package/dist/objects/plugins/plugin.d.ts +0 -2
- package/dist/objects/plugins/plugin.d.ts.map +0 -1
- package/dist/objects/plugins/plugin.js +0 -2
- package/dist/objects/plugins/plugin.js.map +0 -1
- package/dist/objects/rule/index.d.ts +0 -8
- package/dist/objects/rule/index.d.ts.map +0 -1
- package/dist/objects/rule/index.js +0 -2
- package/dist/objects/rule/index.js.map +0 -1
- package/dist/objects/rule/record/index.d.ts +0 -7
- package/dist/objects/rule/record/index.d.ts.map +0 -1
- package/dist/objects/rule/record/index.js +0 -2
- package/dist/objects/rule/record/index.js.map +0 -1
- package/dist/objects/rule/record/state.d.ts +0 -2
- package/dist/objects/rule/record/state.d.ts.map +0 -1
- package/dist/objects/rule/record/state.js +0 -2
- package/dist/objects/rule/record/state.js.map +0 -1
- package/dist/scopes/index.d.ts.map +0 -1
- package/dist/scopes/index.js.map +0 -1
- package/dist/scopes/index.spec.d.ts +0 -2
- package/dist/scopes/index.spec.d.ts.map +0 -1
- package/dist/scopes/index.spec.js.map +0 -1
- package/src/factory/files.ts +0 -26
- package/src/factory/ignores.ts +0 -26
- package/src/factory/options/option/template/globals.ts +0 -5
- package/src/factory/options/option/template/index.ts +0 -35
- package/src/factory/options/option/template/languageOptions.ts +0 -21
- package/src/factory/rules/index.ts +0 -26
- package/src/factory/rules/ruleset.ts +0 -28
- package/src/interface/input/global/ignores/defaults.ts +0 -6
- package/src/interface/input/global/ignores/extend.ts +0 -5
- package/src/interface/input/global/ignores/index.ts +0 -9
- package/src/interface/input/global/index.ts +0 -7
- package/src/interface/input/imports/index.ts +0 -12
- package/src/interface/input/imports/parsers/index.ts +0 -8
- package/src/interface/input/imports/parsers/parser.ts +0 -10
- package/src/interface/input/imports/plugins.ts +0 -3
- package/src/interface/input/index.ts +0 -20
- package/src/interface/input/scoped/files/defaults.ts +0 -6
- package/src/interface/input/scoped/files/includes.ts +0 -5
- package/src/interface/input/scoped/files/index.ts +0 -9
- package/src/interface/input/scoped/ignores/defaults.ts +0 -6
- package/src/interface/input/scoped/ignores/extend.ts +0 -5
- package/src/interface/input/scoped/ignores/index.ts +0 -9
- package/src/interface/input/scoped/index.ts +0 -15
- package/src/interface/input/scoped/rules/defaults.ts +0 -9
- package/src/interface/input/scoped/rules/index.ts +0 -13
- package/src/interface/input/scoped/rules/overrides.ts +0 -9
- package/src/interface/input/settings/env.ts +0 -6
- package/src/interface/input/settings/index.ts +0 -7
- package/src/interface/output/global.ts +0 -9
- package/src/interface/output/index.ts +0 -12
- package/src/objects/config/global/ignores.ts +0 -13
- package/src/objects/config/global/system.ts +0 -47
- package/src/objects/config/index.ts +0 -8
- package/src/objects/config/property.ts +0 -12
- package/src/objects/config/scoped.ts +0 -11
- package/src/objects/index.ts +0 -11
- package/src/objects/plugins/index.ts +0 -6
- package/src/objects/plugins/plugin.ts +0 -9
- package/src/objects/rule/index.ts +0 -8
- package/src/objects/rule/record/index.ts +0 -8
- package/src/objects/rule/record/state.ts +0 -5
- /package/dist/{factory/options/option/template → config}/index.js +0 -0
- /package/dist/interface/{input/global/ignores → imports}/index.js +0 -0
@@ -1,51 +0,0 @@
|
|
1
|
-
import type { Scope, ScopedConfig } from "../index.js";
|
2
|
-
import type { LanguageOptions, Globals } from "./template/index.js";
|
3
|
-
import type { Ruleset } from "../../rules/ruleset.js";
|
4
|
-
export default abstract class Option<S extends Scope, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = ParserOptions extends false ? 0 : 1, Global extends Globals | false = false, Processor extends object = object, Language extends object = object> {
|
5
|
-
readonly parser: unknown[] & {
|
6
|
-
length: ParserCount;
|
7
|
-
};
|
8
|
-
readonly files: string[];
|
9
|
-
readonly ignores: string[];
|
10
|
-
readonly ruleset: Ruleset;
|
11
|
-
abstract readonly scope: S;
|
12
|
-
abstract readonly processor: (Processor extends never ? object : Processor extends {
|
13
|
-
processor: infer P;
|
14
|
-
} ? string extends P ? object : {
|
15
|
-
processor: P;
|
16
|
-
} : object);
|
17
|
-
abstract readonly language: (Language extends never ? object : Language extends {
|
18
|
-
language: infer L;
|
19
|
-
} ? string extends L ? object : {
|
20
|
-
language: L;
|
21
|
-
} : object);
|
22
|
-
constructor(parser: unknown[] & {
|
23
|
-
length: ParserCount;
|
24
|
-
}, files: string[], ignores: string[], ruleset: Ruleset);
|
25
|
-
get configs(): ScopedConfig[];
|
26
|
-
private get option();
|
27
|
-
protected abstract get languageOptions(): LanguageOptions<ParserOptions, Global>;
|
28
|
-
protected globals(type: Globals): {
|
29
|
-
readonly after: false;
|
30
|
-
readonly afterEach: false;
|
31
|
-
readonly before: false;
|
32
|
-
readonly beforeEach: false;
|
33
|
-
readonly context: false;
|
34
|
-
readonly describe: false;
|
35
|
-
readonly it: false;
|
36
|
-
readonly mocha: false;
|
37
|
-
readonly run: false;
|
38
|
-
readonly setup: false;
|
39
|
-
readonly specify: false;
|
40
|
-
readonly suite: false;
|
41
|
-
readonly suiteSetup: false;
|
42
|
-
readonly suiteTeardown: false;
|
43
|
-
readonly teardown: false;
|
44
|
-
readonly test: false;
|
45
|
-
readonly xcontext: false;
|
46
|
-
readonly xdescribe: false;
|
47
|
-
readonly xit: false;
|
48
|
-
readonly xspecify: false;
|
49
|
-
};
|
50
|
-
}
|
51
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,KAAK,EACL,YAAY,EACb,MAAM,IAAI,CAAC;AACZ,OAAO,KAAK,EAEV,eAAe,EACf,OAAO,EACR,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM,CAClC,CAAC,SAAS,KAAK,EACf,aAAa,SACX,MAAM,GACN,OAAO,GAAG,KAAK,EACjB,WAAW,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,aAAa,SAAS,KAAK,GAAG,CAAC,GAAG,CAAC,EACnE,MAAM,SAAS,OAAO,GAAG,KAAK,GAAG,KAAK,EACtC,SAAS,SAAS,MAAM,GAAG,MAAM,EACjC,QAAQ,SAAS,MAAM,GAAG,MAAM;aAkBd,MAAM,EAAE,OAAO,EAAE,GAAG;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE;aAC3C,KAAK,EAAE,MAAM,EAAE;aACf,OAAO,EAAE,MAAM,EAAE;aACjB,OAAO,EAAE,OAAO;IAnBlC,kBAAyB,KAAK,EAAE,CAAC,CAAC;IAClC,kBAAyB,SAAS,EAAE,CAAC,SAAS,SAAS,KAAK,GACxD,MAAM,GACN,SAAS,SAAS;QAAE,SAAS,EAAE,MAAM,CAAC,CAAA;KAAE,GACtC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;QAAE,SAAS,EAAE,CAAC,CAAA;KAAE,GAClB,MAAM,CAAC,CAAC;IACd,kBAAyB,QAAQ,EAAE,CAAC,QAAQ,SAAS,KAAK,GACtD,MAAM,GACN,QAAQ,SAAS;QAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;KAAE,GACpC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;QAAE,QAAQ,EAAE,CAAC,CAAA;KAAE,GACjB,MAAM,CAAC,CAAC;gBAEI,MAAM,EAAE,OAAO,EAAE,GAAG;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE,EAC3C,KAAK,EAAE,MAAM,EAAE,EACf,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,OAAO;IAGlC,IAAW,OAAO,IAAI,YAAY,EAAE,CAuBnC;IAED,OAAO,KAAK,MAAM,GAoBjB;IAED,SAAS,CAAC,QAAQ,KAAK,eAAe,IAAI,eAAe,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAEjF,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;CAGhC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAY9B,MAAM,CAAC,OAAO,OAAgB,MAAM;IA0BhB;IACA;IACA;IACA;IAJlB,YACkB,MAA2C,EAC3C,KAAe,EACf,OAAiB,EACjB,OAAgB;QAHhB,WAAM,GAAN,MAAM,CAAqC;QAC3C,UAAK,GAAL,KAAK,CAAU;QACf,YAAO,GAAP,OAAO,CAAU;QACjB,YAAO,GAAP,OAAO,CAAS;IAC/B,CAAC;IAEJ,IAAW,OAAO;QAChB,MAAM,EACJ,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,GACP,GAAG,IAAI,CAAC;QAET,IAAI,OAAO,CAAC,KAAK,KAAK,KAAK;YACzB,MAAM,IAAI,SAAS,CAAC,2CAA2C,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAEzH,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC;YACrB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;gBACtC,OAAO;oBACL,IAAI,EAAE,UAAU,EAAE,EAAE;oBACpB,KAAK;oBACL,OAAO;oBACP,KAAK;oBACL,GAAG,MAAM;iBACV,CAAC;YACJ,CAAC,CAAC,CAAC;IACP,CAAC;IAED,IAAY,MAAM;QAChB,IAAI,CAAC;YACH,MAAM,EACJ,eAAe,EACf,SAAS,EACT,QAAQ,GACT,GAAG,IAAI,CAAC;YAET,OAAO;gBACL,eAAe;gBACf,GAAG,SAAS;gBACZ,GAAG,QAAQ;aAMZ,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,+BAA+B,IAAI,CAAC,KAAK,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACnG,CAAC;IAIS,OAAO,CAAC,IAAa;QAC7B,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,OAAO,GAAG,CACzC,OAAO,CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"globals.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/globals.ts"],"names":[],"mappings":""}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import type { LanguageOptions } from "./languageOptions.js";
|
2
|
-
import type { Globals } from "./globals.js";
|
3
|
-
export type { LanguageOptions, Globals, };
|
4
|
-
export type OptionTemplate<ParserOptions extends boolean | object, GlobalTypes extends Globals | false, Processor extends object, Language extends object> = ({
|
5
|
-
languageOptions: LanguageOptions<ParserOptions, GlobalTypes>;
|
6
|
-
} & (Processor extends never ? object : Processor extends {
|
7
|
-
processor: infer P;
|
8
|
-
} ? string extends P ? object : {
|
9
|
-
processor: P;
|
10
|
-
} : object) & (Language extends never ? object : Language extends {
|
11
|
-
language: infer L;
|
12
|
-
} ? string extends L ? object : {
|
13
|
-
language: L;
|
14
|
-
} : object));
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,YAAY,EACV,eAAe,EACf,OAAO,GACR,CAAC;AACF,MAAM,MAAM,cAAc,CACxB,aAAa,SACX,OAAO,GACP,MAAM,EACR,WAAW,SAAS,OAAO,GAAG,KAAK,EACnC,SAAS,SAAS,MAAM,EACxB,QAAQ,SAAS,MAAM,IACrB,CACJ;IAAE,eAAe,EAAE,eAAe,CAAC,aAAa,EAAE,WAAW,CAAC,CAAA;CAAE,GAC9D,CACE,SAAS,SAAS,KAAK,GACnB,MAAM,GACN,SAAS,SAAS;IAAE,SAAS,EAAE,MAAM,CAAC,CAAA;CAAE,GACtC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAClB,MAAM,CACX,GACC,CACF,QAAQ,SAAS,KAAK,GAClB,MAAM,GACN,QAAQ,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GACpC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,QAAQ,EAAE,CAAC,CAAA;CAAE,GACjB,MAAM,CACX,CACJ,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/index.ts"],"names":[],"mappings":""}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Globals } from "./globals.js";
|
2
|
-
export type LanguageOptions<ParserOptions extends object | boolean, GlobalTypes extends Globals | false> = (GlobalTypes extends never ? object : GlobalTypes extends false ? object : {
|
3
|
-
globals: Record<string, unknown>;
|
4
|
-
}) & (ParserOptions extends never ? object : ParserOptions extends boolean ? ParserOptions extends true ? {
|
5
|
-
parser: unknown;
|
6
|
-
} : object : {
|
7
|
-
parser: unknown;
|
8
|
-
parserOptions: ParserOptions;
|
9
|
-
});
|
10
|
-
//# sourceMappingURL=languageOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"languageOptions.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/languageOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,eAAe,CACzB,aAAa,SAAS,MAAM,GAAG,OAAO,EACtC,WAAW,SAAS,OAAO,GAAG,KAAK,IAElC,CAAC,WAAW,SAAS,KAAK,GACxB,MAAM,GACN,WAAW,SAAS,KAAK,GACvB,MAAM,GACN;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAC1C,GACC,CACE,aAAa,SAAS,KAAK,GACvB,MAAM,GACN,aAAa,SAAS,OAAO,GAC3B,aAAa,SAAS,IAAI,GACxB;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB,MAAM,GACR;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,aAAa,CAAA;CAAE,CACzD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"languageOptions.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/languageOptions.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/factory/options/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACpD,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IACpE,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;;;MAazB;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/factory/options/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAG9B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MASnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IACpD,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAEvC,OAAO;YACL,MAAM;YACN,aAAa,EAAE;gBACb,MAAM,EAAE,QAAQ;gBAChB,mBAAmB,EAAE,CAAC,SAAS,CAAU;gBACzC,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;SACO,CAAC;IACb,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/factory/options/ts.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ;IACE,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,QAAQ,CAAC;IACrB,WAAW,EAAE,IAAI,CAAC;CACnB,EACD,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;MAWzB;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/factory/options/ts.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAQ/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO;YACL,MAAM;YACN,aAAa,EAAE;gBACb,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;SACO,CAAC;IACb,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/factory/options/yml.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAAM,CACrC,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,SAAS;IAC9B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/factory/options/yml.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAIhC;IACiB,KAAK,GAAG,KAAK,CAAC;IACd,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export type { RuleEntry, RuleRecord, } from "../index.js";
|
2
|
-
import type { Input } from "../index.js";
|
3
|
-
import { Ruleset } from "./ruleset.js";
|
4
|
-
export declare class Rules {
|
5
|
-
private readonly rulesets;
|
6
|
-
constructor(rules: Input["rules"]);
|
7
|
-
rules(scope: string): Ruleset;
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/rules/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,KAAK;IAChB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8B;gBAE3C,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;IAQ1B,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAMrC"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Ruleset } from "./ruleset.js";
|
2
|
-
export class Rules {
|
3
|
-
rulesets = new Map();
|
4
|
-
constructor(rules) {
|
5
|
-
const { rules: base, overrides } = rules, scopes = Object.keys(base);
|
6
|
-
for (const scope of scopes)
|
7
|
-
this.rulesets.set(scope, new Ruleset(scope, base[scope], overrides[scope]));
|
8
|
-
}
|
9
|
-
rules(scope) {
|
10
|
-
if (!this.rulesets.has(scope))
|
11
|
-
throw new ReferenceError(`Ruleset not found for scope: ${scope}`);
|
12
|
-
return this.rulesets.get(scope);
|
13
|
-
}
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/rules/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,OAAO,KAAK;IACC,QAAQ,GAAG,IAAI,GAAG,EAAmB,CAAC;IAEvD,YAAY,KAAqB;QAC/B,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EACxC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAA0B,CAAC;QAEpD,KAAK,MAAM,KAAK,IAAI,MAAM;YACxB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChF,CAAC;IAEM,KAAK,CAAC,KAAa;QACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC;YAC3B,MAAM,IAAI,cAAc,CAAC,gCAAgC,KAAK,EAAE,CAAC,CAAC;QAEpE,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAY,CAAC;IAC7C,CAAC;CACF"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { RuleEntry, RuleRecord } from "./index.js";
|
2
|
-
export declare class Ruleset {
|
3
|
-
readonly scope: string;
|
4
|
-
readonly ruleset: {
|
5
|
-
id: string;
|
6
|
-
rules: RuleRecord;
|
7
|
-
}[];
|
8
|
-
constructor(scope: string, rules: RuleEntry[], override?: RuleRecord);
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=ruleset.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ruleset.d.ts","sourceRoot":"","sources":["../../../src/factory/rules/ruleset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,UAAU,EACX,MAAM,GAAG,CAAC;AAEX,qBAAa,OAAO;aAIA,KAAK,EAAE,MAAM;IAH/B,SAAgB,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,UAAU,CAAA;KAAE,EAAE,CAAC;gBAG3C,KAAK,EAAE,MAAM,EAC7B,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,CAAC,EAAE,UAAU;CAgBxB"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
export class Ruleset {
|
2
|
-
scope;
|
3
|
-
ruleset;
|
4
|
-
constructor(scope, rules, override) {
|
5
|
-
this.scope = scope;
|
6
|
-
const map = ([id, rules]) => {
|
7
|
-
return {
|
8
|
-
id: `${scope}:${id}`,
|
9
|
-
rules,
|
10
|
-
};
|
11
|
-
};
|
12
|
-
this.ruleset = [
|
13
|
-
...rules.map(rule => map(rule)),
|
14
|
-
...typeof override === "undefined"
|
15
|
-
? []
|
16
|
-
: [map([`${scope}:override`, override])],
|
17
|
-
];
|
18
|
-
}
|
19
|
-
}
|
20
|
-
//# sourceMappingURL=ruleset.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ruleset.js","sourceRoot":"","sources":["../../../src/factory/rules/ruleset.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,OAAO;IAIA;IAHF,OAAO,CAAsC;IAE7D,YACkB,KAAa,EAC7B,KAAkB,EAClB,QAAqB;QAFL,UAAK,GAAL,KAAK,CAAQ;QAI7B,MAAM,GAAG,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,CAAY,EAAE,EAAE;YACrC,OAAO;gBACL,EAAE,EAAE,GAAG,KAAK,IAAI,EAAE,EAAE;gBACpB,KAAK;aACN,CAAC;QACJ,CAAC,CAAC;QAEF,IAAI,CAAC,OAAO,GAAG;YACb,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC/B,GAAG,OAAO,QAAQ,KAAK,WAAW;gBAChC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;SAC3C,CAAC;IACJ,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,GAAG,CAAC;AAE7C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,mBAAmB,EACnB,SAAS,CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/defaults.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/extend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/extend.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export type { GlobalConfigIgnores } from "../index.js";
|
2
|
-
import type { GlobalIgnoreDefaults } from "./defaults.js";
|
3
|
-
import type { GlobalIgnoreExtend } from "./extend.js";
|
4
|
-
export interface InputGlobalIgnores {
|
5
|
-
ignores: GlobalIgnoreDefaults;
|
6
|
-
extend: GlobalIgnoreExtend;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,IAAI,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/global/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,IAAI,CAAC;AAE9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,kBAAkB,CAAC;CAC7B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/global/index.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export type { Scope, Plugins, } from "../index.js";
|
2
|
-
import type { InputPlugins } from "./plugins.js";
|
3
|
-
import type { InputParsers } from "./parsers/index.js";
|
4
|
-
export interface InputImports {
|
5
|
-
plugins: InputPlugins;
|
6
|
-
parsers: InputParsers;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/imports/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,GACR,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;CACvB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/imports/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/imports/parsers/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,MAAM,CAC/B,MAAM,EACN,OAAO,CACR,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/imports/parsers/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/imports/parsers/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,MAAM,MAAM,MAAM,GAAG,KAAK,GACtB,CACE,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../../src/interface/input/imports/parsers/parser.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/interface/input/imports/plugins.ts"],"names":[],"mappings":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export type { Scope, Plugins, RuleEntry, RuleRecord, GlobalConfigSystem, GlobalConfigIgnores, } from "../index.js";
|
2
|
-
import type { InputImports } from "./imports/index.js";
|
3
|
-
import type { InputSettings } from "./settings/index.js";
|
4
|
-
import type { InputGlobal } from "./global/index.js";
|
5
|
-
import type { InputScoped } from "./scoped/index.js";
|
6
|
-
export type Input = (InputImports & InputSettings & InputGlobal & InputScoped);
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,EACP,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,MAAM,KAAK,GAAG,CAChB,YAAY,GACZ,aAAa,GACb,WAAW,GACX,WAAW,CACd,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,KAAK,EACL,MAAM,EAAE,CACT,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/defaults.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"includes.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/includes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,aAAa,GAAG,OAAO,CACjC,aAAa,CACd,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"includes.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/includes.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export type { Scope } from "../index.js";
|
2
|
-
import type { FilesDefaults } from "./defaults.js";
|
3
|
-
import type { FilesIncludes } from "./includes.js";
|
4
|
-
export interface InputFiles {
|
5
|
-
files: FilesDefaults;
|
6
|
-
includes: FilesIncludes;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,MAAM,MAAM,oBAAoB,GAAG,MAAM,CACvC,KAAK,EACL,MAAM,EAAE,CACT,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/defaults.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/extend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,oBAAoB,CACrB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/extend.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export type { Scope } from "../index.js";
|
2
|
-
import type { ScopedIgnoreDefaults } from "./defaults.js";
|
3
|
-
import type { ScopedIgnoreExtend } from "./extend.js";
|
4
|
-
export interface InputScopedIgnores {
|
5
|
-
ignores: ScopedIgnoreDefaults;
|
6
|
-
extend: ScopedIgnoreExtend;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/ignores/index.ts"],"names":[],"mappings":""}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export type { Scope, RuleEntry, RuleRecord, } from "../index.js";
|
2
|
-
import type { InputFiles } from "./files/index.js";
|
3
|
-
import type { InputScopedIgnores } from "./ignores/index.js";
|
4
|
-
import type { InputRules } from "./rules/index.js";
|
5
|
-
export interface InputScoped {
|
6
|
-
files: InputFiles;
|
7
|
-
ignores: InputScopedIgnores;
|
8
|
-
rules: InputRules;
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/scoped/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,UAAU,CAAC;CACnB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/scoped/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,SAAS,EACV,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,KAAK,EACL,SAAS,EAAE,CACZ,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/defaults.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export type { Scope, RuleEntry, RuleRecord, } from "../index.js";
|
2
|
-
import type { RulesDefaults } from "./defaults.js";
|
3
|
-
import type { RulesOverrides } from "./overrides.js";
|
4
|
-
export interface InputRules {
|
5
|
-
rules: RulesDefaults;
|
6
|
-
overrides: RulesOverrides;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,cAAc,CAAC;CAC3B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/index.ts"],"names":[],"mappings":""}
|