@eslinted/core 19.0.3-rc.0 → 19.0.3-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/input/index.d.ts +4 -2
- package/dist/interface/input/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/input/index.ts +10 -5
- package/dist/interface/input/imports.d.ts +0 -5
- package/dist/interface/input/imports.d.ts.map +0 -1
- package/dist/interface/input/imports.js +0 -2
- package/dist/interface/input/imports.js.map +0 -1
- package/src/interface/input/imports.ts +0 -13
@@ -1,7 +1,9 @@
|
|
1
|
-
import type { Imports } from "./imports.js";
|
2
1
|
import type { Configuration } from "./configuration/index.js";
|
3
2
|
export interface Input<Plugin extends string, Parser extends string, Scope extends string> {
|
4
|
-
imports:
|
3
|
+
imports: {
|
4
|
+
plugins: Record<Plugin, unknown>;
|
5
|
+
parsers: Record<Parser, unknown>;
|
6
|
+
};
|
5
7
|
configuration: Configuration<Scope>;
|
6
8
|
}
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,KAAK,CACpB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM,EACrB,KAAK,SAAS,MAAM;IAEpB,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CACb,MAAM,EACN,OAAO,CACR,CAAC;QACF,OAAO,EAAE,MAAM,CACb,MAAM,EACN,OAAO,CACR,CAAC;KACH,CAAC;IACF,aAAa,EAAE,aAAa,CAC1B,KAAK,CACN,CAAC;CACH"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
5
5
|
"name": "@eslinted/core",
|
6
|
-
"version": "19.0.3-rc.
|
6
|
+
"version": "19.0.3-rc.1",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { Imports } from "./imports";
|
2
1
|
import type { Configuration } from "./configuration";
|
3
2
|
|
4
3
|
export interface Input<
|
@@ -6,10 +5,16 @@ export interface Input<
|
|
6
5
|
Parser extends string,
|
7
6
|
Scope extends string,
|
8
7
|
> {
|
9
|
-
imports:
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
imports: {
|
9
|
+
plugins: Record<
|
10
|
+
Plugin,
|
11
|
+
unknown
|
12
|
+
>;
|
13
|
+
parsers: Record<
|
14
|
+
Parser,
|
15
|
+
unknown
|
16
|
+
>;
|
17
|
+
};
|
13
18
|
configuration: Configuration<
|
14
19
|
Scope
|
15
20
|
>;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../../src/interface/input/imports.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO,CACtB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM;IAErB,OAAO,EAAE,MAAM,CACb,MAAM,EACN,OAAO,CACR,CAAC;IACF,OAAO,EAAE,MAAM,CACb,MAAM,EACN,OAAO,CACR,CAAC;CACH"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"imports.js","sourceRoot":"","sources":["../../../src/interface/input/imports.ts"],"names":[],"mappings":""}
|