linted 35.1.8 → 35.1.10
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 +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/scope/index.d.ts +2 -3
- package/dist/scope/index.d.ts.map +1 -1
- package/dist/scope/index.js +3 -2
- package/dist/scope/index.js.map +1 -1
- package/dist/scope/optional.d.ts +2 -0
- package/dist/scope/optional.d.ts.map +1 -0
- package/dist/scope/optional.js +2 -0
- package/dist/scope/optional.js.map +1 -0
- package/dist/scope/tree.d.ts +1 -1
- package/dist/scope/tree.d.ts.map +1 -1
- package/dist/scope/tree.js.map +1 -1
- package/dist/settings/html.d.ts +1 -1
- package/dist/settings/html.js.map +1 -1
- package/dist/settings/index.d.ts +5 -5
- package/dist/settings/svelte.d.ts +2 -2
- package/dist/settings/svelte.js.map +1 -1
- package/dist/settings/ts.d.ts +1 -1
- package/dist/settings/ts.d.ts.map +1 -1
- package/dist/settings/ts.js.map +1 -1
- package/dist/settings/yml.d.ts +1 -1
- package/dist/settings/yml.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -4
- package/src/scope/index.ts +4 -3
- package/src/scope/optional.ts +1 -0
- package/src/scope/tree.ts +6 -6
- package/src/scope/tsconfig.json +1 -0
- package/src/settings/html.ts +1 -1
- package/src/settings/svelte.ts +2 -2
- package/src/settings/ts.ts +4 -10
- package/src/settings/yml.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import Core from "@eslinted/core";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { scopes, optional } from "./scope/index.js";
|
|
3
|
+
export default function (extensions?: Parameters<typeof Core<typeof scopes[number], typeof optional[number]>>[6]): unknown[];
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EAET,MAAM,SAAS,CAAC;AAoBjB,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAM,aA6B5F"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAI1C,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EACL,MAAM,IAAI,EAAE,EACZ,MAAM,IAAI,QAAQ,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,MAAM,CAAC,OAAO,WACZ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAI1C,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EACL,MAAM,IAAI,EAAE,EACZ,MAAM,IAAI,QAAQ,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,MAAM,CAAC,OAAO,WACZ,aAAyF,EAAE;IAE3F,MAAM,OAAO,GAAG,IAAI,CAClB,MAAM,EACN,QAAQ,EACR,IAAI,EACJ;QACE,EAAE,EAAE,QAAmB;QACvB,IAAI,EAAE,UAAU;QAChB,GAAG,EAAE,SAAS;KACf,EACD,QAAQ,EACR,QAAQ,EACR,UAAU,CACX,CAAC;IAEF,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG;QACxB,OAAO,EAAE;YACP,SAAS;YACT,EAAE,EAAE,EAAa;YACjB,IAAI,EAAE,IAAe;YACrB,GAAG;YACH,IAAI;YACJ,KAAK;YACL,GAAG;SACJ;KACF,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/dist/scope/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { tree } from "./tree.js";
|
|
2
1
|
export declare const scopes: readonly [
|
|
3
2
|
"js",
|
|
4
3
|
"ts",
|
|
@@ -10,7 +9,7 @@ export declare const scopes: readonly [
|
|
|
10
9
|
"jsonc",
|
|
11
10
|
"jsoncc",
|
|
12
11
|
"yml"
|
|
13
|
-
], optional: readonly [
|
|
14
|
-
"svelte"
|
|
15
12
|
];
|
|
13
|
+
export { optional } from "./optional.js";
|
|
14
|
+
export { tree } from "./tree.js";
|
|
16
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,2FAWT,CAAC;AAEX,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/scope/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { tree } from "./tree.js";
|
|
2
1
|
export const scopes = [
|
|
3
2
|
"js",
|
|
4
3
|
"ts",
|
|
@@ -10,5 +9,7 @@ export const scopes = [
|
|
|
10
9
|
"jsonc",
|
|
11
10
|
"jsoncc",
|
|
12
11
|
"yml",
|
|
13
|
-
]
|
|
12
|
+
];
|
|
13
|
+
export { optional } from "./optional.js";
|
|
14
|
+
export { tree } from "./tree.js";
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
package/dist/scope/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,QAAQ;IACR,KAAK;CACG,CAAC;AAEX,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optional.d.ts","sourceRoot":"","sources":["../../src/scope/optional.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,qBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optional.js","sourceRoot":"","sources":["../../src/scope/optional.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,QAAQ,CAAU,CAAC"}
|
package/dist/scope/tree.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const tree:
|
|
1
|
+
export declare const tree: readonly [readonly ["jsoncc", readonly ["jsonc"]], readonly ["jsonc", readonly ["json"]], readonly ["svelte", readonly ["ts"]], readonly ["mocha", readonly ["ts"]], readonly ["ts", readonly ["js"]]];
|
|
2
2
|
//# sourceMappingURL=tree.d.ts.map
|
package/dist/scope/tree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,wMAqBP,CAAC"}
|
package/dist/scope/tree.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB;QACE,QAAQ;QACR,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB;QACE,QAAQ;QACR,CAAC,OAAO,CAAC;KACV;IACD;QACE,OAAO;QACP,CAAC,MAAM,CAAC;KACT;IACD;QACE,QAAQ;QACR,CAAC,IAAI,CAAC;KACP;IACD;QACE,OAAO;QACP,CAAC,IAAI,CAAC;KACP;IACD;QACE,IAAI;QACJ,CAAC,IAAI,CAAC;KACP;CACO,CAAC"}
|
package/dist/settings/html.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,MAAM;QACd,aAAa,EAAE;YACb,WAAW,EAAE,IAAI;SACM;KAC1B;IACD,QAAQ,EAAE,WAAW;CACtB,CAAC"}
|
package/dist/settings/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ts: {
|
|
3
3
|
languageOptions: {
|
|
4
|
-
parser:
|
|
4
|
+
parser: string;
|
|
5
5
|
parserOptions: {
|
|
6
6
|
ecmaFeatures: {
|
|
7
7
|
globalReturn: true;
|
|
@@ -14,16 +14,16 @@ declare const _default: {
|
|
|
14
14
|
};
|
|
15
15
|
svelte: {
|
|
16
16
|
languageOptions: {
|
|
17
|
-
parser:
|
|
17
|
+
parser: string;
|
|
18
18
|
parserOptions: {
|
|
19
|
-
parser:
|
|
19
|
+
parser: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
processor: string;
|
|
23
23
|
};
|
|
24
24
|
html: {
|
|
25
25
|
languageOptions: {
|
|
26
|
-
parser:
|
|
26
|
+
parser: string;
|
|
27
27
|
parserOptions: {
|
|
28
28
|
frontmatter: true;
|
|
29
29
|
};
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
};
|
|
45
45
|
yml: {
|
|
46
46
|
languageOptions: {
|
|
47
|
-
parser:
|
|
47
|
+
parser: string;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACb,MAAM,EAAE,IAAI;SAEb;KACF;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
|
package/dist/settings/ts.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,wBAaE"}
|
package/dist/settings/ts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AAQA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AAQA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE;YACb,YAAY,EAAE;gBACZ,YAAY,EAAE,IAAI;aACnB;YACD,cAAc,EAAE,IAAI;YACpB,kCAAkC,EAAE,KAAK;YACzC,mBAAmB,EAAE,CAAC,SAAS,CAAC;SACP;KAC5B;CAEF,CAAC"}
|
package/dist/settings/yml.d.ts
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,eAAe,EAAE;QACf,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,KAAK;KACd;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": "linted",
|
|
6
|
-
"version": "35.1.
|
|
6
|
+
"version": "35.1.10",
|
|
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": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@eslint/css": "0.14.1",
|
|
53
53
|
"@eslint/json": "0.14.0",
|
|
54
|
-
"@eslinted/core": "32.0.
|
|
54
|
+
"@eslinted/core": "32.0.7",
|
|
55
55
|
"@eslinted/defaults": "17.6.2",
|
|
56
56
|
"@html-eslint/eslint-plugin": "0.50.0",
|
|
57
57
|
"@stylistic/eslint-plugin": "5.6.1",
|
package/src/index.ts
CHANGED
|
@@ -25,14 +25,14 @@ import ymlParser from "yaml-eslint-parser";
|
|
|
25
25
|
// #endregion
|
|
26
26
|
|
|
27
27
|
export default function (
|
|
28
|
-
extensions: Parameters<typeof Core
|
|
28
|
+
extensions: Parameters<typeof Core<typeof scopes[number], typeof optional[number]>>[6] = {},
|
|
29
29
|
) {
|
|
30
30
|
const configs = Core(
|
|
31
31
|
scopes,
|
|
32
32
|
optional,
|
|
33
33
|
tree,
|
|
34
34
|
{
|
|
35
|
-
ts: tsParser as
|
|
35
|
+
ts: tsParser as unknown,
|
|
36
36
|
html: htmlParser,
|
|
37
37
|
yml: ymlParser,
|
|
38
38
|
},
|
|
@@ -44,8 +44,8 @@ export default function (
|
|
|
44
44
|
configs[configs.length] = {
|
|
45
45
|
plugins: {
|
|
46
46
|
stylistic,
|
|
47
|
-
ts: ts as
|
|
48
|
-
html: html as
|
|
47
|
+
ts: ts as unknown,
|
|
48
|
+
html: html as unknown,
|
|
49
49
|
css,
|
|
50
50
|
json,
|
|
51
51
|
jsonc,
|
package/src/scope/index.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { tree } from "./tree";
|
|
2
1
|
export const scopes = [
|
|
3
2
|
"js",
|
|
4
3
|
"ts",
|
|
@@ -10,5 +9,7 @@ export const scopes = [
|
|
|
10
9
|
"jsonc",
|
|
11
10
|
"jsoncc",
|
|
12
11
|
"yml",
|
|
13
|
-
] as const
|
|
14
|
-
|
|
12
|
+
] as const;
|
|
13
|
+
|
|
14
|
+
export { optional } from "./optional";
|
|
15
|
+
export { tree } from "./tree";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const optional = ["svelte"] as const;
|
package/src/scope/tree.ts
CHANGED
|
@@ -2,21 +2,21 @@ export const tree = [
|
|
|
2
2
|
[
|
|
3
3
|
"jsoncc",
|
|
4
4
|
["jsonc"],
|
|
5
|
-
]
|
|
5
|
+
],
|
|
6
6
|
[
|
|
7
7
|
"jsonc",
|
|
8
8
|
["json"],
|
|
9
|
-
]
|
|
9
|
+
],
|
|
10
10
|
[
|
|
11
11
|
"svelte",
|
|
12
12
|
["ts"],
|
|
13
|
-
]
|
|
13
|
+
],
|
|
14
14
|
[
|
|
15
15
|
"mocha",
|
|
16
16
|
["ts"],
|
|
17
|
-
]
|
|
17
|
+
],
|
|
18
18
|
[
|
|
19
19
|
"ts",
|
|
20
20
|
["js"],
|
|
21
|
-
]
|
|
22
|
-
];
|
|
21
|
+
],
|
|
22
|
+
] as const;
|
package/src/scope/tsconfig.json
CHANGED
package/src/settings/html.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ParserOptions } from "@html-eslint/parser";
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
languageOptions: {
|
|
5
|
-
parser: "html"
|
|
5
|
+
parser: "html",
|
|
6
6
|
parserOptions: {
|
|
7
7
|
frontmatter: true /* @default: false | INFO: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
|
|
8
8
|
} satisfies ParserOptions,
|
package/src/settings/svelte.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
languageOptions: {
|
|
3
|
-
parser: "svelte"
|
|
3
|
+
parser: "svelte",
|
|
4
4
|
parserOptions: {
|
|
5
|
-
parser: "ts"
|
|
5
|
+
parser: "ts",
|
|
6
6
|
// extraFileExtensions: [".svelte"] /* inherits TS, needed for performance reasons: BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
|
7
7
|
},
|
|
8
8
|
},
|
package/src/settings/ts.ts
CHANGED
|
@@ -8,19 +8,13 @@ type TsParserOptions = ParserOptions & {
|
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
10
|
languageOptions: {
|
|
11
|
-
parser: "ts"
|
|
11
|
+
parser: "ts",
|
|
12
12
|
parserOptions: {
|
|
13
13
|
ecmaFeatures: {
|
|
14
|
-
|
|
15
|
-
globalReturn: true /* @default false */,
|
|
14
|
+
globalReturn: true,
|
|
16
15
|
},
|
|
17
|
-
projectService: true
|
|
18
|
-
|
|
19
|
-
// - https://typescript-eslint.io/blog/project-service/
|
|
20
|
-
// - https://typescript-eslint.io/packages/parser/#projectserviceoptions
|
|
21
|
-
// - https://typescript-eslint.io/getting-started/typed-linting/
|
|
22
|
-
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
|
23
|
-
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default true */,
|
|
16
|
+
projectService: true,
|
|
17
|
+
warnOnUnsupportedTypeScriptVersion: false,
|
|
24
18
|
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 */,
|
|
25
19
|
} satisfies TsParserOptions,
|
|
26
20
|
},
|