@eslinted/core 20.0.0 → 21.0.0-rc.0

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 (97) hide show
  1. package/dist/_test/index.d.ts +71 -2
  2. package/dist/_test/index.d.ts.map +1 -1
  3. package/dist/_test/index.js +71 -2
  4. package/dist/_test/index.js.map +1 -1
  5. package/dist/factory/index.d.ts +9 -7
  6. package/dist/factory/index.d.ts.map +1 -1
  7. package/dist/factory/index.js +12 -12
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/index.d.ts +1 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +3 -3
  12. package/dist/index.js.map +1 -1
  13. package/dist/interface/input/configuration/defaults.d.ts +0 -1
  14. package/dist/interface/input/configuration/defaults.d.ts.map +1 -1
  15. package/dist/interface/input/configuration/index.d.ts +3 -1
  16. package/dist/interface/input/configuration/index.d.ts.map +1 -1
  17. package/dist/interface/input/configuration/manifest/index.d.ts +14 -0
  18. package/dist/interface/input/configuration/manifest/index.d.ts.map +1 -0
  19. package/dist/interface/input/configuration/manifest/index.js +2 -0
  20. package/dist/interface/input/configuration/manifest/index.js.map +1 -0
  21. package/dist/interface/input/configuration/settings.d.ts +7 -0
  22. package/dist/interface/input/configuration/settings.d.ts.map +1 -0
  23. package/dist/interface/input/configuration/settings.js +2 -0
  24. package/dist/interface/input/configuration/settings.js.map +1 -0
  25. package/dist/interface/input/index.d.ts +1 -1
  26. package/dist/interface/input/index.d.ts.map +1 -1
  27. package/dist/scope/index.d.ts +0 -1
  28. package/dist/scope/index.d.ts.map +1 -1
  29. package/dist/scope/index.js +0 -1
  30. package/dist/scope/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/_test/index.ts +71 -2
  33. package/src/factory/index.ts +24 -21
  34. package/src/index.ts +2 -2
  35. package/src/interface/input/configuration/defaults.ts +0 -4
  36. package/src/interface/input/configuration/index.ts +6 -0
  37. package/src/{factory/model/manifest.d.ts → interface/input/configuration/manifest/index.ts} +2 -2
  38. package/src/interface/input/configuration/settings.ts +18 -0
  39. package/src/interface/input/index.ts +2 -1
  40. package/src/scope/index.ts +0 -1
  41. package/dist/scope/registry/index.d.ts +0 -78
  42. package/dist/scope/registry/index.d.ts.map +0 -1
  43. package/dist/scope/registry/index.js +0 -23
  44. package/dist/scope/registry/index.js.map +0 -1
  45. package/dist/scope/registry/manifests/css.d.ts +0 -8
  46. package/dist/scope/registry/manifests/css.d.ts.map +0 -1
  47. package/dist/scope/registry/manifests/css.js +0 -10
  48. package/dist/scope/registry/manifests/css.js.map +0 -1
  49. package/dist/scope/registry/manifests/html.d.ts +0 -10
  50. package/dist/scope/registry/manifests/html.d.ts.map +0 -1
  51. package/dist/scope/registry/manifests/html.js +0 -11
  52. package/dist/scope/registry/manifests/html.js.map +0 -1
  53. package/dist/scope/registry/manifests/js.d.ts +0 -5
  54. package/dist/scope/registry/manifests/js.d.ts.map +0 -1
  55. package/dist/scope/registry/manifests/js.js +0 -9
  56. package/dist/scope/registry/manifests/js.js.map +0 -1
  57. package/dist/scope/registry/manifests/json.d.ts +0 -8
  58. package/dist/scope/registry/manifests/json.d.ts.map +0 -1
  59. package/dist/scope/registry/manifests/json.js +0 -8
  60. package/dist/scope/registry/manifests/json.js.map +0 -1
  61. package/dist/scope/registry/manifests/jsonc.d.ts +0 -6
  62. package/dist/scope/registry/manifests/jsonc.d.ts.map +0 -1
  63. package/dist/scope/registry/manifests/jsonc.js +0 -10
  64. package/dist/scope/registry/manifests/jsonc.js.map +0 -1
  65. package/dist/scope/registry/manifests/jsoncc.d.ts +0 -6
  66. package/dist/scope/registry/manifests/jsoncc.d.ts.map +0 -1
  67. package/dist/scope/registry/manifests/jsoncc.js +0 -10
  68. package/dist/scope/registry/manifests/jsoncc.js.map +0 -1
  69. package/dist/scope/registry/manifests/mocha.d.ts +0 -7
  70. package/dist/scope/registry/manifests/mocha.d.ts.map +0 -1
  71. package/dist/scope/registry/manifests/mocha.js +0 -9
  72. package/dist/scope/registry/manifests/mocha.js.map +0 -1
  73. package/dist/scope/registry/manifests/svelte.d.ts +0 -11
  74. package/dist/scope/registry/manifests/svelte.d.ts.map +0 -1
  75. package/dist/scope/registry/manifests/svelte.js +0 -11
  76. package/dist/scope/registry/manifests/svelte.js.map +0 -1
  77. package/dist/scope/registry/manifests/ts.d.ts +0 -17
  78. package/dist/scope/registry/manifests/ts.d.ts.map +0 -1
  79. package/dist/scope/registry/manifests/ts.js +0 -30
  80. package/dist/scope/registry/manifests/ts.js.map +0 -1
  81. package/dist/scope/registry/manifests/yml.d.ts +0 -7
  82. package/dist/scope/registry/manifests/yml.d.ts.map +0 -1
  83. package/dist/scope/registry/manifests/yml.js +0 -10
  84. package/dist/scope/registry/manifests/yml.js.map +0 -1
  85. package/src/factory/model/index.d.ts +0 -2
  86. package/src/factory/model/tree.d.ts +0 -8
  87. package/src/scope/registry/index.ts +0 -23
  88. package/src/scope/registry/manifests/css.ts +0 -9
  89. package/src/scope/registry/manifests/html.ts +0 -10
  90. package/src/scope/registry/manifests/js.ts +0 -8
  91. package/src/scope/registry/manifests/json.ts +0 -7
  92. package/src/scope/registry/manifests/jsonc.ts +0 -9
  93. package/src/scope/registry/manifests/jsoncc.ts +0 -9
  94. package/src/scope/registry/manifests/mocha.ts +0 -8
  95. package/src/scope/registry/manifests/svelte.ts +0 -10
  96. package/src/scope/registry/manifests/ts.ts +0 -30
  97. package/src/scope/registry/manifests/yml.ts +0 -9
