@eslinted/core 13.2.0 → 13.3.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/factory.d.ts +61 -107
- package/dist/factory/factory.d.ts.map +1 -1
- package/dist/factory/factory.js +29 -30
- package/dist/factory/factory.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/interface/index.d.ts +2 -2
- package/dist/interface/input/imports.d.ts.map +1 -0
- package/dist/interface/input/imports.js.map +1 -0
- package/dist/interface/input/index.d.ts +9 -0
- package/dist/interface/input/index.d.ts.map +1 -0
- package/dist/interface/{inputs → input}/index.js.map +1 -1
- package/dist/interface/{inputs/options → input/scopes}/defaults.d.ts +2 -2
- package/dist/interface/input/scopes/defaults.d.ts.map +1 -0
- package/dist/interface/input/scopes/defaults.js.map +1 -0
- package/dist/interface/{inputs/options/index.d.ts → input/scopes/extensions.d.ts} +1 -2
- package/dist/interface/input/scopes/extensions.d.ts.map +1 -0
- package/dist/interface/input/scopes/extensions.js +2 -0
- package/dist/interface/input/scopes/extensions.js.map +1 -0
- package/dist/interface/input/scopes/index.d.ts +3 -0
- package/dist/interface/input/scopes/index.d.ts.map +1 -0
- package/dist/interface/input/scopes/index.js.map +1 -0
- package/dist/interface/{outputs → output}/common/ignores.d.ts +1 -1
- package/dist/interface/output/common/ignores.d.ts.map +1 -0
- package/dist/interface/output/common/ignores.js.map +1 -0
- package/dist/interface/output/common/index.d.ts.map +1 -0
- package/dist/interface/output/common/index.js.map +1 -0
- package/dist/interface/{outputs → output}/common/plugins.d.ts +1 -1
- package/dist/interface/output/common/plugins.d.ts.map +1 -0
- package/dist/interface/output/common/plugins.js.map +1 -0
- package/dist/interface/{outputs → output}/common/settings.d.ts +1 -1
- package/dist/interface/output/common/settings.d.ts.map +1 -0
- package/dist/interface/output/common/settings.js.map +1 -0
- package/dist/interface/output/index.d.ts +10 -0
- package/dist/interface/output/index.d.ts.map +1 -0
- package/dist/interface/{outputs → output}/index.js.map +1 -1
- package/dist/interface/{outputs/scoped.d.ts → output/scope.d.ts} +3 -3
- package/dist/interface/output/scope.d.ts.map +1 -0
- package/dist/interface/output/scope.js +2 -0
- package/dist/interface/output/scope.js.map +1 -0
- package/dist/scopes/index.d.ts +1 -0
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +2 -1
- package/dist/scopes/index.js.map +1 -1
- package/dist/scopes/tree.d.ts +11 -0
- package/dist/scopes/tree.d.ts.map +1 -0
- package/dist/scopes/tree.js +11 -0
- package/dist/scopes/tree.js.map +1 -0
- package/package.json +1 -1
- package/src/factory/factory.ts +55 -70
- package/src/index.ts +2 -2
- package/src/interface/input/index.ts +12 -0
- package/src/interface/{inputs/options → input/scopes}/defaults.ts +2 -2
- package/src/interface/{inputs/options/index.ts → input/scopes/extensions.ts} +0 -1
- package/src/interface/input/scopes/index.ts +2 -0
- package/src/interface/{outputs → output}/common/ignores.ts +1 -1
- package/src/interface/{outputs → output}/common/plugins.ts +1 -1
- package/src/interface/{outputs → output}/common/settings.ts +1 -1
- package/src/interface/output/index.ts +14 -0
- package/src/interface/{outputs/scoped.ts → output/scope.ts} +2 -2
- package/src/scopes/index.ts +1 -0
- package/src/scopes/tree.ts +10 -0
- package/dist/interface/input.d.ts +0 -8
- package/dist/interface/input.d.ts.map +0 -1
- package/dist/interface/input.js +0 -2
- package/dist/interface/input.js.map +0 -1
- package/dist/interface/inputs/imports.d.ts.map +0 -1
- package/dist/interface/inputs/imports.js.map +0 -1
- package/dist/interface/inputs/index.d.ts +0 -3
- package/dist/interface/inputs/index.d.ts.map +0 -1
- package/dist/interface/inputs/options/defaults.d.ts.map +0 -1
- package/dist/interface/inputs/options/defaults.js.map +0 -1
- package/dist/interface/inputs/options/index.d.ts.map +0 -1
- package/dist/interface/inputs/options/index.js.map +0 -1
- package/dist/interface/output.d.ts +0 -10
- package/dist/interface/output.d.ts.map +0 -1
- package/dist/interface/output.js +0 -2
- package/dist/interface/output.js.map +0 -1
- package/dist/interface/outputs/common/ignores.d.ts.map +0 -1
- package/dist/interface/outputs/common/ignores.js.map +0 -1
- package/dist/interface/outputs/common/index.d.ts.map +0 -1
- package/dist/interface/outputs/common/index.js.map +0 -1
- package/dist/interface/outputs/common/plugins.d.ts.map +0 -1
- package/dist/interface/outputs/common/plugins.js.map +0 -1
- package/dist/interface/outputs/common/settings.d.ts.map +0 -1
- package/dist/interface/outputs/common/settings.js.map +0 -1
- package/dist/interface/outputs/index.d.ts +0 -3
- package/dist/interface/outputs/index.d.ts.map +0 -1
- package/dist/interface/outputs/scoped.d.ts.map +0 -1
- package/dist/interface/outputs/scoped.js +0 -2
- package/dist/interface/outputs/scoped.js.map +0 -1
- package/src/interface/input.ts +0 -11
- package/src/interface/inputs/index.ts +0 -2
- package/src/interface/output.ts +0 -10
- package/src/interface/outputs/index.ts +0 -2
- /package/dist/interface/{inputs → input}/imports.d.ts +0 -0
- /package/dist/interface/{inputs → input}/imports.js +0 -0
- /package/dist/interface/{inputs → input}/index.js +0 -0
- /package/dist/interface/{inputs/options → input/scopes}/defaults.js +0 -0
- /package/dist/interface/{inputs/options → input/scopes}/index.js +0 -0
- /package/dist/interface/{outputs → output}/common/ignores.js +0 -0
- /package/dist/interface/{outputs → output}/common/index.d.ts +0 -0
- /package/dist/interface/{outputs → output}/common/index.js +0 -0
- /package/dist/interface/{outputs → output}/common/plugins.js +0 -0
- /package/dist/interface/{outputs → output}/common/settings.js +0 -0
- /package/dist/interface/{outputs → output}/index.js +0 -0
- /package/src/interface/{inputs → input}/imports.ts +0 -0
- /package/src/interface/{outputs → output}/common/index.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scopes/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,CAAC,IAAI,CAAC;IACV,MAAM,EAAE,CAAC,IAAI,CAAC;IACd,KAAK,EAAE,CAAC,IAAI,CAAC;IACb,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,GAAG,EAAE,EAAE;CACC,CAAC"}
|
package/package.json
CHANGED
package/src/factory/factory.ts
CHANGED
@@ -1,89 +1,74 @@
|
|
1
|
-
import type { Scopes, Rule, Input } from "..";
|
2
1
|
import type Options from "./settings";
|
2
|
+
import type { Input } from "../interface/input";
|
3
3
|
|
4
4
|
export class Factory {
|
5
|
-
public readonly
|
6
|
-
|
7
|
-
readonly scopes: Omit<Input["extensions"], "*">;
|
8
|
-
};
|
5
|
+
public readonly common;
|
6
|
+
public readonly scopes;
|
9
7
|
|
10
8
|
constructor(
|
11
|
-
|
12
|
-
|
9
|
+
{
|
10
|
+
settings: defaultSettings,
|
11
|
+
files: defaultFiles,
|
12
|
+
ignores: defaultIgnores,
|
13
|
+
rules: defaultRules,
|
14
|
+
}: Input["defaults"],
|
15
|
+
{ "*": commonExtension = {}, ...scopeExtensions }: Input["extensions"] = {} as const,
|
13
16
|
) {
|
14
|
-
this.extensions = { global, scopes } as const;
|
15
|
-
}
|
16
|
-
|
17
|
-
public get settings() {
|
18
17
|
const {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
},
|
27
|
-
},
|
28
|
-
} = this;
|
18
|
+
noInlineConfig = defaultSettings.noInlineConfig,
|
19
|
+
reportUnusedDisableDirectives = defaultSettings.reportUnusedDisableDirectives,
|
20
|
+
sourceType = defaultSettings.sourceType,
|
21
|
+
ecmaVersion = defaultSettings.ecmaVersion,
|
22
|
+
ignores = [] as const,
|
23
|
+
override = false,
|
24
|
+
} = commonExtension;
|
29
25
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
this.common = {
|
27
|
+
settings: {
|
28
|
+
name: "linted/*/settings",
|
29
|
+
linterOptions: { noInlineConfig, reportUnusedDisableDirectives } as const,
|
30
|
+
languageOptions: { sourceType, ecmaVersion } as const,
|
31
|
+
} as const,
|
32
|
+
ignores: {
|
33
|
+
name: "linted/*/ignores",
|
34
|
+
ignores: [
|
35
|
+
...override ? [] as const : defaultIgnores["*"],
|
36
|
+
...ignores,
|
37
|
+
] as const,
|
38
|
+
} as const,
|
39
|
+
} as const;
|
40
|
+
this.scopes = {
|
41
|
+
files: defaultFiles,
|
42
|
+
ignores: defaultIgnores,
|
43
|
+
rules: defaultRules,
|
34
44
|
} as const;
|
35
|
-
}
|
36
45
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
},
|
46
|
-
} = this;
|
46
|
+
for (const s in scopeExtensions) {
|
47
|
+
const {
|
48
|
+
[s as keyof typeof scopeExtensions]: {
|
49
|
+
files: moreFiles = [],
|
50
|
+
ignores: moreIgnores = [],
|
51
|
+
rules: moreRules = null,
|
52
|
+
} = {} as const,
|
53
|
+
} = scopeExtensions;
|
47
54
|
|
48
|
-
|
49
|
-
|
50
|
-
ignores: [
|
51
|
-
...override ? [] as const : defaults,
|
52
|
-
...ignores,
|
53
|
-
] as const,
|
54
|
-
} as const;
|
55
|
-
}
|
55
|
+
this.scopes.files[s as keyof typeof scopeExtensions].push(...moreFiles);
|
56
|
+
this.scopes.ignores[s as keyof typeof scopeExtensions].push(...moreIgnores);
|
56
57
|
|
57
|
-
|
58
|
-
|
59
|
-
scope: Scopes,
|
60
|
-
defaults: readonly Rule.NamedBag[],
|
61
|
-
override?: Rule.Bag,
|
62
|
-
) {
|
63
|
-
return [
|
64
|
-
...defaults.map(([id, rules]: Rule.NamedBag) => ({ id: `${scope}:${id}`, rules } as const)),
|
65
|
-
...typeof override === "undefined"
|
66
|
-
? [] as const
|
67
|
-
: [{ id: `${scope}:override`, rules: override } as const] as const,
|
68
|
-
] as const;
|
58
|
+
if (moreRules !== null)
|
59
|
+
this.scopes.rules[s as keyof typeof scopeExtensions].push([`${s}:override`, moreRules]);
|
69
60
|
}
|
61
|
+
}
|
70
62
|
|
63
|
+
public scope<S extends keyof typeof Options>(scope: S, settings: InstanceType<typeof Options[S]>) {
|
71
64
|
const {
|
72
|
-
|
73
|
-
|
74
|
-
ignores: { [scope]: defaultIgnores },
|
75
|
-
rules: { [scope]: defaultRules },
|
65
|
+
files: {
|
66
|
+
[scope]: files,
|
76
67
|
},
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
ignores: extendIgnores = [] as const,
|
82
|
-
rules: extendRules,
|
83
|
-
} = scopeExtension,
|
84
|
-
files = [...defaultFiles, ...extendFiles] as const,
|
85
|
-
ignores = [...defaultIgnores, ...extendIgnores] as const,
|
86
|
-
ruleset = Ruleset<Scopes>(scope, defaultRules, extendRules);
|
68
|
+
ignores: { [scope]: ignores },
|
69
|
+
rules: { [scope]: rules },
|
70
|
+
} = this.scopes,
|
71
|
+
ruleset = rules.map(([id, rules]) => ({ id: `${scope}:${id}`, rules } as const));
|
87
72
|
|
88
73
|
return files.length < 1
|
89
74
|
? [] as const
|
package/src/index.ts
CHANGED
@@ -24,8 +24,8 @@ export default function ({
|
|
24
24
|
|
25
25
|
return [
|
26
26
|
{ name: `linted/*/plugins`, plugins } as const,
|
27
|
-
factory.settings,
|
28
|
-
factory.ignores,
|
27
|
+
factory.common.settings,
|
28
|
+
factory.common.ignores,
|
29
29
|
...scopes.flatMap(scope => factory.scope(scope, options[scope])),
|
30
30
|
] as const;
|
31
31
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { Imports } from "./imports";
|
2
|
+
import type { Defaults, Extensions } from "./scopes";
|
3
|
+
import type { Plugins, Parsers, Scopes } from "../../scopes";
|
4
|
+
|
5
|
+
export interface Input {
|
6
|
+
readonly imports: Imports<
|
7
|
+
Plugins,
|
8
|
+
Parsers
|
9
|
+
>;
|
10
|
+
readonly defaults: Defaults<Scopes>;
|
11
|
+
readonly extensions: Extensions<Scopes>;
|
12
|
+
}
|
@@ -2,7 +2,7 @@ import type { Config, Rule } from "../../shared";
|
|
2
2
|
|
3
3
|
export interface Defaults<Scopes extends string> {
|
4
4
|
readonly settings: Config["linterOptions"] & Config["languageOptions"];
|
5
|
-
readonly files: Readonly<Record<"*" | Scopes,
|
5
|
+
readonly files: Readonly<Record<"*" | Scopes, string[]>>;
|
6
6
|
readonly ignores: Defaults<Scopes>["files"];
|
7
|
-
readonly rules: Readonly<Record<Scopes,
|
7
|
+
readonly rules: Readonly<Record<Scopes, Rule.NamedBag[]>>;
|
8
8
|
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type {
|
2
|
+
CommonPlugins,
|
3
|
+
CommonSettings,
|
4
|
+
CommonIgnores,
|
5
|
+
} from "./common";
|
6
|
+
import type { Scope } from "./scope";
|
7
|
+
import type { Plugins, Scopes } from "../../scopes";
|
8
|
+
|
9
|
+
export type Output = readonly [
|
10
|
+
CommonPlugins<Plugins>,
|
11
|
+
CommonSettings,
|
12
|
+
CommonIgnores,
|
13
|
+
...readonly Scope<Scopes>[],
|
14
|
+
];
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type { Config } from "
|
1
|
+
import type { Config } from "../shared";
|
2
2
|
|
3
|
-
export type
|
3
|
+
export type Scope<Scopes extends string> = {
|
4
4
|
readonly name: `linted/${Scopes}:${string}`;
|
5
5
|
readonly languageOptions: Omit<Config["languageOptions"], "sourceType" | "ecmaVersion">;
|
6
6
|
} & Pick<Config, "files" | "ignores" | "rules" | "processor" | "language" | "settings">;
|
package/src/scopes/index.ts
CHANGED
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Scopes, Plugins, Parsers } from "../scopes/index.js";
|
2
|
-
import type * as Inputs from "./inputs/index.js";
|
3
|
-
export interface Input {
|
4
|
-
readonly imports: Inputs.Imports<Plugins, Parsers>;
|
5
|
-
readonly defaults: Inputs.Defaults<Scopes>;
|
6
|
-
readonly extensions: Inputs.Extensions<Scopes>;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=input.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/interface/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AAExC,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAC9B,OAAO,EACP,OAAO,CACR,CAAC;IACF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;CAChD"}
|
package/dist/interface/input.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/interface/input.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../../src/interface/inputs/imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,WAAW,OAAO,CACtB,OAAO,SAAS,MAAM,EACtB,OAAO,SAAS,MAAM;IAEtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAC/B,OAAO,EACP,OAAO,CACR,CAAC,CAAC;CACJ"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"imports.js","sourceRoot":"","sources":["../../../src/interface/inputs/imports.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/inputs/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,WAAW,CAAC;AAC/B,mBAAmB,WAAW,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/interface/inputs/options/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,QAAQ,CAAC,MAAM,SAAS,MAAM;IAC7C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACvE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;IAClE,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;CACpE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../src/interface/inputs/options/defaults.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/inputs/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,mBAAmB,YAAY,CAAC;AAChC,MAAM,MAAM,UAAU,CAAC,MAAM,SAAS,MAAM,IAAI,CAC5C;IACA,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG;QACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC;KACrD,CAAC;CACH,GACC,OAAO,CAAC,MAAM,CACd,MAAM,EACN;IACE,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACnD,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/D,CACF,CAAC,CACH,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/inputs/options/index.ts"],"names":[],"mappings":""}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Scopes, Plugins } from "../scopes/index.js";
|
2
|
-
import type * as Configs from "./outputs/index.js";
|
3
|
-
export type { Configs };
|
4
|
-
export type Output = readonly [
|
5
|
-
Configs.Common.Plugins<Plugins>,
|
6
|
-
Configs.Common.Settings,
|
7
|
-
Configs.Common.Ignores,
|
8
|
-
...readonly Configs.Scoped<Scopes>[]
|
9
|
-
];
|
10
|
-
//# sourceMappingURL=output.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/interface/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,KAAK,OAAO,MAAM,WAAW,CAAC;AAE1C,YAAY,EAAE,OAAO,EAAE,CAAC;AACxB,MAAM,MAAM,MAAM,GAAG,SAAS;IAC5B,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;IAC/B,OAAO,CAAC,MAAM,CAAC,QAAQ;IACvB,OAAO,CAAC,MAAM,CAAC,OAAO;IACtB,GAAG,SAAS,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;CACrC,CAAC"}
|
package/dist/interface/output.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../src/interface/output.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ignores.d.ts","sourceRoot":"","sources":["../../../../src/interface/outputs/common/ignores.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,OAAO,GAAG,aAAa,CACjC;IAAE,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,EACrC,SAAS,CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ignores.js","sourceRoot":"","sources":["../../../../src/interface/outputs/common/ignores.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/outputs/common/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,WAAW,CAAC;AAC/B,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,WAAW,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/outputs/common/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/interface/outputs/common/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,OAAO,CAAC,OAAO,SAAS,MAAM,IAAI,aAAa,CACzD;IAAE,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,EACrC,SAAS,EACT,OAAO,CACR,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/interface/outputs/common/plugins.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/outputs/common/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG,aAAa,CAClC;IAAE,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAA;CAAE,EACpC,eAAe,GACf,iBAAiB,CACpB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/interface/outputs/common/settings.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/outputs/index.ts"],"names":[],"mappings":"AAAA,YAAY,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,mBAAmB,UAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"scoped.d.ts","sourceRoot":"","sources":["../../../src/interface/outputs/scoped.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAEjC,MAAM,MAAM,MAAM,CAAC,MAAM,SAAS,MAAM,IAAI;IAC1C,QAAQ,CAAC,IAAI,EAAE,UAAU,MAAM,IAAI,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,eAAe,EAAE,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC,CAAC;CACzF,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"scoped.js","sourceRoot":"","sources":["../../../src/interface/outputs/scoped.ts"],"names":[],"mappings":""}
|
package/src/interface/input.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Scopes, Plugins, Parsers } from "../scopes";
|
2
|
-
import type * as Inputs from "./inputs";
|
3
|
-
|
4
|
-
export interface Input {
|
5
|
-
readonly imports: Inputs.Imports<
|
6
|
-
Plugins,
|
7
|
-
Parsers
|
8
|
-
>;
|
9
|
-
readonly defaults: Inputs.Defaults<Scopes>;
|
10
|
-
readonly extensions: Inputs.Extensions<Scopes>;
|
11
|
-
}
|
package/src/interface/output.ts
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Scopes, Plugins } from "../scopes";
|
2
|
-
import type * as Configs from "./outputs";
|
3
|
-
|
4
|
-
export type { Configs };
|
5
|
-
export type Output = readonly [
|
6
|
-
Configs.Common.Plugins<Plugins>,
|
7
|
-
Configs.Common.Settings,
|
8
|
-
Configs.Common.Ignores,
|
9
|
-
...readonly Configs.Scoped<Scopes>[],
|
10
|
-
];
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|