@eslinted/core 11.0.0-rc.3 → 11.1.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/options/html.d.ts +1 -1
- package/dist/factory/options/html.d.ts.map +1 -1
- package/dist/factory/options/html.js.map +1 -1
- package/dist/factory/options/js.d.ts +2 -5
- package/dist/factory/options/js.d.ts.map +1 -1
- package/dist/factory/options/js.js +1 -4
- package/dist/factory/options/js.js.map +1 -1
- package/dist/factory/options/json.d.ts +1 -1
- package/dist/factory/options/json.d.ts.map +1 -1
- package/dist/factory/options/json.js.map +1 -1
- package/dist/factory/options/jsonc.d.ts +1 -2
- package/dist/factory/options/jsonc.d.ts.map +1 -1
- package/dist/factory/options/jsonc.js.map +1 -1
- package/dist/factory/options/mocha.d.ts +2 -4
- package/dist/factory/options/mocha.d.ts.map +1 -1
- package/dist/factory/options/mocha.js +5 -3
- package/dist/factory/options/mocha.js.map +1 -1
- package/dist/factory/options/option/index.d.ts +5 -7
- package/dist/factory/options/option/index.d.ts.map +1 -1
- package/dist/factory/options/option/index.js +2 -7
- package/dist/factory/options/option/index.js.map +1 -1
- package/dist/factory/options/option/template/index.d.ts +5 -10
- package/dist/factory/options/option/template/index.d.ts.map +1 -1
- package/dist/factory/options/option/template/languageOptions.d.ts +9 -0
- package/dist/factory/options/option/template/languageOptions.d.ts.map +1 -0
- package/dist/factory/options/option/template/languageOptions.js +2 -0
- package/dist/factory/options/option/template/languageOptions.js.map +1 -0
- package/dist/factory/options/svelte.d.ts +2 -5
- package/dist/factory/options/svelte.d.ts.map +1 -1
- package/dist/factory/options/svelte.js +1 -3
- package/dist/factory/options/svelte.js.map +1 -1
- package/dist/factory/options/ts.d.ts +5 -6
- package/dist/factory/options/ts.d.ts.map +1 -1
- package/dist/factory/options/ts.js +5 -3
- package/dist/factory/options/ts.js.map +1 -1
- package/dist/factory/options/yml.d.ts +1 -1
- package/dist/factory/options/yml.d.ts.map +1 -1
- package/dist/factory/options/yml.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -10
- package/dist/index.js.map +1 -1
- package/dist/output.d.ts +28 -18
- package/dist/output.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/factory/options/html.ts +0 -2
- package/src/factory/options/js.ts +2 -8
- package/src/factory/options/json.ts +0 -2
- package/src/factory/options/jsonc.ts +1 -4
- package/src/factory/options/mocha.ts +5 -5
- package/src/factory/options/option/index.ts +2 -15
- package/src/factory/options/option/template/index.ts +1 -9
- package/src/factory/options/option/template/{languageOptions/index.ts → languageOptions.ts} +0 -5
- package/src/factory/options/svelte.ts +5 -6
- package/src/factory/options/ts.ts +10 -7
- package/src/factory/options/yml.ts +0 -2
- package/src/index.ts +17 -10
- package/src/output.ts +57 -13
- package/typings/common/utility/primitive/cast/number.d.ts +3 -0
- package/dist/factory/options/option/template/languageOptions/ecma.d.ts +0 -2
- package/dist/factory/options/option/template/languageOptions/ecma.d.ts.map +0 -1
- package/dist/factory/options/option/template/languageOptions/ecma.js +0 -2
- package/dist/factory/options/option/template/languageOptions/ecma.js.map +0 -1
- package/dist/factory/options/option/template/languageOptions/index.d.ts +0 -14
- package/dist/factory/options/option/template/languageOptions/index.d.ts.map +0 -1
- package/dist/factory/options/option/template/languageOptions/index.js +0 -2
- package/dist/factory/options/option/template/languageOptions/index.js.map +0 -1
- package/dist/factory/options/option/template/languageOptions/source.d.ts +0 -2
- package/dist/factory/options/option/template/languageOptions/source.d.ts.map +0 -1
- package/dist/factory/options/option/template/languageOptions/source.js +0 -2
- package/dist/factory/options/option/template/languageOptions/source.js.map +0 -1
- package/dist/factory/options/option/template/linter.d.ts +0 -5
- package/dist/factory/options/option/template/linter.d.ts.map +0 -1
- package/dist/factory/options/option/template/linter.js +0 -2
- package/dist/factory/options/option/template/linter.js.map +0 -1
- package/dist/factory/options/option/template/plugins.d.ts +0 -4
- package/dist/factory/options/option/template/plugins.d.ts.map +0 -1
- package/dist/factory/options/option/template/plugins.js +0 -2
- package/dist/factory/options/option/template/plugins.js.map +0 -1
- package/src/factory/options/option/template/languageOptions/ecma.ts +0 -3
- package/src/factory/options/option/template/languageOptions/source.ts +0 -4
- package/src/factory/options/option/template/linter.ts +0 -8
- package/src/factory/options/option/template/plugins.ts +0 -1
@@ -1,12 +1,9 @@
|
|
1
1
|
import Option from "./option";
|
2
|
-
import type Json from "./json";
|
3
2
|
|
4
3
|
export default class Jsonc extends Option<
|
5
4
|
"jsonc",
|
6
|
-
keyof Json["plugins"],
|
7
|
-
false,
|
8
5
|
true,
|
9
|
-
|
6
|
+
1
|
10
7
|
> {
|
11
8
|
public readonly scope = "jsonc";
|
12
9
|
public readonly processor = {};
|
@@ -3,8 +3,6 @@ import type Ts from "./ts";
|
|
3
3
|
|
4
4
|
export default class Mocha extends Option<
|
5
5
|
"mocha",
|
6
|
-
"mocha" | keyof Ts["option"]["plugins"],
|
7
|
-
true,
|
8
6
|
Ts["option"]["languageOptions"]["parserOptions"],
|
9
7
|
1,
|
10
8
|
"mocha"
|
@@ -19,10 +17,12 @@ export default class Mocha extends Option<
|
|
19
17
|
globals = this.globals("mocha");
|
20
18
|
|
21
19
|
return {
|
22
|
-
ecmaVersion: "latest",
|
23
|
-
sourceType: "module",
|
24
20
|
parser,
|
25
|
-
parserOptions: {
|
21
|
+
parserOptions: {
|
22
|
+
project: "tsconfig.json",
|
23
|
+
sourceType: "module",
|
24
|
+
ecmaVersion: 2023,
|
25
|
+
},
|
26
26
|
globals,
|
27
27
|
} as const;
|
28
28
|
}
|
@@ -2,26 +2,20 @@ import globals from "globals";
|
|
2
2
|
import type { Ruleset } from "../../rulesets/ruleset";
|
3
3
|
import type {
|
4
4
|
Scope,
|
5
|
-
Input,
|
6
5
|
Output,
|
7
6
|
OptionTemplate,
|
8
7
|
LanguageOptions,
|
9
|
-
Plugins,
|
10
8
|
Globals,
|
11
9
|
} from "./template";
|
12
10
|
|
13
11
|
export default abstract class Option<
|
14
12
|
S extends Scope,
|
15
|
-
Plugin extends keyof Input["plugins"],
|
16
|
-
IsEcma extends boolean = true,
|
17
13
|
ParserOptions extends object | boolean = false,
|
18
14
|
ParserCount extends 0 | 1 | 2 = 0,
|
19
15
|
Global extends Globals = never,
|
20
16
|
Processor extends object = never,
|
21
17
|
Language extends object = never,
|
22
18
|
> {
|
23
|
-
private readonly linterOptions = { noInlineConfig: true, reportUnusedDisableDirectives: "error" } as const;
|
24
|
-
|
25
19
|
public abstract readonly scope: literalful<S>;
|
26
20
|
public abstract readonly processor: Interface<Processor> extends never
|
27
21
|
? object
|
@@ -35,13 +29,12 @@ export default abstract class Option<
|
|
35
29
|
: object;
|
36
30
|
|
37
31
|
constructor(
|
38
|
-
public readonly plugins: Plugins<Plugin>,
|
39
32
|
public readonly parser: Tuple<ParserCount, unknown>,
|
40
33
|
public readonly files: string[],
|
41
34
|
public readonly ruleset: Ruleset,
|
42
35
|
) {}
|
43
36
|
|
44
|
-
public get configs(): Output {
|
37
|
+
public get configs(): Output[1][] {
|
45
38
|
const {
|
46
39
|
scope,
|
47
40
|
ruleset,
|
@@ -67,22 +60,16 @@ export default abstract class Option<
|
|
67
60
|
private get option() {
|
68
61
|
try {
|
69
62
|
const {
|
70
|
-
plugins,
|
71
|
-
linterOptions,
|
72
63
|
languageOptions,
|
73
64
|
processor,
|
74
65
|
language,
|
75
66
|
} = this;
|
76
67
|
|
77
68
|
return {
|
78
|
-
plugins,
|
79
|
-
linterOptions,
|
80
69
|
languageOptions,
|
81
70
|
...processor,
|
82
71
|
...language,
|
83
72
|
} satisfies OptionTemplate<
|
84
|
-
Plugin,
|
85
|
-
IsEcma,
|
86
73
|
ParserOptions,
|
87
74
|
Global,
|
88
75
|
Processor,
|
@@ -92,7 +79,7 @@ export default abstract class Option<
|
|
92
79
|
catch (e) { throw new Error(`linted.factory.Option/scope:${this.scope}: option`, { cause: e }); }
|
93
80
|
}
|
94
81
|
|
95
|
-
protected abstract get languageOptions(): LanguageOptions<
|
82
|
+
protected abstract get languageOptions(): LanguageOptions<ParserOptions, Global>;
|
96
83
|
|
97
84
|
protected globals(type: Global) {
|
98
85
|
return globals[type];
|
@@ -1,28 +1,20 @@
|
|
1
1
|
export type { Scope, Input, Output } from "../..";
|
2
2
|
|
3
3
|
import type { LanguageOptions } from "./languageOptions";
|
4
|
-
import type { Linter } from "./linter";
|
5
|
-
import type { Plugins } from "./plugins";
|
6
4
|
import type { Globals } from "./globals";
|
7
5
|
|
8
6
|
export type {
|
9
7
|
LanguageOptions,
|
10
|
-
Linter,
|
11
|
-
Plugins,
|
12
8
|
Globals,
|
13
9
|
};
|
14
10
|
export type OptionTemplate<
|
15
|
-
PluginId extends string,
|
16
|
-
IsEcma extends boolean,
|
17
11
|
ParserOptions extends boolean | object,
|
18
12
|
GlobalTypes extends Globals,
|
19
13
|
Processor extends object,
|
20
14
|
Language extends object,
|
21
15
|
> =
|
22
16
|
& {
|
23
|
-
|
24
|
-
languageOptions: LanguageOptions<IsEcma, ParserOptions, GlobalTypes>;
|
17
|
+
languageOptions: LanguageOptions<ParserOptions, GlobalTypes>;
|
25
18
|
}
|
26
|
-
& (Plugins<PluginId> extends never ? object : { plugins: Plugins<PluginId> })
|
27
19
|
& (Interface<Processor> extends never ? object : Interface<Processor> extends { processor: string } ? Interface<Processor> : object)
|
28
20
|
& (Interface<Language> extends never ? object : Interface<Language> extends { language: string } ? Interface<Language> : object);
|
@@ -1,12 +1,7 @@
|
|
1
|
-
import type { EcmaVersion } from "./ecma";
|
2
|
-
import type { SourceType } from "./source";
|
3
|
-
|
4
1
|
export type LanguageOptions<
|
5
|
-
IsEcma extends boolean,
|
6
2
|
ParserOptions extends object | boolean,
|
7
3
|
GlobalTypes extends string,
|
8
4
|
> =
|
9
|
-
& (Truth<IsEcma> extends never ? object : { ecmaVersion: EcmaVersion; sourceType: SourceType })
|
10
5
|
& (literalful<GlobalTypes> extends never ? object : { globals: Record<string, unknown> })
|
11
6
|
& (
|
12
7
|
ParserOptions extends boolean
|
@@ -3,9 +3,10 @@ import type Ts from "./ts";
|
|
3
3
|
|
4
4
|
export default class Svelte extends Option<
|
5
5
|
"svelte",
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
{
|
7
|
+
parser: unknown;
|
8
|
+
extraFileExtensions: readonly [".svelte"];
|
9
|
+
} & Ts["option"]["languageOptions"]["parserOptions"],
|
9
10
|
2,
|
10
11
|
never,
|
11
12
|
{ processor: "svelte/svelte" }
|
@@ -18,15 +19,13 @@ export default class Svelte extends Option<
|
|
18
19
|
const [parser, tsParser] = this.parser;
|
19
20
|
|
20
21
|
return {
|
21
|
-
ecmaVersion: "latest",
|
22
|
-
sourceType: "module",
|
23
22
|
parser,
|
24
23
|
parserOptions: {
|
25
24
|
parser: tsParser,
|
26
25
|
extraFileExtensions: [".svelte"] as const,
|
27
26
|
project: "tsconfig.json",
|
28
|
-
ecmaVersion: "latest",
|
29
27
|
sourceType: "module",
|
28
|
+
ecmaVersion: 2023,
|
30
29
|
},
|
31
30
|
} as const;
|
32
31
|
}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import Option from "./option";
|
2
|
-
import type Js from "./js";
|
3
2
|
|
4
3
|
export default class Ts extends Option<
|
5
4
|
"ts",
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
{
|
6
|
+
project: "tsconfig.json";
|
7
|
+
sourceType: "module";
|
8
|
+
ecmaVersion: 2023;
|
9
|
+
},
|
9
10
|
1
|
10
11
|
> {
|
11
12
|
public readonly scope = "ts";
|
@@ -16,10 +17,12 @@ export default class Ts extends Option<
|
|
16
17
|
const [parser] = this.parser;
|
17
18
|
|
18
19
|
return {
|
19
|
-
ecmaVersion: "latest",
|
20
|
-
sourceType: "module",
|
21
20
|
parser,
|
22
|
-
parserOptions: {
|
21
|
+
parserOptions: {
|
22
|
+
project: "tsconfig.json",
|
23
|
+
sourceType: "module",
|
24
|
+
ecmaVersion: 2023,
|
25
|
+
},
|
23
26
|
} as const;
|
24
27
|
}
|
25
28
|
}
|
package/src/index.ts
CHANGED
@@ -14,64 +14,71 @@ import {
|
|
14
14
|
export default function (input: Input): Output {
|
15
15
|
try {
|
16
16
|
const {
|
17
|
-
parsers,
|
18
17
|
plugins,
|
18
|
+
parsers,
|
19
19
|
files,
|
20
20
|
rules,
|
21
21
|
} = input,
|
22
|
+
base = {
|
23
|
+
name: "linted",
|
24
|
+
plugins,
|
25
|
+
linterOptions: {
|
26
|
+
noInlineConfig: true,
|
27
|
+
reportUnusedDisableDirectives: "error",
|
28
|
+
},
|
29
|
+
languageOptions: {
|
30
|
+
sourceType: "module",
|
31
|
+
ecmaVersion: 2023,
|
32
|
+
},
|
33
|
+
} as const,
|
22
34
|
factory = new Factory(files, rules),
|
23
35
|
options: { [S in typeof scopes[number]]: InstanceType<typeof Options[S]>["configs"] } = {
|
24
36
|
js: new Options
|
25
37
|
.js(
|
26
|
-
{ "@stylistic": plugins["@stylistic"] },
|
27
38
|
[],
|
28
39
|
...factory.produce("js"),
|
29
40
|
).configs,
|
30
41
|
ts: new Options
|
31
42
|
.ts(
|
32
|
-
{ "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"] },
|
33
43
|
[parsers.ts],
|
34
44
|
...factory.produce("ts"),
|
35
45
|
).configs,
|
36
46
|
svelte: new Options
|
37
47
|
.svelte(
|
38
|
-
{ "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], svelte: plugins.svelte },
|
39
48
|
[parsers.svelte, parsers.ts],
|
40
49
|
...factory.produce("svelte"),
|
41
50
|
).configs,
|
42
51
|
mocha: new Options
|
43
52
|
.mocha(
|
44
|
-
{ "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], mocha: plugins.mocha },
|
45
53
|
[parsers.ts],
|
46
54
|
...factory.produce("mocha"),
|
47
55
|
).configs,
|
48
56
|
html: new Options
|
49
57
|
.html(
|
50
|
-
{ "@html-eslint": plugins["@html-eslint"] },
|
51
58
|
[parsers.html],
|
52
59
|
...factory.produce("html"),
|
53
60
|
).configs,
|
54
61
|
json: new Options
|
55
62
|
.json(
|
56
|
-
{ jsonc: plugins.jsonc },
|
57
63
|
[parsers.jsonc],
|
58
64
|
...factory.produce("json"),
|
59
65
|
).configs,
|
60
66
|
jsonc: new Options
|
61
67
|
.jsonc(
|
62
|
-
{ jsonc: plugins.jsonc },
|
63
68
|
[parsers.jsonc],
|
64
69
|
...factory.produce("jsonc"),
|
65
70
|
).configs,
|
66
71
|
yml: new Options
|
67
72
|
.yml(
|
68
|
-
{ yml: plugins.yml },
|
69
73
|
[parsers.yml],
|
70
74
|
...factory.produce("yml"),
|
71
75
|
).configs,
|
72
76
|
};
|
73
77
|
|
74
|
-
return
|
78
|
+
return [
|
79
|
+
base,
|
80
|
+
...scopes.flatMap(scope => options[scope]),
|
81
|
+
];
|
75
82
|
}
|
76
83
|
catch (e) { throw new Error(`Linted Core`, { cause: e }); }
|
77
84
|
}
|
package/src/output.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
import type { Input } from ".";
|
2
2
|
|
3
|
-
export type Output =
|
3
|
+
export type Output = [
|
4
4
|
{
|
5
|
-
name: `linted
|
6
|
-
|
7
|
-
files: string[];
|
5
|
+
name: `linted`;
|
6
|
+
plugins: Table<Record<"configs", unknown>>;
|
8
7
|
linterOptions: {
|
9
8
|
noInlineConfig: true;
|
10
9
|
reportUnusedDisableDirectives: "error";
|
@@ -12,13 +11,58 @@ export type Output = (
|
|
12
11
|
languageOptions: {
|
13
12
|
sourceType?:
|
14
13
|
| "module"
|
15
|
-
| "script"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
14
|
+
| "script"
|
15
|
+
;
|
16
|
+
ecmaVersion?:
|
17
|
+
| "latest"
|
18
|
+
| 3
|
19
|
+
| 5
|
20
|
+
| ToNumber<`20${
|
21
|
+
| 15
|
22
|
+
| 16
|
23
|
+
| 17
|
24
|
+
| 18
|
25
|
+
| 19
|
26
|
+
| 20
|
27
|
+
| 21
|
28
|
+
| 22
|
29
|
+
| 23
|
30
|
+
| 24
|
31
|
+
}`>;
|
20
32
|
};
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
33
|
+
},
|
34
|
+
...(
|
35
|
+
{
|
36
|
+
name: `linted/${string}`;
|
37
|
+
rules: Input["rules"]["rules"]["html"][number][1];
|
38
|
+
files: string[];
|
39
|
+
languageOptions: {
|
40
|
+
sourceType?:
|
41
|
+
| "module"
|
42
|
+
| "script"
|
43
|
+
;
|
44
|
+
ecmaVersion?:
|
45
|
+
| "latest"
|
46
|
+
| 3
|
47
|
+
| 5
|
48
|
+
| ToNumber<`20${
|
49
|
+
| 15
|
50
|
+
| 16
|
51
|
+
| 17
|
52
|
+
| 18
|
53
|
+
| 19
|
54
|
+
| 20
|
55
|
+
| 21
|
56
|
+
| 22
|
57
|
+
| 23
|
58
|
+
| 24
|
59
|
+
}`>;
|
60
|
+
globals?: Table<true>;
|
61
|
+
parser?: unknown;
|
62
|
+
parserOptions?: Table;
|
63
|
+
};
|
64
|
+
processor?: string;
|
65
|
+
language?: string;
|
66
|
+
}
|
67
|
+
)[],
|
68
|
+
];
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ecma.d.ts","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/ecma.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,CACtB,QAAQ,CACX,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ecma.js","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/ecma.ts"],"names":[],"mappings":""}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import type { EcmaVersion } from "./ecma.js";
|
2
|
-
import type { SourceType } from "./source.js";
|
3
|
-
export type LanguageOptions<IsEcma extends boolean, ParserOptions extends object | boolean, GlobalTypes extends string> = (Truth<IsEcma> extends never ? object : {
|
4
|
-
ecmaVersion: EcmaVersion;
|
5
|
-
sourceType: SourceType;
|
6
|
-
}) & (literalful<GlobalTypes> extends never ? object : {
|
7
|
-
globals: Record<string, unknown>;
|
8
|
-
}) & (ParserOptions extends boolean ? Truth<ParserOptions> extends never ? object : {
|
9
|
-
parser: unknown;
|
10
|
-
} : ParserOptions extends object ? Interface<ParserOptions> extends never ? object : {
|
11
|
-
parser: unknown;
|
12
|
-
parserOptions: ParserOptions;
|
13
|
-
} : object);
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,eAAe,CACzB,MAAM,SAAS,OAAO,EACtB,aAAa,SAAS,MAAM,GAAG,OAAO,EACtC,WAAW,SAAS,MAAM,IAEzB,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,UAAU,EAAE,UAAU,CAAA;CAAE,CAAC,GAC7F,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAC,GACvF,CACC,aAAa,SAAS,OAAO,GACzB,KAAK,CAAC,aAAa,CAAC,SAAS,KAAK,GAChC,MAAM,GACN;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACrB,aAAa,SAAS,MAAM,GAC1B,SAAS,CAAC,aAAa,CAAC,SAAS,KAAK,GACpC,MAAM,GACN;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,aAAa,CAAA;CAAE,GACnD,MAAM,CACb,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/source.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,CACrB,QAAQ,GACR,QAAQ,CACX,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../../../../src/factory/options/option/template/languageOptions/source.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/linter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,6BAA6B,EACzB,OAAO,GACP,MAAM,GACN,KAAK,CACR;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"linter.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/linter.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,MAAM,IAAI,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/plugins.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
export type Plugins<PluginId extends string> = Record<literalful<PluginId>, { configs: unknown }>;
|