@@ -1,11 +1,10 @@
1
1
  import globals from "globals";
2
2
  import type { Input } from "../interface";
3
- import type * as Model from "./model";
4
3
 
5
4
  export class Factory<
6
5
  RequiredPlugin extends string,
7
6
  RequiredParser extends string,
8
- OptionalScope extends string,
7
+ OptionalImport extends string,
9
8
  Scope extends string,
10
9
  > {
11
10
  public global;
@@ -13,27 +12,31 @@ export class Factory<
13
12
 
14
13
  constructor(
15
14
  optionalScopes: readonly Scope[],
16
- tree: Model.ITree<Scope>,
17
- private readonly registry: Record<
18
- Scope,
19
- Model.IManifest<
20
- | RequiredParser
21
- | OptionalScope
22
- >
15
+ tree: Array<
16
+ readonly [
17
+ Scope,
18
+ readonly Scope[],
19
+ ]
23
20
  >,
21
+ private readonly settings: Input<
22
+ RequiredPlugin,
23
+ RequiredParser,
24
+ OptionalImport,
25
+ Scope
26
+ >["configuration"]["settings"],
24
27
  public parsers: Record<
25
28
  RequiredParser,
26
29
  unknown
27
30
  > & Partial<
28
31
  Record<
29
- OptionalScope,
32
+ OptionalImport,
30
33
  unknown
31
34
  >
32
35
  >,
33
36
  defaults: Input<
34
37
  RequiredPlugin,
35
38
  RequiredParser,
36
- OptionalScope,
39
+ OptionalImport,
37
40
  Scope
38
41
  >["configuration"]["defaults"],
39
42
  {
@@ -42,22 +45,22 @@ export class Factory<
42
45
  }: Input<
43
46
  RequiredPlugin,
44
47
  RequiredParser,
45
- OptionalScope,
48
+ OptionalImport,
46
49
  Scope
47
50
  >["configuration"]["extensions"] = {},
48
51
  ) {
49
52
  const {
50
- noInlineConfig = defaults
51
- .settings
53
+ noInlineConfig = settings
54
+ .global
52
55
  .noInlineConfig,
53
- reportUnusedDisableDirectives = defaults
54
- .settings
56
+ reportUnusedDisableDirectives = settings
57
+ .global
55
58
  .reportUnusedDisableDirectives,
56
- sourceType = defaults
57
- .settings
59
+ sourceType = settings
60
+ .global
58
61
  .sourceType,
59
- ecmaVersion = defaults
60
- .settings
62
+ ecmaVersion = settings
63
+ .global
61
64
  .ecmaVersion,
62
65
  } = globalExtension,
63
66
  {
@@ -205,7 +208,7 @@ export class Factory<
205
208
  },
206
209
  processor = null,
207
210
  language = null,
208
- } = this.registry[scope];
211
+ } = this.settings.registry[scope];
209
212
 
