@eslinted/core 23.1.2 → 23.1.4
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/config/rule.d.ts.map +1 -1
- package/dist/interface/input/configuration/attachment.d.ts.map +1 -1
- package/dist/interface/input/configuration/extensions.d.ts.map +1 -1
- package/dist/interface/output/configs/attachment.d.ts.map +1 -1
- package/dist/scope/dependencies/parsers.d.ts.map +1 -1
- package/dist/scope/dependencies/plugins.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/interface/config/rule.ts +3 -3
- package/src/interface/input/configuration/attachment.ts +9 -9
- package/src/interface/input/configuration/extensions.ts +18 -18
- package/src/interface/output/configs/attachment.ts +9 -9
- package/src/scope/dependencies/parsers.ts +3 -3
- package/src/scope/dependencies/plugins.ts +10 -10
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/interface/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/interface/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GACb,OAAO,GACP,MAAM,GACN,KAAK,CAAC;AACV,MAAM,MAAM,KAAK,GAAG,MAAM,CACxB,MAAM,EACJ,KAAK,GACL,SAAS;IACT,KAAK;IACL,GAAG,OAAO,EAAE;CACb,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,WAAW,GACnB;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,KAAK,SAAS,MAAM,
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,KAAK,SAAS,MAAM,IAElB;IACF,GAAG,CAAC,EAAE,OAAO,CACT,OAAO,CAAC,eAAe,CAAC,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAC7B,GAAG;QACF,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH,GACC,OAAO,CACP,MAAM,CACJ,KAAK,EACL;IACE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;CAC1B,CACF,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/configs/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/configs/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,GAClB;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/parsers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/parsers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACtB,IAAI,GACJ,MAAM,GACN,KAAK,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACtB,YAAY,GACZ,oBAAoB,GACpB,OAAO,GACP,eAAe,GACf,aAAa,GACb,cAAc,GACd,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,CAAC"}
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"$pkg": "2211.
|
2
|
+
"$pkg": "2211.5.0",
|
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": "23.1.
|
6
|
+
"version": "23.1.4",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
8
8
|
"description": "Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.",
|
9
9
|
"keywords": [],
|
@@ -31,13 +31,13 @@
|
|
31
31
|
"prebuild": "npm run clean",
|
32
32
|
"build": "cmd /c \"(if exist svelte.config.js (npm run build:svelte) else (npm run build:ts))\" || bash -c 'if [ -f svelte.config.js ]; then npm run build:svelte; else npm run build:ts; fi'",
|
33
33
|
"build:ts": "tsc && ts-add-js-extension --dir=dist",
|
34
|
-
"build:svelte": "svelte-kit sync && svelte-check
|
34
|
+
"build:svelte": "svelte-kit sync && svelte-check && vite build",
|
35
35
|
"postbuild": "npm run lint || echo \"Lint failed. Continuing...\"",
|
36
36
|
"lint": "eslint --cache --fix",
|
37
37
|
"pretest": "npm run build",
|
38
38
|
"test": "npm run --if-present test:mocha",
|
39
39
|
"test:mocha": "mocha",
|
40
|
-
"prestart": "npm
|
40
|
+
"prestart": "npm run --ignore-scripts build",
|
41
41
|
"start": "cmd --% /c \"(if exist svelte.config.js (npm run start:svelte) else (npm run start:ts))\" || bash -c 'if [ -f svelte.config.js ]; then npm run start:svelte; else npm run start:ts; fi'",
|
42
42
|
"start:ts": "node .",
|
43
43
|
"start:svelte": "vite preview --open",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { IConfig } from "../../config";
|
2
2
|
|
3
3
|
export type IAttachment
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
= & {
|
5
|
+
files: string[];
|
6
|
+
}
|
7
|
+
& Partial<
|
8
|
+
Omit<
|
9
|
+
IConfig,
|
10
|
+
"files"
|
11
|
+
>
|
12
|
+
>;
|
@@ -3,22 +3,22 @@ import type { IConfig } from "../../config";
|
|
3
3
|
export type Extensions<
|
4
4
|
Scope extends string,
|
5
5
|
>
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
= & {
|
7
|
+
"*"?: Partial<
|
8
|
+
& IConfig["linterOptions"]
|
9
|
+
& IConfig["languageOptions"]
|
10
|
+
> & {
|
11
|
+
ignores?: string[];
|
12
|
+
override?: boolean;
|
13
|
+
};
|
14
|
+
}
|
15
|
+
& Partial<
|
16
|
+
Record<
|
17
|
+
Scope,
|
18
|
+
{
|
19
|
+
files?: string[];
|
11
20
|
ignores?: string[];
|
12
|
-
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
Record<
|
17
|
-
Scope,
|
18
|
-
{
|
19
|
-
files?: string[];
|
20
|
-
ignores?: string[];
|
21
|
-
rules?: IConfig["rules"];
|
22
|
-
}
|
23
|
-
>
|
24
|
-
>;
|
21
|
+
rules?: IConfig["rules"];
|
22
|
+
}
|
23
|
+
>
|
24
|
+
>;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { IConfig } from "../../config";
|
2
2
|
|
3
3
|
export type Attachment
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
= & {
|
5
|
+
files: string[];
|
6
|
+
}
|
7
|
+
& Partial<
|
8
|
+
Omit<
|
9
|
+
IConfig,
|
10
|
+
"files"
|
11
|
+
>
|
12
|
+
>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export type RequiredParser
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
= | "ts"
|
3
|
+
| "html"
|
4
|
+
| "yml";
|
@@ -1,11 +1,11 @@
|
|
1
1
|
export type RequiredPlugin
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
= | "@stylistic"
|
3
|
+
| "@typescript-eslint"
|
4
|
+
| "mocha"
|
5
|
+
| "chai-friendly"
|
6
|
+
| "chai-expect"
|
7
|
+
| "@html-eslint"
|
8
|
+
| "css"
|
9
|
+
| "json"
|
10
|
+
| "jsonc"
|
11
|
+
| "yml";
|