linted 33.4.6 → 33.4.7
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/index.d.ts +1 -1
- package/dist/settings/css.d.ts +1 -2
- package/dist/settings/css.d.ts.map +1 -1
- package/dist/settings/css.js +0 -1
- package/dist/settings/css.js.map +1 -1
- package/dist/settings/html.d.ts +1 -2
- package/dist/settings/html.d.ts.map +1 -1
- package/dist/settings/html.js +0 -1
- package/dist/settings/html.js.map +1 -1
- package/dist/settings/index.d.ts +6 -18
- package/dist/settings/index.d.ts.map +1 -1
- package/dist/settings/index.js +0 -4
- package/dist/settings/index.js.map +1 -1
- package/dist/settings/json.d.ts +1 -2
- package/dist/settings/json.d.ts.map +1 -1
- package/dist/settings/json.js +0 -4
- package/dist/settings/json.js.map +1 -1
- package/dist/settings/svelte.d.ts +0 -1
- package/dist/settings/svelte.d.ts.map +1 -1
- package/dist/settings/svelte.js +0 -1
- package/dist/settings/svelte.js.map +1 -1
- package/dist/settings/ts.d.ts +3 -4
- package/dist/settings/ts.d.ts.map +1 -1
- package/dist/settings/ts.js +0 -1
- package/dist/settings/ts.js.map +1 -1
- package/dist/settings/yml.d.ts +0 -1
- package/dist/settings/yml.d.ts.map +1 -1
- package/dist/settings/yml.js +0 -1
- package/dist/settings/yml.js.map +1 -1
- package/package.json +6 -7
- package/src/settings/css.ts +3 -3
- package/src/settings/html.ts +3 -3
- package/src/settings/index.ts +0 -4
- package/src/settings/json.ts +3 -5
- package/src/settings/svelte.ts +0 -1
- package/src/settings/ts.ts +8 -13
- package/src/settings/yml.ts +0 -1
- package/tests/tsconfig.json +4 -0
- package/tsconfig-base.json +1 -6
- package/dist/settings/js.d.ts +0 -5
- package/dist/settings/js.d.ts.map +0 -1
- package/dist/settings/js.js +0 -4
- package/dist/settings/js.js.map +0 -1
- package/dist/settings/mocha.d.ts +0 -5
- package/dist/settings/mocha.d.ts.map +0 -1
- package/dist/settings/mocha.js +0 -8
- package/dist/settings/mocha.js.map +0 -1
- package/src/settings/js.ts +0 -3
- package/src/settings/mocha.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import Core from "@eslinted/core";
|
|
|
2
2
|
export default function (extensions?: Parameters<typeof Core>[5]["extensions"]): {
|
|
3
3
|
files?: (string | string[])[];
|
|
4
4
|
ignores?: (string)[];
|
|
5
|
-
rules?: import("@eslinted/core/
|
|
5
|
+
rules?: import("@eslinted/core/typings/rules").MutableRules;
|
|
6
6
|
}[];
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/settings/css.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":";;;;;;AAGA,wBAKE"}
|
package/dist/settings/css.js
CHANGED
package/dist/settings/css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,eAAe,EAAE;QACf,QAAQ,EAAE,KAAK;KACa;IAC9B,QAAQ,EAAE,SAAS;CACpB,CAAC"}
|
package/dist/settings/html.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":";;;;;;;;;AAEA,wBAQE"}
|
package/dist/settings/html.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;QACb,WAAW,EAAE,IAAI;KACM;IACzB,QAAQ,EAAE,WAAW;CACtB,CAAC"}
|
package/dist/settings/index.d.ts
CHANGED
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
js: {
|
|
3
|
-
plugins: readonly ["stylistic"];
|
|
4
|
-
};
|
|
5
2
|
ts: {
|
|
6
|
-
plugins: readonly ["ts"];
|
|
7
3
|
languageOptions: {
|
|
8
4
|
parser: "ts";
|
|
9
5
|
};
|
|
10
6
|
parserOptions: {
|
|
11
7
|
ecmaFeatures: {
|
|
12
|
-
globalReturn:
|
|
8
|
+
globalReturn: true;
|
|
13
9
|
};
|
|
14
|
-
projectService:
|
|
15
|
-
warnOnUnsupportedTypeScriptVersion:
|
|
10
|
+
projectService: true;
|
|
11
|
+
warnOnUnsupportedTypeScriptVersion: false;
|
|
16
12
|
extraFileExtensions: string[];
|
|
17
13
|
};
|
|
18
14
|
};
|
|
19
|
-
mocha: {
|
|
20
|
-
plugins: readonly ["mocha", "chai", "chai-expect"];
|
|
21
|
-
};
|
|
22
15
|
svelte: {
|
|
23
|
-
plugins: readonly ["svelte"];
|
|
24
16
|
languageOptions: {
|
|
25
17
|
parser: "svelte";
|
|
26
18
|
};
|
|
@@ -30,31 +22,27 @@ declare const _default: {
|
|
|
30
22
|
processor: string;
|
|
31
23
|
};
|
|
32
24
|
html: {
|
|
33
|
-
plugins: readonly ["html"];
|
|
34
25
|
languageOptions: {
|
|
35
26
|
parser: "html";
|
|
36
27
|
};
|
|
37
28
|
parserOptions: {
|
|
38
|
-
frontmatter:
|
|
29
|
+
frontmatter: true;
|
|
39
30
|
};
|
|
40
31
|
language: string;
|
|
41
32
|
};
|
|
42
33
|
css: {
|
|
43
|
-
plugins: readonly ["css"];
|
|
44
34
|
languageOptions: {
|
|
45
|
-
tolerant:
|
|
35
|
+
tolerant: false;
|
|
46
36
|
};
|
|
47
37
|
language: string;
|
|
48
38
|
};
|
|
49
39
|
json: {
|
|
50
|
-
plugins: readonly ["json", "jsonc"];
|
|
51
40
|
languageOptions: {
|
|
52
|
-
allowTrailingCommas:
|
|
41
|
+
allowTrailingCommas: true;
|
|
53
42
|
};
|
|
54
43
|
language: string;
|
|
55
44
|
};
|
|
56
45
|
yml: {
|
|
57
|
-
plugins: readonly ["yml"];
|
|
58
46
|
languageOptions: {
|
|
59
47
|
parser: "yml";
|
|
60
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOE"}
|
package/dist/settings/index.js
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import js from "./js.js";
|
|
2
1
|
import ts from "./ts.js";
|
|
3
|
-
import mocha from "./mocha.js";
|
|
4
2
|
import svelte from "./svelte.js";
|
|
5
3
|
import html from "./html.js";
|
|
6
4
|
import css from "./css.js";
|
|
7
5
|
import json from "./json.js";
|
|
8
6
|
import yml from "./yml.js";
|
|
9
7
|
export default {
|
|
10
|
-
js,
|
|
11
8
|
ts,
|
|
12
|
-
mocha,
|
|
13
9
|
svelte,
|
|
14
10
|
html,
|
|
15
11
|
css,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,GAAG;CACJ,CAAC"}
|
package/dist/settings/json.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":";;;;;;AAEA,wBAKE"}
|
package/dist/settings/json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI;KACI;IAC/B,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wBASE"}
|
package/dist/settings/svelte.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,QAAiB;KAC1B;IACD,aAAa,EAAE;QACb,MAAM,EAAE,IAAa;KAEtB;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
|
package/dist/settings/ts.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
plugins: readonly ["ts"];
|
|
3
2
|
languageOptions: {
|
|
4
3
|
parser: "ts";
|
|
5
4
|
};
|
|
6
5
|
parserOptions: {
|
|
7
6
|
ecmaFeatures: {
|
|
8
|
-
globalReturn:
|
|
7
|
+
globalReturn: true;
|
|
9
8
|
};
|
|
10
|
-
projectService:
|
|
11
|
-
warnOnUnsupportedTypeScriptVersion:
|
|
9
|
+
projectService: true;
|
|
10
|
+
warnOnUnsupportedTypeScriptVersion: false;
|
|
12
11
|
extraFileExtensions: string[];
|
|
13
12
|
};
|
|
14
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,wBAkBE"}
|
package/dist/settings/ts.js
CHANGED
package/dist/settings/ts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AAQA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QACb,YAAY,EAAE;YAEZ,YAAY,EAAE,IAAI;SACnB;QACD,cAAc,EAAE,IAAI;QAMpB,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,CAAC,SAAS,CAAC;KACP;CAC5B,CAAC"}
|
package/dist/settings/yml.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":";;;;;AACA,wBAIE"}
|
package/dist/settings/yml.js
CHANGED
package/dist/settings/yml.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$pkg": "2411.
|
|
2
|
+
"$pkg": "2411.6.1",
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
|
5
5
|
"name": "linted",
|
|
6
|
-
"version": "33.4.
|
|
6
|
+
"version": "33.4.7",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted",
|
|
8
8
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
|
9
9
|
"keywords": [
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@eslint/css": "0.14.0",
|
|
57
57
|
"@eslint/json": "0.13.2",
|
|
58
|
-
"@eslinted/core": "29.4.
|
|
59
|
-
"@eslinted/defaults": "17.2.
|
|
58
|
+
"@eslinted/core": "29.4.6",
|
|
59
|
+
"@eslinted/defaults": "17.2.7",
|
|
60
60
|
"@html-eslint/eslint-plugin": "0.47.0",
|
|
61
61
|
"@stylistic/eslint-plugin": "5.5.0",
|
|
62
62
|
"eslint-plugin-chai-expect": "3.1.0",
|
|
@@ -75,17 +75,16 @@
|
|
|
75
75
|
"typescript": "^5.9.3"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
|
-
"clean": "cmd --% /c \"for %G in (types dist
|
|
78
|
+
"clean": "cmd --% /c \"for %G in (types dist build packed) do (if exist %G rmdir /s /q %G) & for %G in (.eslintcache) do (if exist %G del /f /q %G)\" || rm -rf types dist build packed .eslintcache",
|
|
79
79
|
"build": "npm run build:ts",
|
|
80
80
|
"build:ts": "tsc -b src",
|
|
81
81
|
"build:svelte": "svelte-kit sync && svelte-check && vite build",
|
|
82
82
|
"postbuild:ts": "npm run --if-present stage && ts-add-js-extension --showprogress=false --dir=dist",
|
|
83
83
|
"postbuild": "npm run lint || exit 0",
|
|
84
84
|
"lint": "eslint --cache --fix",
|
|
85
|
-
"pretest": "npm run
|
|
85
|
+
"pretest": "npm run build",
|
|
86
86
|
"test": "npm run --if-present test:suite",
|
|
87
87
|
"test:suite": "tsc -b tests && ts-add-js-extension --showprogress=false --dir=dist && mocha",
|
|
88
|
-
"posttest": "npm run postbuild",
|
|
89
88
|
"prestart": "npm run build",
|
|
90
89
|
"start": "npm run start:ts",
|
|
91
90
|
"start:ts": "node .",
|
package/src/settings/css.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { CSSLanguageOptions } from "@eslint/css";
|
|
2
|
+
|
|
1
3
|
// DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
|
|
2
4
|
export default {
|
|
3
|
-
plugins: ["css"] as const,
|
|
4
5
|
languageOptions: {
|
|
5
6
|
tolerant: false /* @default: true | INFO: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
|
|
6
|
-
|
|
7
|
-
},
|
|
7
|
+
} satisfies CSSLanguageOptions,
|
|
8
8
|
language: "css/css",
|
|
9
9
|
};
|
package/src/settings/html.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { ParserOptions } from "@html-eslint/parser";
|
|
2
|
+
|
|
1
3
|
export default {
|
|
2
|
-
plugins: ["html"] as const,
|
|
3
4
|
languageOptions: {
|
|
4
5
|
parser: "html" as const,
|
|
5
6
|
},
|
|
6
7
|
parserOptions: {
|
|
7
|
-
// templateEngineSyntax: {} /* INFO: https://html-eslint.org/docs/integrating-template-engine */,
|
|
8
8
|
frontmatter: true /* @default: false | INFO: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
|
|
9
|
-
},
|
|
9
|
+
} satisfies ParserOptions,
|
|
10
10
|
language: "html/html",
|
|
11
11
|
};
|
package/src/settings/index.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import js from "./js";
|
|
2
1
|
import ts from "./ts";
|
|
3
|
-
import mocha from "./mocha";
|
|
4
2
|
import svelte from "./svelte";
|
|
5
3
|
import html from "./html";
|
|
6
4
|
import css from "./css";
|
|
@@ -8,9 +6,7 @@ import json from "./json";
|
|
|
8
6
|
import yml from "./yml";
|
|
9
7
|
|
|
10
8
|
export default {
|
|
11
|
-
js,
|
|
12
9
|
ts,
|
|
13
|
-
mocha,
|
|
14
10
|
svelte,
|
|
15
11
|
html,
|
|
16
12
|
css,
|
package/src/settings/json.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
import type { JSONLanguageOptions } from "@eslint/json";
|
|
2
|
+
|
|
1
3
|
export default {
|
|
2
|
-
plugins: [
|
|
3
|
-
"json",
|
|
4
|
-
"jsonc",
|
|
5
|
-
] as const,
|
|
6
4
|
languageOptions: {
|
|
7
5
|
allowTrailingCommas: true /* INFO: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
|
|
8
|
-
},
|
|
6
|
+
} satisfies JSONLanguageOptions,
|
|
9
7
|
language: "json/jsonc" /* INFO: `languageOptions.allowTrailingCommas` is only available on language `json/jsonc` */,
|
|
10
8
|
};
|
package/src/settings/svelte.ts
CHANGED
package/src/settings/ts.ts
CHANGED
|
@@ -1,25 +1,20 @@
|
|
|
1
|
+
import type { ParserOptions } from "@typescript-eslint/types";
|
|
2
|
+
|
|
1
3
|
// DOC: https://typescript-eslint.io/packages/parser/#configuration
|
|
4
|
+
|
|
5
|
+
type TsParserOptions = ParserOptions & {
|
|
6
|
+
disallowAutomaticSingleRunInference?: boolean;
|
|
7
|
+
};
|
|
8
|
+
|
|
2
9
|
export default {
|
|
3
|
-
plugins: ["ts"] as const,
|
|
4
10
|
languageOptions: {
|
|
5
11
|
parser: "ts" as const,
|
|
6
12
|
},
|
|
7
13
|
parserOptions: {
|
|
8
|
-
// disallowAutomaticSingleRunInference: false /* @default false */,
|
|
9
|
-
// cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default 30 seconds } */,
|
|
10
14
|
ecmaFeatures: {
|
|
11
15
|
// jsx: false /* @default false */,
|
|
12
16
|
globalReturn: true /* @default false */,
|
|
13
17
|
},
|
|
14
|
-
// ecmaVersion: "latest" /* number | @default latest" */,
|
|
15
|
-
// emitDecoratorMetadata: true /* boolean | @default undefined (inherits tsconfig, which has @default false) */,
|
|
16
|
-
// experimentalDecorators: true /* boolean | @default undefined (inherits tsconfig, which has @default false) */,
|
|
17
|
-
// extraFileExtensions: [] /* string[] | @default [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
|
18
|
-
// isolatedDeclarations: true /* boolean | @default undefined (inherits tsconfig, which has @default false) */,
|
|
19
|
-
// jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default none */,
|
|
20
|
-
// jsxFragmentName: null /* string | @default null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
21
|
-
// jsxPragma: "React" /* null | string (e.g. "preact") | @default "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
22
|
-
// lib: ["es2018"] /* string[] | @default ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
23
18
|
projectService: true /* ProjectServiceOptions | true | @default false */,
|
|
24
19
|
// INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
|
|
25
20
|
// - https://typescript-eslint.io/blog/project-service/
|
|
@@ -28,5 +23,5 @@ export default {
|
|
|
28
23
|
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
|
29
24
|
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default true */,
|
|
30
25
|
extraFileExtensions: [".svelte"] /* BUG: Needed to avoid performance issues in Svelte/TS projects: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
|
31
|
-
},
|
|
26
|
+
} satisfies TsParserOptions,
|
|
32
27
|
};
|
package/src/settings/yml.ts
CHANGED
package/tests/tsconfig.json
CHANGED
package/tsconfig-base.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"display": "tsc@509.
|
|
2
|
+
"display": "tsc@509.6.0",
|
|
3
3
|
"$help": "https://aka.ms/tsconfig/#quick-nav-Top%20Level",
|
|
4
4
|
"compilerOptions": {
|
|
5
5
|
"allowUnreachableCode": false,
|
|
@@ -17,11 +17,6 @@
|
|
|
17
17
|
"module": "esnext",
|
|
18
18
|
"moduleResolution": "bundler",
|
|
19
19
|
"rewriteRelativeImportExtensions": true,
|
|
20
|
-
"rootDirs": [
|
|
21
|
-
"src",
|
|
22
|
-
"typings",
|
|
23
|
-
"./",
|
|
24
|
-
],
|
|
25
20
|
"types": [
|
|
26
21
|
"mocha",
|
|
27
22
|
"chai",
|
package/dist/settings/js.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/settings/js.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
|
package/dist/settings/js.js
DELETED
package/dist/settings/js.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/settings/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,WAAW,CAAU;CAChC,CAAC"}
|
package/dist/settings/mocha.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../src/settings/mocha.ts"],"names":[],"mappings":";;;AAAA,wBAME"}
|
package/dist/settings/mocha.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../src/settings/mocha.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE;QACP,OAAO;QACP,MAAM;QACN,aAAa;KACL;CACX,CAAC"}
|
package/src/settings/js.ts
DELETED