linted 33.8.0 → 33.8.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.
@@ -1,9 +1,9 @@
1
1
  declare const _default: {
2
2
  languageOptions: {
3
3
  parser: "html";
4
- };
5
- parserOptions: {
6
- frontmatter: true;
4
+ parserOptions: {
5
+ frontmatter: true;
6
+ };
7
7
  };
8
8
  language: string;
9
9
  };
@@ -1,9 +1,9 @@
1
1
  export default {
2
2
  languageOptions: {
3
3
  parser: "html",
4
- },
5
- parserOptions: {
6
- frontmatter: true,
4
+ parserOptions: {
5
+ frontmatter: true,
6
+ },
7
7
  },
8
8
  language: "html/html",
9
9
  };
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;QACvB,aAAa,EAAE;YACb,WAAW,EAAE,IAAI;SACM;KAC1B;IACD,QAAQ,EAAE,WAAW;CACtB,CAAC"}
@@ -2,31 +2,31 @@ declare const _default: {
2
2
  ts: {
3
3
  languageOptions: {
4
4
  parser: "ts";
5
- };
6
- parserOptions: {
7
- ecmaFeatures: {
8
- globalReturn: true;
5
+ parserOptions: {
6
+ ecmaFeatures: {
7
+ globalReturn: true;
8
+ };
9
+ projectService: true;
10
+ warnOnUnsupportedTypeScriptVersion: false;
11
+ extraFileExtensions: string[];
9
12
  };
10
- projectService: true;
11
- warnOnUnsupportedTypeScriptVersion: false;
12
- extraFileExtensions: string[];
13
13
  };
14
14
  };
15
15
  svelte: {
16
16
  languageOptions: {
17
17
  parser: "svelte";
18
- };
19
- parserOptions: {
20
- parser: "ts";
18
+ parserOptions: {
19
+ parser: "ts";
20
+ };
21
21
  };
22
22
  processor: string;
23
23
  };
24
24
  html: {
25
25
  languageOptions: {
26
26
  parser: "html";
27
- };
28
- parserOptions: {
29
- frontmatter: true;
27
+ parserOptions: {
28
+ frontmatter: true;
29
+ };
30
30
  };
31
31
  language: string;
32
32
  };
@@ -1,9 +1,9 @@
1
1
  declare const _default: {
2
2
  languageOptions: {
3
3
  parser: "svelte";
4
- };
5
- parserOptions: {
6
- parser: "ts";
4
+ parserOptions: {
5
+ parser: "ts";
6
+ };
7
7
  };
8
8
  processor: string;
9
9
  };
@@ -1,9 +1,9 @@
1
1
  export default {
2
2
  languageOptions: {
3
3
  parser: "svelte",
4
- },
5
- parserOptions: {
6
- parser: "ts",
4
+ parserOptions: {
5
+ parser: "ts",
6
+ },
7
7
  },
8
8
  processor: "svelte/svelte",
9
9
  };
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,QAAiB;QACzB,aAAa,EAAE;YACb,MAAM,EAAE,IAAa;SAEtB;KACF;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
@@ -1,14 +1,14 @@
1
1
  declare const _default: {
2
2
  languageOptions: {
3
3
  parser: "ts";
4
- };
5
- parserOptions: {
6
- ecmaFeatures: {
7
- globalReturn: true;
4
+ parserOptions: {
5
+ ecmaFeatures: {
6
+ globalReturn: true;
7
+ };
8
+ projectService: true;
9
+ warnOnUnsupportedTypeScriptVersion: false;
10
+ extraFileExtensions: string[];
8
11
  };
9
- projectService: true;
10
- warnOnUnsupportedTypeScriptVersion: false;
11
- extraFileExtensions: string[];
12
12
  };
13
13
  };
14
14
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,wBAkBE"}
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,wBAmBE"}
@@ -1,14 +1,14 @@
1
1
  export default {
2
2
  languageOptions: {
3
3
  parser: "ts",
4
- },
5
- parserOptions: {
6
- ecmaFeatures: {
7
- globalReturn: true,
4
+ parserOptions: {
5
+ ecmaFeatures: {
6
+ globalReturn: true,
7
+ },
8
+ projectService: true,
9
+ warnOnUnsupportedTypeScriptVersion: false,
10
+ extraFileExtensions: [".svelte"],
8
11
  },
9
- projectService: true,
10
- warnOnUnsupportedTypeScriptVersion: false,
11
- extraFileExtensions: [".svelte"],
12
12
  },
13
13
  };
14
14
  //# sourceMappingURL=ts.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AAQA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;QACrB,aAAa,EAAE;YACb,YAAY,EAAE;gBAEZ,YAAY,EAAE,IAAI;aACnB;YACD,cAAc,EAAE,IAAI;YAMpB,kCAAkC,EAAE,KAAK;YACzC,mBAAmB,EAAE,CAAC,SAAS,CAAC;SACP;KAC5B;CAEF,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": "33.8.0",
6
+ "version": "33.8.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": [
@@ -55,8 +55,8 @@
55
55
  "dependencies": {
56
56
  "@eslint/css": "0.14.1",
57
57
  "@eslint/json": "0.14.0",
58
- "@eslinted/core": "30.1.0",
59
- "@eslinted/defaults": "17.4.2",
58
+ "@eslinted/core": "31.0.0",
59
+ "@eslinted/defaults": "17.4.5",
60
60
  "@html-eslint/eslint-plugin": "0.49.0",
61
61
  "@stylistic/eslint-plugin": "5.6.1",
62
62
  "eslint-plugin-chai-expect": "3.1.0",
@@ -3,9 +3,9 @@ import type { ParserOptions } from "@html-eslint/parser";
3
3
  export default {
4
4
  languageOptions: {
5
5
  parser: "html" as const,
6
+ parserOptions: {
7
+ frontmatter: true /* @default: false | INFO: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
8
+ } satisfies ParserOptions,
6
9
  },
7
- parserOptions: {
8
- frontmatter: true /* @default: false | INFO: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
9
- } satisfies ParserOptions,
10
10
  language: "html/html",
11
11
  };
@@ -1,10 +1,10 @@
1
1
  export default {
2
2
  languageOptions: {
3
3
  parser: "svelte" as const,
4
- },
5
- parserOptions: {
6
- parser: "ts" as const,
4
+ parserOptions: {
5
+ parser: "ts" as const,
7
6
  // extraFileExtensions: [".svelte"] /* inherits TS, needed for performance reasons: BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
7
+ },
8
8
  },
9
9
  processor: "svelte/svelte",
10
10
  };
@@ -9,19 +9,20 @@ type TsParserOptions = ParserOptions & {
9
9
  export default {
10
10
  languageOptions: {
11
11
  parser: "ts" as const,
12
- },
13
- parserOptions: {
14
- ecmaFeatures: {
12
+ parserOptions: {
13
+ ecmaFeatures: {
15
14
  // jsx: false /* @default false */,
16
- globalReturn: true /* @default false */,
17
- },
18
- projectService: true /* ProjectServiceOptions | true | @default false */,
19
- // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
20
- // - https://typescript-eslint.io/blog/project-service/
21
- // - https://typescript-eslint.io/packages/parser/#projectserviceoptions
22
- // - https://typescript-eslint.io/getting-started/typed-linting/
23
- // - https://typescript-eslint.io/troubleshooting/typed-linting/
24
- warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default true */,
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 */,
26
- } satisfies TsParserOptions,
15
+ globalReturn: true /* @default false */,
16
+ },
17
+ projectService: true /* ProjectServiceOptions | true | @default false */,
18
+ // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
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 */,
24
+ 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
+ } satisfies TsParserOptions,
26
+ },
27
+
27
28
  };