210
213
  function isGlobal(
211
214
  global: string,
package/src/index.ts CHANGED
@@ -10,7 +10,6 @@ import {
10
10
  scopes,
11
11
  optionalScopes,
12
12
  tree,
13
- registry,
14
13
  } from "./scope";
15
14
  import { Factory } from "./factory";
16
15
 
@@ -24,6 +23,7 @@ export default function (
24
23
  optional = {},
25
24
  },
26
25
  configuration: {
26
+ settings,
27
27
  defaults,
28
28
  extensions,
29
29
  },
@@ -43,7 +43,7 @@ export default function (
43
43
  >(
44
44
  optionalScopes,
45
45
  tree,
46
- registry,
46
+ settings,
47
47
  {
48
48
  ...parsers,
49
49
  ..."svelte" in optional
@@ -3,10 +3,6 @@ import type { Config } from "../../config";
3
3
  export interface Defaults<
4
4
  Scope extends string,
5
5
  > {
6
- settings: (
7
- & Config["linterOptions"]
8
- & Config["languageOptions"]
9
- );
10
6
  files: Record<
11
7
  Scope,
12
8
  string[]
@@ -1,9 +1,15 @@
1
+ import type { Settings } from "./settings";
1
2
  import type { Defaults } from "./defaults";
2
3
  import type { Extensions } from "./extensions";
3
4
 
4
5
  export interface Configuration<
5
6
  Scope extends string,
7
+ Parser extends string,
6
8
  > {
9
+ settings: Settings<
10
+ Scope,
11
+ Parser
12
+ >;
7
13
  defaults: Defaults<Scope>;
8
14
  extensions: Extensions<Scope>;
9
15
  }
@@ -1,5 +1,5 @@
1
- export interface IManifest<
2
- Parser,
1
+ export interface ScopeManifest<
2
+ Parser extends string,
3
3
  > {
4
4
  languageOptions: {
5
5
  [property: string]: unknown;
@@ -0,0 +1,18 @@
1
+ import type { Config } from "../../config";
2
+ import type { ScopeManifest } from "./manifest";
3
+
4
+ export interface Settings<
5
+ Scope extends string,
6
+ Parser extends string,
7
+ > {
8
+ global: (
9
+ & Config["linterOptions"]
10
+ & Config["languageOptions"]
11
+ );
12
+ registry: Record<
13
+ Scope,
14
+ ScopeManifest<
15
+ Parser
16
+ >
17
+ >;
18
+ }
@@ -13,6 +13,7 @@ export interface Input<
13
13
  OptionalImport
14
14
  >;
15
15
  configuration: Configuration<
16
- Scope
16
+ Scope,
17
+ RequiredParser | OptionalImport
17
18
  >;
18
19
  }
@@ -12,7 +12,6 @@ export const scopes = [
12
12
  ] as const;
13
13
  export const optionalScopes = ["svelte"] as const;
14
14
  export { tree } from "./tree";
15
- export { registry } from "./registry";
16
15
  export type {
17
16
  RequiredPlugin,
18
17
  RequiredParser,
@@ -1,78 +0,0 @@
1
- export declare const registry: {
2
- js: {
3
- languageOptions: {};
4
- parserOptions: {};
5
- };
6
- ts: {
7
- languageOptions: {
8
- parser: "ts";
9
- };
10
- parserOptions: {
11
- ecmaFeatures: {
12
- globalReturn: boolean;
13
- };
14
- ecmaVersion: number;
15
- emitDecoratorMetadata: boolean;
16
- experimentalDecorators: boolean;
17
- isolatedDeclarations: boolean;
18
- projectService: boolean;
19
- warnOnUnsupportedTypeScriptVersion: boolean;
20
- };
21
- };
22
- mocha: {
23
- languageOptions: {
24
- globals: "mocha";
25
- };
26
- parserOptions: {};
27
- };
28
- svelte: {
29
- languageOptions: {
30
- parser: "svelte";
31
- };
32
- parserOptions: {
33
- parser: "ts";
34
- extraFileExtensions: string[];
35
- };
36
- processor: string;
37
- };
38
- html: {
39
- languageOptions: {
40
- parser: "html";
41
- };
42
- parserOptions: {
43
- frontmatter: boolean;
44
- };
45
- language: string;
46
- };
47
- css: {
48
- languageOptions: {
49
- tolerant: boolean;
50
- };
51
- parserOptions: {};
52
- language: string;
53
- };
54
- json: {
55
- languageOptions: {
56
- allowTrailingCommas: boolean;
57
- };
58
- parserOptions: {};
59
- language: string;
60
- };
61
- jsonc: {
62
- languageOptions: {};
63
- parserOptions: {};
64
- language: string;
65
- };
66
- jsoncc: {
67
- languageOptions: {};
68
- parserOptions: {};
69
- language: string;
70
- };
71
- yml: {
72
- languageOptions: {
73
- parser: "yml";
74
- };
75
- parserOptions: {};
76
- };
77
- };
78
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scope/registry/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC"}
@@ -1,23 +0,0 @@
1
- import { js } from "./manifests/js.js";
2
- import { ts } from "./manifests/ts.js";
3
- import { mocha } from "./manifests/mocha.js";
4
- import { svelte } from "./manifests/svelte.js";
5
- import { html } from "./manifests/html.js";
6
- import { css } from "./manifests/css.js";
7
- import { json } from "./manifests/json.js";
8
- import { jsonc } from "./manifests/jsonc.js";
9
- import { jsoncc } from "./manifests/jsoncc.js";
10
- import { yml } from "./manifests/yml.js";
11
- export const registry = {
12
- js,
13
- ts,
14
- mocha,
15
- svelte,
16
- html,
17
- css,
18
- json,
19
- jsonc,
20
- jsoncc,
21
- yml,
22
- };
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/scope/registry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE;IACF,EAAE;IACF,KAAK;IACL,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,MAAM;IACN,GAAG;CACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- export declare const css: {
2
- languageOptions: {
3
- tolerant: boolean;
4
- };
5
- parserOptions: {};
6
- language: string;
7
- };
8
- //# sourceMappingURL=css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/css.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;CAQf,CAAC"}
@@ -1,10 +0,0 @@
1
- export const css = {
2
- languageOptions: {
3
- // DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
4
- tolerant: false /* @default: true | DOC: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
5
- // customSyntax: {} /* DOC: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | DOC: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
6
- },
7
- parserOptions: {},
8
- language: "css/css",
9
- };
10
- //# sourceMappingURL=css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"css.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/css.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,kEAAkE;QAClE,QAAQ,EAAE,KAAK,CAAC,0FAA0F;QAC1G,wMAAwM;KACzM;IACD,aAAa,EAAE,EAAE;IACjB,QAAQ,EAAE,SAAS;CACpB,CAAC"}
@@ -1,10 +0,0 @@
1
- export declare const html: {
2
- languageOptions: {
3
- parser: "html";
4
- };
5
- parserOptions: {
6
- frontmatter: boolean;
7
- };
8
- language: string;
9
- };
10
- //# sourceMappingURL=html.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/html.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;CAShB,CAAC"}
@@ -1,11 +0,0 @@
1
- export const html = {
2
- languageOptions: {
3
- parser: "html",
4
- },
5
- parserOptions: {
6
- // templateEngineSyntax: {} /* DOC: https://html-eslint.org/docs/integrating-template-engine */,
7
- frontmatter: true /* @default: false | DOC: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
8
- },
9
- language: "@html-eslint/html",
10
- };
11
- //# sourceMappingURL=html.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/html.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;QACb,gGAAgG;QAChG,WAAW,EAAE,IAAI,CAAC,sGAAsG;KACzH;IACD,QAAQ,EAAE,mBAAmB;CAC9B,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const js: {
2
- languageOptions: {};
3
- parserOptions: {};
4
- };
5
- //# sourceMappingURL=js.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/js.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;CAOd,CAAC"}
@@ -1,9 +0,0 @@
1
- export const js = {
2
- languageOptions: {
3
- // DOC: https://eslint.org/docs/latest/use/configure/language-options
4
- },
5
- parserOptions: {
6
- // DOC: https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
7
- },
8
- };
9
- //# sourceMappingURL=js.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/js.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;IACf,qEAAqE;KACtE;IACD,aAAa,EAAE;IACb,+FAA+F;KAChG;CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- export declare const json: {
2
- languageOptions: {
3
- allowTrailingCommas: boolean;
4
- };
5
- parserOptions: {};
6
- language: string;
7
- };
8
- //# sourceMappingURL=json.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/json.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;CAMhB,CAAC"}
@@ -1,8 +0,0 @@
1
- export const json = {
2
- languageOptions: {
3
- allowTrailingCommas: true /* DOC: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
4
- },
5
- parserOptions: {},
6
- language: "json/jsonc" /* INFO: `languageOptions.allowTrailingCommas` is only available on language `json/jsonc` */,
7
- };
8
- //# sourceMappingURL=json.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/json.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI,CAAC,8FAA8F;KACzH;IACD,aAAa,EAAE,EAAE;IACjB,QAAQ,EAAE,YAAY,CAAC,4FAA4F;CACpH,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const jsonc: {
2
- languageOptions: {};
3
- parserOptions: {};
4
- language: string;
5
- };
6
- //# sourceMappingURL=jsonc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;CAQjB,CAAC"}
@@ -1,10 +0,0 @@
1
- export const jsonc = {
2
- languageOptions: {
3
- // Inherits `json`
4
- },
5
- parserOptions: {
6
- // Inherits `json`
7
- },
8
- language: "json/jsonc",
9
- };
10
- //# sourceMappingURL=jsonc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;IACf,kBAAkB;KACnB;IACD,aAAa,EAAE;IACb,kBAAkB;KACnB;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const jsoncc: {
2
- languageOptions: {};
3
- parserOptions: {};
4
- language: string;
5
- };
6
- //# sourceMappingURL=jsoncc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsoncc.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;CAQlB,CAAC"}
@@ -1,10 +0,0 @@
1
- export const jsoncc = {
2
- languageOptions: {
3
- // Inherits `jsonc`
4
- },
5
- parserOptions: {
6
- // Inherits `jsonc`
7
- },
8
- language: "json/jsonc",
9
- };
10
- //# sourceMappingURL=jsoncc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsoncc.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE;IACf,mBAAmB;KACpB;IACD,aAAa,EAAE;IACb,mBAAmB;KACpB;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
@@ -1,7 +0,0 @@
1
- export declare const mocha: {
2
- languageOptions: {
3
- globals: "mocha";
4
- };
5
- parserOptions: {};
6
- };
7
- //# sourceMappingURL=mocha.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;CAOjB,CAAC"}
@@ -1,9 +0,0 @@
1
- export const mocha = {
2
- languageOptions: {
3
- globals: "mocha",
4
- },
5
- parserOptions: {
6
- // Inherits `ts`
7
- },
8
- };
9
- //# sourceMappingURL=mocha.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;QACf,OAAO,EAAE,OAAgB;KAC1B;IACD,aAAa,EAAE;IACb,gBAAgB;KACjB;CACF,CAAC"}
@@ -1,11 +0,0 @@
1
- export declare const svelte: {
2
- languageOptions: {
3
- parser: "svelte";
4
- };
5
- parserOptions: {
6
- parser: "ts";
7
- extraFileExtensions: string[];
8
- };
9
- processor: string;
10
- };
11
- //# sourceMappingURL=svelte.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}
@@ -1,11 +0,0 @@
1
- export const svelte = {
2
- languageOptions: {
3
- parser: "svelte",
4
- },
5
- parserOptions: {
6
- parser: "ts",
7
- extraFileExtensions: [".svelte"],
8
- },
9
- processor: "svelte/svelte",
10
- };
11
- //# sourceMappingURL=svelte.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/svelte.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,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,17 +0,0 @@
1
- export declare const ts: {
2
- languageOptions: {
3
- parser: "ts";
4
- };
5
- parserOptions: {
6
- ecmaFeatures: {
7
- globalReturn: boolean;
8
- };
9
- ecmaVersion: number;
10
- emitDecoratorMetadata: boolean;
11
- experimentalDecorators: boolean;
12
- isolatedDeclarations: boolean;
13
- projectService: boolean;
14
- warnOnUnsupportedTypeScriptVersion: boolean;
15
- };
16
- };
17
- //# sourceMappingURL=ts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;CA6Bd,CAAC"}
@@ -1,30 +0,0 @@
1
- export const ts = {
2
- languageOptions: {
3
- parser: "ts",
4
- },
5
- parserOptions: {
6
- // DOC: https://typescript-eslint.io/packages/parser/#configuration
7
- // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
8
- // - https://typescript-eslint.io/blog/project-service/
9
- // - https://typescript-eslint.io/getting-started/typed-linting/
10
- // - https://typescript-eslint.io/troubleshooting/typed-linting/
11
- // disallowAutomaticSingleRunInference: false /* @default: false */,
12
- // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
13
- ecmaFeatures: {
14
- // jsx: false /* @default: false */,
15
- globalReturn: true /* @default: false */,
16
- },
17
- ecmaVersion: 2023 /* number | @default: latest" */,
18
- emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
19
- experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
20
- // extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
21
- isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
22
- // jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
23
- // jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
24
- // jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
25
- // lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
26
- projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
27
- warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
28
- },
29
- };
30
- //# sourceMappingURL=ts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QACb,mEAAmE;QACnE,6GAA6G;QAC7G,uDAAuD;QACvD,gEAAgE;QAChE,gEAAgE;QAEhE,oEAAoE;QACpE,kGAAkG;QAClG,YAAY,EAAE;YACZ,oCAAoC;YACpC,YAAY,EAAE,IAAI,CAAC,qBAAqB;SACzC;QACD,WAAW,EAAE,IAAI,CAAC,gCAAgC;QAClD,qBAAqB,EAAE,KAAK,CAAC,kFAAkF;QAC/G,sBAAsB,EAAE,KAAK,CAAC,kFAAkF;QAChH,kMAAkM;QAClM,oBAAoB,EAAE,KAAK,CAAC,kFAAkF;QAC9G,+GAA+G;QAC/G,yJAAyJ;QACzJ,gLAAgL;QAChL,2JAA2J;QAC3J,cAAc,EAAE,IAAI,CAAC,+HAA+H;QACpJ,kCAAkC,EAAE,KAAK,CAAC,iDAAiD;KAC5F;CACF,CAAC"}
@@ -1,7 +0,0 @@
1
- export declare const yml: {
2
- languageOptions: {
3
- parser: "yml";
4
- };
5
- parserOptions: {};
6
- };
7
- //# sourceMappingURL=yml.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;CAQf,CAAC"}
@@ -1,10 +0,0 @@
1
- export const yml = {
2
- languageOptions: {
3
- parser: "yml",
4
- },
5
- parserOptions: {
6
- // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
7
- // defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
8
- },
9
- };
10
- //# sourceMappingURL=yml.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/scope/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;IACD,aAAa,EAAE;IACb,iGAAiG;IACjG,qKAAqK;KACtK;CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- export type { IManifest } from "./manifest";
2
- export type { ITree } from "./tree";
@@ -1,8 +0,0 @@
1
- export type ITree<
2
- Scope extends string,
3
- > = Array<
4
- readonly [
5
- Scope,
6
- readonly Scope[],
7
- ]
8
- >;