linted 32.9.0-rc.1 → 32.9.0-rc.2

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.
@@ -11,12 +11,9 @@ declare const _default: {
11
11
  ecmaFeatures: {
12
12
  globalReturn: boolean;
13
13
  };
14
- ecmaVersion: number;
15
- emitDecoratorMetadata: boolean;
16
- experimentalDecorators: boolean;
17
- isolatedDeclarations: boolean;
18
14
  projectService: boolean;
19
15
  warnOnUnsupportedTypeScriptVersion: boolean;
16
+ extraFileExtensions: string[];
20
17
  };
21
18
  };
22
19
  mocha: {
@@ -29,7 +26,6 @@ declare const _default: {
29
26
  };
30
27
  parserOptions: {
31
28
  parser: "ts";
32
- extraFileExtensions: string[];
33
29
  };
34
30
  processor: string;
35
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
@@ -5,7 +5,6 @@ declare const _default: {
5
5
  };
6
6
  parserOptions: {
7
7
  parser: "ts";
8
- extraFileExtensions: string[];
9
8
  };
10
9
  processor: string;
11
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wBAUE"}
1
+ {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wBAUE"}
@@ -5,7 +5,6 @@ export default {
5
5
  },
6
6
  parserOptions: {
7
7
  parser: "ts",
8
- extraFileExtensions: [".svelte"],
9
8
  },
10
9
  processor: "svelte/svelte",
11
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,QAAQ,CAAU;IAC5B,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"}
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,QAAQ,CAAU;IAC5B,eAAe,EAAE;QACf,MAAM,EAAE,QAAiB;KAC1B;IACD,aAAa,EAAE;QACb,MAAM,EAAE,IAAa;KAEtB;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
@@ -7,12 +7,9 @@ declare const _default: {
7
7
  ecmaFeatures: {
8
8
  globalReturn: boolean;
9
9
  };
10
- ecmaVersion: number;
11
- emitDecoratorMetadata: boolean;
12
- experimentalDecorators: boolean;
13
- isolatedDeclarations: boolean;
14
10
  projectService: boolean;
15
11
  warnOnUnsupportedTypeScriptVersion: boolean;
12
+ extraFileExtensions: string[];
16
13
  };
17
14
  };
18
15
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wBA6BE"}
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,wBA8BE"}
@@ -7,12 +7,9 @@ export default {
7
7
  ecmaFeatures: {
8
8
  globalReturn: true,
9
9
  },
10
- ecmaVersion: 2023,
11
- emitDecoratorMetadata: false,
12
- experimentalDecorators: false,
13
- isolatedDeclarations: false,
14
10
  projectService: true,
15
11
  warnOnUnsupportedTypeScriptVersion: false,
12
+ extraFileExtensions: [".svelte"],
16
13
  },
17
14
  };
18
15
  //# sourceMappingURL=ts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,oBAAoB,CAAU;IACxC,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QAQb,YAAY,EAAE;YAEZ,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,IAAI;QACjB,qBAAqB,EAAE,KAAK;QAC5B,sBAAsB,EAAE,KAAK;QAE7B,oBAAoB,EAAE,KAAK;QAK3B,cAAc,EAAE,IAAI;QACpB,kCAAkC,EAAE,KAAK;KAC1C;CACF,CAAC"}
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,oBAAoB,CAAU;IACxC,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QAGb,YAAY,EAAE;YAEZ,YAAY,EAAE,IAAI;SACnB;QAUD,cAAc,EAAE,IAAI;QAMpB,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,CAAC,SAAS,CAAC;KACjC;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": "32.9.0-rc.1",
6
+ "version": "32.9.0-rc.2",
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": [
@@ -5,7 +5,7 @@ export default {
5
5
  },
6
6
  parserOptions: {
7
7
  parser: "ts" as const,
8
- extraFileExtensions: [".svelte"],
8
+ // extraFileExtensions: [".svelte"] /* inherits TS, needed for performance reasons: BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
9
9
  },
10
10
  processor: "svelte/svelte",
11
11
  };
@@ -5,27 +5,28 @@ export default {
5
5
  parser: "ts" as const,
6
6
  },
7
7
  parserOptions: {
8
+ // disallowAutomaticSingleRunInference: false /* @default false */,
9
+ // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default 30 seconds } */,
10
+ ecmaFeatures: {
11
+ // jsx: false /* @default false */,
12
+ globalReturn: true /* @default false */,
13
+ },
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
+ projectService: true /* ProjectServiceOptions | true | @default false */,
8
24
  // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
9
25
  // - https://typescript-eslint.io/blog/project-service/
26
+ // - https://typescript-eslint.io/packages/parser/#projectserviceoptions
10
27
  // - https://typescript-eslint.io/getting-started/typed-linting/
11
28
  // - https://typescript-eslint.io/troubleshooting/typed-linting/
12
-
13
- // disallowAutomaticSingleRunInference: false /* @default: false */,
14
- // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
15
- ecmaFeatures: {
16
- // jsx: false /* @default: false */,
17
- globalReturn: true /* @default: false */,
18
- },
19
- ecmaVersion: 2023 /* number | @default: latest" */,
20
- emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
21
- experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
22
- // extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
23
- isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
24
- // jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
25
- // jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
26
- // jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
27
- // lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
28
- projectService: true /* ProjectServiceOptions (INFO: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
29
- warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
29
+ warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default true */,
30
+ 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 */,
30
31
  },
31
32
  };