@eslinted/core 19.0.3-rc.2 → 19.0.3-rc.3
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/scope/registry/index.d.ts +0 -21
- package/dist/scope/registry/index.d.ts.map +1 -1
- package/dist/scope/registry/manifests/jsonc.js +2 -2
- package/dist/scope/registry/manifests/jsonc.js.map +1 -1
- package/dist/scope/registry/manifests/jsoncc.js +2 -2
- package/dist/scope/registry/manifests/jsoncc.js.map +1 -1
- package/dist/scope/registry/manifests/mocha.d.ts.map +1 -1
- package/dist/scope/registry/manifests/mocha.js +3 -1
- package/dist/scope/registry/manifests/mocha.js.map +1 -1
- package/dist/scope/registry/manifests/svelte.d.ts +0 -15
- package/dist/scope/registry/manifests/svelte.d.ts.map +1 -1
- package/dist/scope/registry/manifests/svelte.js +1 -3
- package/dist/scope/registry/manifests/svelte.js.map +1 -1
- package/dist/scope/registry/manifests/ts.d.ts +0 -6
- package/dist/scope/registry/manifests/ts.d.ts.map +1 -1
- package/dist/scope/registry/manifests/ts.js +10 -14
- package/dist/scope/registry/manifests/ts.js.map +1 -1
- package/package.json +1 -1
- package/src/scope/registry/manifests/jsonc.ts +2 -2
- package/src/scope/registry/manifests/jsoncc.ts +2 -2
- package/src/scope/registry/manifests/mocha.ts +3 -1
- package/src/scope/registry/manifests/svelte.ts +0 -3
- package/src/scope/registry/manifests/ts.ts +11 -14
@@ -8,19 +8,13 @@ export declare const registry: {
|
|
8
8
|
parser: "ts";
|
9
9
|
};
|
10
10
|
parserOptions: {
|
11
|
-
disallowAutomaticSingleRunInference: boolean;
|
12
|
-
cacheLifetime: {
|
13
|
-
glob: number;
|
14
|
-
};
|
15
11
|
ecmaFeatures: {
|
16
|
-
jsx: boolean;
|
17
12
|
globalReturn: boolean;
|
18
13
|
};
|
19
14
|
ecmaVersion: number;
|
20
15
|
emitDecoratorMetadata: boolean;
|
21
16
|
experimentalDecorators: boolean;
|
22
17
|
isolatedDeclarations: boolean;
|
23
|
-
jsDocParsingMode: string;
|
24
18
|
projectService: boolean;
|
25
19
|
warnOnUnsupportedTypeScriptVersion: boolean;
|
26
20
|
};
|
@@ -36,21 +30,6 @@ export declare const registry: {
|
|
36
30
|
parser: "svelte";
|
37
31
|
};
|
38
32
|
parserOptions: {
|
39
|
-
disallowAutomaticSingleRunInference: boolean;
|
40
|
-
cacheLifetime: {
|
41
|
-
glob: number;
|
42
|
-
};
|
43
|
-
ecmaFeatures: {
|
44
|
-
jsx: boolean;
|
45
|
-
globalReturn: boolean;
|
46
|
-
};
|
47
|
-
ecmaVersion: number;
|
48
|
-
emitDecoratorMetadata: boolean;
|
49
|
-
experimentalDecorators: boolean;
|
50
|
-
isolatedDeclarations: boolean;
|
51
|
-
jsDocParsingMode: string;
|
52
|
-
projectService: boolean;
|
53
|
-
warnOnUnsupportedTypeScriptVersion: boolean;
|
54
33
|
parser: "ts";
|
55
34
|
extraFileExtensions: string[];
|
56
35
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scope/registry/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scope/registry/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;IACf,
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;IACf,kBAAkB;KACnB;IACD,aAAa,EAAE;IACb,kBAAkB;KACnB;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jsoncc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE;IACf,
|
1
|
+
{"version":3,"file":"jsoncc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE;IACf,mBAAmB;KACpB;IACD,aAAa,EAAE;IACb,mBAAmB;KACpB;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;CAOjB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;QACf,OAAO,EAAE,OAAgB;KAC1B;IACD,aAAa,EAAE,
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;QACf,OAAO,EAAE,OAAgB;KAC1B;IACD,aAAa,EAAE;IACb,gBAAgB;KACjB;CACF,CAAC"}
|
@@ -3,21 +3,6 @@ export declare const svelte: {
|
|
3
3
|
parser: "svelte";
|
4
4
|
};
|
5
5
|
parserOptions: {
|
6
|
-
disallowAutomaticSingleRunInference: boolean;
|
7
|
-
cacheLifetime: {
|
8
|
-
glob: number;
|
9
|
-
};
|
10
|
-
ecmaFeatures: {
|
11
|
-
jsx: boolean;
|
12
|
-
globalReturn: boolean;
|
13
|
-
};
|
14
|
-
ecmaVersion: number;
|
15
|
-
emitDecoratorMetadata: boolean;
|
16
|
-
experimentalDecorators: boolean;
|
17
|
-
isolatedDeclarations: boolean;
|
18
|
-
jsDocParsingMode: string;
|
19
|
-
projectService: boolean;
|
20
|
-
warnOnUnsupportedTypeScriptVersion: boolean;
|
21
6
|
parser: "ts";
|
22
7
|
extraFileExtensions: string[];
|
23
8
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { ts } from "./ts.js";
|
2
1
|
export const svelte = {
|
3
2
|
languageOptions: {
|
4
3
|
parser: "svelte",
|
@@ -6,8 +5,7 @@ export const svelte = {
|
|
6
5
|
parserOptions: {
|
7
6
|
parser: "ts",
|
8
7
|
extraFileExtensions: [".svelte"],
|
9
|
-
...ts.parserOptions,
|
10
8
|
},
|
11
9
|
processor: "svelte/svelte",
|
12
10
|
};
|
13
|
-
//# sourceMappingURL=svelte.js.map
|
11
|
+
//# sourceMappingURL=svelte.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE;QACf,MAAM,EAAE,QAAiB;KAC1B;IACD,aAAa,EAAE;QACb,MAAM,EAAE,IAAa;QACrB,mBAAmB,EAAE,CAAC,SAAS,CAAC;KACjC;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
|
@@ -3,19 +3,13 @@ export declare const ts: {
|
|
3
3
|
parser: "ts";
|
4
4
|
};
|
5
5
|
parserOptions: {
|
6
|
-
disallowAutomaticSingleRunInference: boolean;
|
7
|
-
cacheLifetime: {
|
8
|
-
glob: number;
|
9
|
-
};
|
10
6
|
ecmaFeatures: {
|
11
|
-
jsx: boolean;
|
12
7
|
globalReturn: boolean;
|
13
8
|
};
|
14
9
|
ecmaVersion: number;
|
15
10
|
emitDecoratorMetadata: boolean;
|
16
11
|
experimentalDecorators: boolean;
|
17
12
|
isolatedDeclarations: boolean;
|
18
|
-
jsDocParsingMode: string;
|
19
13
|
projectService: boolean;
|
20
14
|
warnOnUnsupportedTypeScriptVersion: boolean;
|
21
15
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;CA6Bd,CAAC"}
|
@@ -8,25 +8,21 @@ export const ts = {
|
|
8
8
|
// - https://typescript-eslint.io/blog/project-service/
|
9
9
|
// - https://typescript-eslint.io/getting-started/typed-linting/
|
10
10
|
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
11
|
-
//
|
12
|
-
//
|
13
|
-
disallowAutomaticSingleRunInference: false /* @default: false */,
|
14
|
-
cacheLifetime: {
|
15
|
-
glob: 30 /* "Infinity" (never) | number | @default: 30 seconds */,
|
16
|
-
},
|
11
|
+
// disallowAutomaticSingleRunInference: false /* @default: false */,
|
12
|
+
// cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
|
17
13
|
ecmaFeatures: {
|
18
|
-
jsx: false /* @default: false */,
|
14
|
+
// jsx: false /* @default: false */,
|
19
15
|
globalReturn: true /* @default: false */,
|
20
16
|
},
|
21
17
|
ecmaVersion: 2023 /* number | @default: latest" */,
|
22
|
-
emitDecoratorMetadata: false /* boolean | @default: undefined (
|
23
|
-
experimentalDecorators: false /* boolean | @default: undefined (
|
18
|
+
emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
19
|
+
experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
24
20
|
// extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
25
|
-
isolatedDeclarations: false /* boolean | @default: undefined (
|
26
|
-
jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
|
27
|
-
// jsxFragmentName: null /* string | @default: null | INFO:
|
28
|
-
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO:
|
29
|
-
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO:
|
21
|
+
isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
22
|
+
// jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
|
23
|
+
// jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
24
|
+
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
25
|
+
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
30
26
|
projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
|
31
27
|
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
|
32
28
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QACb,mEAAmE;QACnE,6GAA6G;QAC7G,uDAAuD;QACvD,gEAAgE;QAChE,gEAAgE;
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QACb,mEAAmE;QACnE,6GAA6G;QAC7G,uDAAuD;QACvD,gEAAgE;QAChE,gEAAgE;QAEhE,oEAAoE;QACpE,kGAAkG;QAClG,YAAY,EAAE;YACZ,oCAAoC;YACpC,YAAY,EAAE,IAAI,CAAC,qBAAqB;SACzC;QACD,WAAW,EAAE,IAAI,CAAC,gCAAgC;QAClD,qBAAqB,EAAE,KAAK,CAAC,kFAAkF;QAC/G,sBAAsB,EAAE,KAAK,CAAC,kFAAkF;QAChH,kMAAkM;QAClM,oBAAoB,EAAE,KAAK,CAAC,kFAAkF;QAC9G,+GAA+G;QAC/G,yJAAyJ;QACzJ,gLAAgL;QAChL,2JAA2J;QAC3J,cAAc,EAAE,IAAI,CAAC,+HAA+H;QACpJ,kCAAkC,EAAE,KAAK,CAAC,iDAAiD;KAC5F;CACF,CAAC"}
|
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.3",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -1,5 +1,3 @@
|
|
1
|
-
import { ts } from "./ts";
|
2
|
-
|
3
1
|
export const svelte = {
|
4
2
|
languageOptions: {
|
5
3
|
parser: "svelte" as const,
|
@@ -7,7 +5,6 @@ export const svelte = {
|
|
7
5
|
parserOptions: {
|
8
6
|
parser: "ts" as const,
|
9
7
|
extraFileExtensions: [".svelte"],
|
10
|
-
...ts.parserOptions,
|
11
8
|
},
|
12
9
|
processor: "svelte/svelte",
|
13
10
|
};
|
@@ -8,25 +8,22 @@ export const ts = {
|
|
8
8
|
// - https://typescript-eslint.io/blog/project-service/
|
9
9
|
// - https://typescript-eslint.io/getting-started/typed-linting/
|
10
10
|
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
11
|
-
|
12
|
-
//
|
13
|
-
|
14
|
-
cacheLifetime: {
|
15
|
-
glob: 30 /* "Infinity" (never) | number | @default: 30 seconds */,
|
16
|
-
},
|
11
|
+
|
12
|
+
// disallowAutomaticSingleRunInference: false /* @default: false */,
|
13
|
+
// cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
|
17
14
|
ecmaFeatures: {
|
18
|
-
jsx: false /* @default: false */,
|
15
|
+
// jsx: false /* @default: false */,
|
19
16
|
globalReturn: true /* @default: false */,
|
20
17
|
},
|
21
18
|
ecmaVersion: 2023 /* number | @default: latest" */,
|
22
|
-
emitDecoratorMetadata: false /* boolean | @default: undefined (
|
23
|
-
experimentalDecorators: false /* boolean | @default: undefined (
|
19
|
+
emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
20
|
+
experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
24
21
|
// extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
25
|
-
isolatedDeclarations: false /* boolean | @default: undefined (
|
26
|
-
jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
|
27
|
-
// jsxFragmentName: null /* string | @default: null | INFO:
|
28
|
-
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO:
|
29
|
-
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO:
|
22
|
+
isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
23
|
+
// jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
|
24
|
+
// jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
25
|
+
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
26
|
+
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
30
27
|
projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
|
31
28
|
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
|
32
29
|
},
|