@eslinted/defaults 15.0.2-rc.4 → 15.0.2-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.
package/dist/index.d.ts CHANGED
@@ -1,10 +1,14 @@
1
1
  declare const _default: {
2
2
  settings: {
3
3
  js: {
4
- plugins: string[];
4
+ plugins: readonly [
5
+ "@stylistic"
6
+ ];
5
7
  };
6
8
  ts: {
7
- plugins: string[];
9
+ plugins: readonly [
10
+ "@typescript-eslint"
11
+ ];
8
12
  languageOptions: {
9
13
  parser: "ts";
10
14
  };
@@ -21,10 +25,16 @@ declare const _default: {
21
25
  };
22
26
  };
23
27
  mocha: {
24
- plugins: string[];
28
+ plugins: readonly [
29
+ "mocha",
30
+ "chai-friendly",
31
+ "chai-expect"
32
+ ];
25
33
  };
26
34
  svelte: {
27
- plugins: string[];
35
+ plugins: readonly [
36
+ "svelte"
37
+ ];
28
38
  languageOptions: {
29
39
  parser: "svelte";
30
40
  };
@@ -35,7 +45,9 @@ declare const _default: {
35
45
  processor: string;
36
46
  };
37
47
  html: {
38
- plugins: string[];
48
+ plugins: readonly [
49
+ "html"
50
+ ];
39
51
  languageOptions: {
40
52
  parser: "html";
41
53
  };
@@ -45,27 +57,28 @@ declare const _default: {
45
57
  language: string;
46
58
  };
47
59
  css: {
48
- plugins: string[];
60
+ plugins: readonly [
61
+ "css"
62
+ ];
49
63
  languageOptions: {
50
64
  tolerant: boolean;
51
65
  };
52
66
  language: string;
53
67
  };
54
68
  json: {
55
- plugins: string[];
69
+ plugins: readonly [
70
+ "json",
71
+ "jsonc"
72
+ ];
56
73
  languageOptions: {
57
74
  allowTrailingCommas: boolean;
58
75
  };
59
76
  language: string;
60
77
  };
61
- jsonc: {
62
- language: string;
63
- };
64
- jsoncc: {
65
- language: string;
66
- };
67
78
  yml: {
68
- plugins: string[];
79
+ plugins: readonly [
80
+ "yml"
81
+ ];
69
82
  languageOptions: {
70
83
  parser: "yml";
71
84
  };
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["css"];
3
3
  languageOptions: {
4
4
  tolerant: boolean;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/settings/css.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,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,OAAO,EAAE,CAAC,KAAK,CAAU;IACzB,eAAe,EAAE;QACf,QAAQ,EAAE,KAAK;KAEhB;IACD,QAAQ,EAAE,SAAS;CACpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["html"];
3
3
  languageOptions: {
4
4
  parser: "html";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/settings/html.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,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,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,9 +1,9 @@
1
1
  declare const _default: {
2
2
  js: {
3
- plugins: string[];
3
+ plugins: readonly ["@stylistic"];
4
4
  };
5
5
  ts: {
6
- plugins: string[];
6
+ plugins: readonly ["@typescript-eslint"];
7
7
  languageOptions: {
8
8
  parser: "ts";
9
9
  };
@@ -20,10 +20,10 @@ declare const _default: {
20
20
  };
21
21
  };
22
22
  mocha: {
23
- plugins: string[];
23
+ plugins: readonly ["mocha", "chai-friendly", "chai-expect"];
24
24
  };
25
25
  svelte: {
26
- plugins: string[];
26
+ plugins: readonly ["svelte"];
27
27
  languageOptions: {
28
28
  parser: "svelte";
29
29
  };
@@ -34,7 +34,7 @@ declare const _default: {
34
34
  processor: string;
35
35
  };
36
36
  html: {
37
- plugins: string[];
37
+ plugins: readonly ["html"];
38
38
  languageOptions: {
39
39
  parser: "html";
40
40
  };
@@ -44,27 +44,21 @@ declare const _default: {
44
44
  language: string;
45
45
  };
46
46
  css: {
47
- plugins: string[];
47
+ plugins: readonly ["css"];
48
48
  languageOptions: {
49
49
  tolerant: boolean;
50
50
  };
51
51
  language: string;
52
52
  };
53
53
  json: {
54
- plugins: string[];
54
+ plugins: readonly ["json", "jsonc"];
55
55
  languageOptions: {
56
56
  allowTrailingCommas: boolean;
57
57
  };
58
58
  language: string;
59
59
  };
60
- jsonc: {
61
- language: string;
62
- };
63
- jsoncc: {
64
- language: string;
65
- };
66
60
  yml: {
67
- plugins: string[];
61
+ plugins: readonly ["yml"];
68
62
  languageOptions: {
69
63
  parser: "yml";
70
64
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
@@ -5,8 +5,6 @@ import svelte from "./svelte.js";
5
5
  import html from "./html.js";
6
6
  import css from "./css.js";
7
7
  import json from "./json.js";
8
- import jsonc from "./jsonc.js";
9
- import jsoncc from "./jsoncc.js";
10
8
  import yml from "./yml.js";
11
9
  export default {
12
10
  js,
@@ -16,8 +14,6 @@ export default {
16
14
  html,
17
15
  css,
18
16
  json,
19
- jsonc,
20
- jsoncc,
21
17
  yml,
22
18
  };
23
19
  //# sourceMappingURL=index.js.map
@@ -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,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,KAAK;IACL,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,MAAM;IACN,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,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;AAG1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,KAAK;IACL,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IAGJ,GAAG;CACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["@stylistic"];
3
3
  };
4
4
  export default _default;
5
5
  //# sourceMappingURL=js.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/settings/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,YAAY,CAAC;CACxB,CAAC"}
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 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["json", "jsonc"];
3
3
  languageOptions: {
4
4
  allowTrailingCommas: boolean;
5
5
  };
@@ -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;KACR;IACD,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,OAAO,EAAE;QACP,MAAM;QACN,OAAO;KACC;IACV,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI;KAC1B;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["mocha", "chai-friendly", "chai-expect"];
3
3
  };
4
4
  export default _default;
5
5
  //# sourceMappingURL=mocha.d.ts.map
@@ -1 +1 @@
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;KACd;CACF,CAAC"}
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,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["svelte"];
3
3
  languageOptions: {
4
4
  parser: "svelte";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/settings/svelte.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,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;QACrB,mBAAmB,EAAE,CAAC,SAAS,CAAC;KACjC;IACD,SAAS,EAAE,eAAe;CAC3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["@typescript-eslint"];
3
3
  languageOptions: {
4
4
  parser: "ts";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/settings/ts.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,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;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,5 +1,5 @@
1
1
  declare const _default: {
2
- plugins: string[];
2
+ plugins: readonly ["yml"];
3
3
  languageOptions: {
4
4
  parser: "yml";
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/settings/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,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,OAAO,EAAE,CAAC,KAAK,CAAU;IACzB,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": "@eslinted/defaults",
6
- "version": "15.0.2-rc.4",
6
+ "version": "15.0.2-rc.6",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -1,6 +1,6 @@
1
1
  // DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
2
2
  export default {
3
- plugins: ["css"],
3
+ plugins: ["css"] as const,
4
4
  languageOptions: {
5
5
  tolerant: false /* @default: true | INFO: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
6
6
  // 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,5 @@
1
1
  export default {
2
- plugins: ["html"],
2
+ plugins: ["html"] as const,
3
3
  languageOptions: {
4
4
  parser: "html" as const,
5
5
  },
@@ -5,8 +5,8 @@ import svelte from "./svelte";
5
5
  import html from "./html";
6
6
  import css from "./css";
7
7
  import json from "./json";
8
- import jsonc from "./jsonc";
9
- import jsoncc from "./jsoncc";
8
+ // import jsonc from "./jsonc";
9
+ // import jsoncc from "./jsoncc";
10
10
  import yml from "./yml";
11
11
 
12
12
  export default {
@@ -17,7 +17,7 @@ export default {
17
17
  html,
18
18
  css,
19
19
  json,
20
- jsonc,
21
- jsoncc,
20
+ // jsonc,
21
+ // jsoncc,
22
22
  yml,
23
23
  };
@@ -1,3 +1,3 @@
1
1
  export default {
2
- plugins: ["@stylistic"],
2
+ plugins: ["@stylistic"] as const,
3
3
  };
@@ -2,7 +2,7 @@ export default {
2
2
  plugins: [
3
3
  "json",
4
4
  "jsonc",
5
- ],
5
+ ] as const,
6
6
  languageOptions: {
7
7
  allowTrailingCommas: true /* INFO: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
8
8
  },
@@ -3,5 +3,5 @@ export default {
3
3
  "mocha",
4
4
  "chai-friendly",
5
5
  "chai-expect",
6
- ],
6
+ ] as const,
7
7
  };
@@ -1,5 +1,5 @@
1
1
  export default {
2
- plugins: ["svelte"],
2
+ plugins: ["svelte"] as const,
3
3
  languageOptions: {
4
4
  parser: "svelte" as const,
5
5
  },
@@ -1,6 +1,6 @@
1
1
  // DOC: https://typescript-eslint.io/packages/parser/#configuration
2
2
  export default {
3
- plugins: ["@typescript-eslint"],
3
+ plugins: ["@typescript-eslint"] as const,
4
4
  languageOptions: {
5
5
  parser: "ts" as const,
6
6
  },
@@ -1,6 +1,6 @@
1
1
  // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
2
2
  export default {
3
- plugins: ["yml"],
3
+ plugins: ["yml"] as const,
4
4
  languageOptions: {
5
5
  parser: "yml" as const,
6
6
  },