linted 32.9.0-rc.4 → 32.9.0-rc.6

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.
Files changed (46) hide show
  1. package/dist/settings/css.d.ts +0 -1
  2. package/dist/settings/css.d.ts.map +1 -1
  3. package/dist/settings/css.js +0 -1
  4. package/dist/settings/css.js.map +1 -1
  5. package/dist/settings/html.d.ts +0 -1
  6. package/dist/settings/html.d.ts.map +1 -1
  7. package/dist/settings/html.js +0 -1
  8. package/dist/settings/html.js.map +1 -1
  9. package/dist/settings/index.d.ts +0 -12
  10. package/dist/settings/index.d.ts.map +1 -1
  11. package/dist/settings/index.js +0 -4
  12. package/dist/settings/index.js.map +1 -1
  13. package/dist/settings/json.d.ts +0 -1
  14. package/dist/settings/json.d.ts.map +1 -1
  15. package/dist/settings/json.js +0 -4
  16. package/dist/settings/json.js.map +1 -1
  17. package/dist/settings/svelte.d.ts +0 -1
  18. package/dist/settings/svelte.d.ts.map +1 -1
  19. package/dist/settings/svelte.js +0 -1
  20. package/dist/settings/svelte.js.map +1 -1
  21. package/dist/settings/ts.d.ts +0 -1
  22. package/dist/settings/ts.d.ts.map +1 -1
  23. package/dist/settings/ts.js +0 -1
  24. package/dist/settings/ts.js.map +1 -1
  25. package/dist/settings/yml.d.ts +0 -1
  26. package/dist/settings/yml.d.ts.map +1 -1
  27. package/dist/settings/yml.js +0 -1
  28. package/dist/settings/yml.js.map +1 -1
  29. package/package.json +3 -3
  30. package/src/settings/css.ts +0 -1
  31. package/src/settings/html.ts +0 -1
  32. package/src/settings/index.ts +0 -4
  33. package/src/settings/json.ts +0 -4
  34. package/src/settings/svelte.ts +0 -1
  35. package/src/settings/ts.ts +0 -1
  36. package/src/settings/yml.ts +0 -1
  37. package/dist/settings/js.d.ts +0 -5
  38. package/dist/settings/js.d.ts.map +0 -1
  39. package/dist/settings/js.js +0 -4
  40. package/dist/settings/js.js.map +0 -1
  41. package/dist/settings/mocha.d.ts +0 -5
  42. package/dist/settings/mocha.d.ts.map +0 -1
  43. package/dist/settings/mocha.js +0 -8
  44. package/dist/settings/mocha.js.map +0 -1
  45. package/src/settings/js.ts +0 -3
  46. package/src/settings/mocha.ts +0 -7
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["css"];
3
2
  languageOptions: {
4
3
  tolerant: boolean;
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":";;;;;;;AACA,wBAOE"}
1
+ {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":";;;;;;AACA,wBAME"}
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["css"],
3
2
  languageOptions: {
4
3
  tolerant: false,
5
4
  },
@@ -1 +1 @@
1
- {"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,KAAK,CAAU;IACzB,eAAe,EAAE;QACf,QAAQ,EAAE,KAAK;KAEhB;IACD,QAAQ,EAAE,SAAS;CACpB,CAAC"}
1
+ {"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"AACA,eAAe;IACb,eAAe,EAAE;QACf,QAAQ,EAAE,KAAK;KAEhB;IACD,QAAQ,EAAE,SAAS;CACpB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["html"];
3
2
  languageOptions: {
4
3
  parser: "html";
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wBAUE"}
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wBASE"}
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["html"],
3
2
  languageOptions: {
4
3
  parser: "html",
5
4
  },
@@ -1 +1 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,MAAM,CAAU;IAC1B,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;QAEb,WAAW,EAAE,IAAI;KAClB;IACD,QAAQ,EAAE,WAAW;CACtB,CAAC"}
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;QAEb,WAAW,EAAE,IAAI;KAClB;IACD,QAAQ,EAAE,WAAW;CACtB,CAAC"}
@@ -1,9 +1,5 @@
1
1
  declare const _default: {
2
- js: {
3
- plugins: readonly ["@stylistic"];
4
- };
5
2
  ts: {
6
- plugins: readonly ["@typescript-eslint"];
7
3
  languageOptions: {
8
4
  parser: "ts";
9
5
  };
@@ -16,11 +12,7 @@ declare const _default: {
16
12
  extraFileExtensions: string[];
17
13
  };
18
14
  };
19
- mocha: {
20
- plugins: readonly ["mocha", "chai-friendly", "chai-expect"];
21
- };
22
15
  svelte: {
23
- plugins: readonly ["svelte"];
24
16
  languageOptions: {
25
17
  parser: "svelte";
26
18
  };
@@ -30,7 +22,6 @@ 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
  };
@@ -40,21 +31,18 @@ declare const _default: {
40
31
  language: string;
41
32
  };
42
33
  css: {
43
- plugins: readonly ["css"];
44
34
  languageOptions: {
45
35
  tolerant: boolean;
46
36
  };
47
37
  language: string;
48
38
  };
49
39
  json: {
50
- plugins: readonly ["json", "jsonc"];
51
40
  languageOptions: {
52
41
  allowTrailingCommas: boolean;
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOE"}
@@ -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,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,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,EAAE;IACF,KAAK;IACL,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,GAAG;CACJ,CAAC"}
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"}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["json", "jsonc"];
3
2
  languageOptions: {
4
3
  allowTrailingCommas: boolean;
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":";;;;;;;AAAA,wBASE"}
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKE"}
@@ -1,8 +1,4 @@
1
1
  export default {
2
- plugins: [
3
- "json",
4
- "jsonc",
5
- ],
6
2
  languageOptions: {
7
3
  allowTrailingCommas: true,
8
4
  },
@@ -1 +1 @@
1
- {"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE;QACP,MAAM;QACN,OAAO;KACC;IACV,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI;KAC1B;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/settings/json.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI;KAC1B;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["svelte"];
3
2
  languageOptions: {
4
3
  parser: "svelte";
5
4
  };
@@ -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,wBASE"}
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["svelte"],
3
2
  languageOptions: {
4
3
  parser: "svelte",
5
4
  },
@@ -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;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;KAC1B;IACD,aAAa,EAAE;QACb,MAAM,EAAE,IAAa;KAEtB;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["@typescript-eslint"];
3
2
  languageOptions: {
4
3
  parser: "ts";
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,wBA8BE"}
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,wBA6BE"}
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["@typescript-eslint"],
3
2
  languageOptions: {
4
3
  parser: "ts",
5
4
  },
@@ -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;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"}
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AACA,eAAe;IACb,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"}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- plugins: readonly ["yml"];
3
2
  languageOptions: {
4
3
  parser: "yml";
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":";;;;;;AACA,wBAKE"}
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":";;;;;AACA,wBAIE"}
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["yml"],
3
2
  languageOptions: {
4
3
  parser: "yml",
5
4
  },
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,KAAK,CAAU;IACzB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;CACF,CAAC"}
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
@@ -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.4",
6
+ "version": "32.9.0-rc.6",
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": [
@@ -53,8 +53,8 @@
53
53
  "dependencies": {
54
54
  "@eslint/css": "0.13.0",
55
55
  "@eslint/json": "0.13.2",
56
- "@eslinted/core": "28.0.0-rc.5",
57
- "@eslinted/defaults": "16.0.0-rc.2",
56
+ "@eslinted/core": "28.0.0-rc.7",
57
+ "@eslinted/defaults": "16.0.0-rc.3",
58
58
  "@html-eslint/eslint-plugin": "0.47.0",
59
59
  "@stylistic/eslint-plugin": "5.4.0",
60
60
  "eslint-plugin-chai-expect": "3.1.0",
@@ -1,6 +1,5 @@
1
1
  // DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
2
2
  export default {
3
- plugins: ["css"] as const,
4
3
  languageOptions: {
5
4
  tolerant: false /* @default: true | INFO: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
6
5
  // customSyntax: {} /* INFO: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | INFO: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["html"] as const,
3
2
  languageOptions: {
4
3
  parser: "html" as const,
5
4
  },
@@ -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,
@@ -1,8 +1,4 @@
1
1
  export default {
2
- plugins: [
3
- "json",
4
- "jsonc",
5
- ] as const,
6
2
  languageOptions: {
7
3
  allowTrailingCommas: true /* INFO: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
8
4
  },
@@ -1,5 +1,4 @@
1
1
  export default {
2
- plugins: ["svelte"] as const,
3
2
  languageOptions: {
4
3
  parser: "svelte" as const,
5
4
  },
@@ -1,6 +1,5 @@
1
1
  // DOC: https://typescript-eslint.io/packages/parser/#configuration
2
2
  export default {
3
- plugins: ["@typescript-eslint"] as const,
4
3
  languageOptions: {
5
4
  parser: "ts" as const,
6
5
  },
@@ -1,6 +1,5 @@
1
1
  // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
2
2
  export default {
3
- plugins: ["yml"] as const,
4
3
  languageOptions: {
5
4
  parser: "yml" as const,
6
5
  },
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- plugins: readonly ["@stylistic"];
3
- };
4
- export default _default;
5
- //# sourceMappingURL=js.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/settings/js.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
@@ -1,4 +0,0 @@
1
- export default {
2
- plugins: ["@stylistic"],
3
- };
4
- //# sourceMappingURL=js.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/settings/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,YAAY,CAAU;CACjC,CAAC"}
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- plugins: readonly ["mocha", "chai-friendly", "chai-expect"];
3
- };
4
- export default _default;
5
- //# sourceMappingURL=mocha.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../src/settings/mocha.ts"],"names":[],"mappings":";;;AAAA,wBAME"}
@@ -1,8 +0,0 @@
1
- export default {
2
- plugins: [
3
- "mocha",
4
- "chai-friendly",
5
- "chai-expect",
6
- ],
7
- };
8
- //# sourceMappingURL=mocha.js.map
@@ -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,eAAe;QACf,aAAa;KACL;CACX,CAAC"}
@@ -1,3 +0,0 @@
1
- export default {
2
- plugins: ["@stylistic"] as const,
3
- };
@@ -1,7 +0,0 @@
1
- export default {
2
- plugins: [
3
- "mocha",
4
- "chai-friendly",
5
- "chai-expect",
6
- ] as const,
7
- };