@eslinted/core 13.3.0-rc.2 → 13.3.0-rc.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/dist/factory/index.d.ts +230 -2
  2. package/dist/factory/index.d.ts.map +1 -1
  3. package/dist/factory/index.js +65 -2
  4. package/dist/factory/index.js.map +1 -1
  5. package/dist/factory/{settings/scopes → scopes}/html.d.ts +1 -1
  6. package/dist/factory/scopes/html.d.ts.map +1 -0
  7. package/dist/factory/{settings/scopes → scopes}/html.js +1 -1
  8. package/dist/factory/scopes/html.js.map +1 -0
  9. package/dist/factory/{settings/scopes → scopes}/js.d.ts +1 -1
  10. package/dist/factory/scopes/js.d.ts.map +1 -0
  11. package/dist/factory/{settings/scopes → scopes}/js.js +1 -1
  12. package/dist/factory/scopes/js.js.map +1 -0
  13. package/dist/factory/{settings/scopes → scopes}/json.d.ts +1 -1
  14. package/dist/factory/scopes/json.d.ts.map +1 -0
  15. package/dist/factory/{settings/scopes → scopes}/json.js +1 -1
  16. package/dist/factory/scopes/json.js.map +1 -0
  17. package/dist/factory/{settings/scopes → scopes}/jsonc.d.ts +1 -1
  18. package/dist/factory/scopes/jsonc.d.ts.map +1 -0
  19. package/dist/factory/{settings/scopes → scopes}/jsonc.js +1 -1
  20. package/dist/factory/scopes/jsonc.js.map +1 -0
  21. package/dist/factory/{settings/scopes → scopes}/mocha.d.ts +1 -1
  22. package/dist/factory/scopes/mocha.d.ts.map +1 -0
  23. package/dist/factory/{settings/scopes → scopes}/mocha.js +1 -1
  24. package/dist/factory/scopes/mocha.js.map +1 -0
  25. package/dist/factory/{settings/setting.d.ts → scopes/setting/index.d.ts} +2 -2
  26. package/dist/factory/{settings/setting.d.ts.map → scopes/setting/index.d.ts.map} +1 -1
  27. package/dist/factory/{settings/setting.js → scopes/setting/index.js} +1 -1
  28. package/dist/factory/scopes/setting/index.js.map +1 -0
  29. package/dist/factory/{settings/scopes → scopes}/svelte.d.ts +1 -1
  30. package/dist/factory/scopes/svelte.d.ts.map +1 -0
  31. package/dist/factory/{settings/scopes → scopes}/svelte.js +1 -1
  32. package/dist/factory/scopes/svelte.js.map +1 -0
  33. package/dist/factory/{settings/scopes → scopes}/ts.d.ts +1 -1
  34. package/dist/factory/scopes/ts.d.ts.map +1 -0
  35. package/dist/factory/{settings/scopes → scopes}/ts.js +1 -1
  36. package/dist/factory/scopes/ts.js.map +1 -0
  37. package/dist/factory/{settings/scopes → scopes}/yml.d.ts +1 -1
  38. package/dist/factory/scopes/yml.d.ts.map +1 -0
  39. package/dist/factory/{settings/scopes → scopes}/yml.js +1 -1
  40. package/dist/factory/scopes/yml.js.map +1 -0
  41. package/dist/factory/{settings/index.d.ts → settings.d.ts} +1 -2
  42. package/dist/factory/settings.d.ts.map +1 -0
  43. package/dist/factory/{settings/index.js → settings.js} +1 -1
  44. package/dist/factory/settings.js.map +1 -0
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +3 -12
  47. package/dist/index.js.map +1 -1
  48. package/package.json +1 -1
  49. package/src/factory/index.ts +104 -2
  50. package/src/factory/{settings/scopes → scopes}/html.ts +1 -1
  51. package/src/factory/{settings/scopes → scopes}/js.ts +1 -1
  52. package/src/factory/{settings/scopes → scopes}/json.ts +1 -1
  53. package/src/factory/{settings/scopes → scopes}/jsonc.ts +1 -1
  54. package/src/factory/{settings/scopes → scopes}/mocha.ts +1 -1
  55. package/src/factory/{settings/setting.ts → scopes/setting/index.ts} +1 -1
  56. package/src/factory/{settings/scopes → scopes}/svelte.ts +1 -1
  57. package/src/factory/{settings/scopes → scopes}/ts.ts +1 -1
  58. package/src/factory/{settings/scopes → scopes}/yml.ts +1 -1
  59. package/src/factory/{settings/index.ts → settings.ts} +0 -1
  60. package/src/index.ts +3 -13
  61. package/dist/factory/factory.d.ts +0 -231
  62. package/dist/factory/factory.d.ts.map +0 -1
  63. package/dist/factory/factory.js +0 -65
  64. package/dist/factory/factory.js.map +0 -1
  65. package/dist/factory/settings/index.d.ts.map +0 -1
  66. package/dist/factory/settings/index.js.map +0 -1
  67. package/dist/factory/settings/scopes/html.d.ts.map +0 -1
  68. package/dist/factory/settings/scopes/html.js.map +0 -1
  69. package/dist/factory/settings/scopes/js.d.ts.map +0 -1
  70. package/dist/factory/settings/scopes/js.js.map +0 -1
  71. package/dist/factory/settings/scopes/json.d.ts.map +0 -1
  72. package/dist/factory/settings/scopes/json.js.map +0 -1
  73. package/dist/factory/settings/scopes/jsonc.d.ts.map +0 -1
  74. package/dist/factory/settings/scopes/jsonc.js.map +0 -1
  75. package/dist/factory/settings/scopes/mocha.d.ts.map +0 -1
  76. package/dist/factory/settings/scopes/mocha.js.map +0 -1
  77. package/dist/factory/settings/scopes/svelte.d.ts.map +0 -1
  78. package/dist/factory/settings/scopes/svelte.js.map +0 -1
  79. package/dist/factory/settings/scopes/ts.d.ts.map +0 -1
  80. package/dist/factory/settings/scopes/ts.js.map +0 -1
  81. package/dist/factory/settings/scopes/yml.d.ts.map +0 -1
  82. package/dist/factory/settings/scopes/yml.js.map +0 -1
  83. package/dist/factory/settings/setting.js.map +0 -1
  84. package/src/factory/factory.ts +0 -103
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAInD,MAAM,CAAC,OAAO,WAAW,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAC7B,QAAQ,EACR,UAAU,GACJ;IACN,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,EAC1D,OAAO,GAAqF;YAC1F,EAAE,EAAE,IAAI,aAAa,CAAC,EAAE,EAAE;YAC1B,EAAE,EAAE,IAAI,aAAa,CAAC,EAAE,EAAE;YAC1B,MAAM,EAAE,IAAI,aAAa,CAAC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,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACxC,CAAC;IACb,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "@eslinted/core",
4
- "version": "13.3.0-rc.2",
4
+ "version": "13.3.0-rc.3",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -1,2 +1,104 @@
1
- export * from "./factory";
2
- export * from "./settings";
1
+ import { ScopeSettings } from "./settings";
2
+ import type { Input } from "../interface";
3
+
4
+ export class Factory {
5
+ public readonly common;
6
+ public readonly scopes;
7
+
8
+ constructor(
9
+ public readonly parsers: Input["imports"]["parsers"],
10
+ {
11
+ settings: defaultSettings,
12
+ files: defaultFiles,
13
+ ignores: defaultIgnores,
14
+ rules: defaultRules,
15
+ }: Input["defaults"],
16
+ { "*": commonExtension = {}, ...scopeExtensions }: Input["extensions"] = {} as const,
17
+ ) {
18
+ const {
19
+ noInlineConfig = defaultSettings.noInlineConfig,
20
+ reportUnusedDisableDirectives = defaultSettings.reportUnusedDisableDirectives,
21
+ sourceType = defaultSettings.sourceType,
22
+ ecmaVersion = defaultSettings.ecmaVersion,
23
+ ignores = [] as const,
24
+ override = false,
25
+ } = commonExtension;
26
+
27
+ this.common = {
28
+ settings: {
29
+ name: "linted/*/settings",
30
+ linterOptions: { noInlineConfig, reportUnusedDisableDirectives } as const,
31
+ languageOptions: { sourceType, ecmaVersion } as const,
32
+ } as const,
33
+ ignores: {
34
+ name: "linted/*/ignores",
35
+ ignores: [
36
+ ...override ? [] as const : defaultIgnores["*"],
37
+ ...ignores,
38
+ ] as const,
39
+ } as const,
40
+ } as const;
41
+ this.scopes = {
42
+ files: defaultFiles,
43
+ ignores: defaultIgnores,
44
+ rules: defaultRules,
45
+ } as const;
46
+
47
+ for (const s in scopeExtensions) {
48
+ const {
49
+ [s as keyof typeof scopeExtensions]: {
50
+ files: moreFiles = [],
51
+ ignores: moreIgnores = [],
52
+ rules: moreRules = null,
53
+ } = {} as const,
54
+ } = scopeExtensions;
55
+
56
+ this.scopes.files[s as keyof typeof scopeExtensions].push(...moreFiles);
57
+ this.scopes.ignores[s as keyof typeof scopeExtensions].push(...moreIgnores);
58
+
59
+ if (moreRules !== null)
60
+ this.scopes.rules[s as keyof typeof scopeExtensions].push([`${s}:override`, moreRules]);
61
+ }
62
+ }
63
+
64
+ public scope<S extends keyof typeof ScopeSettings>(scope: S) {
65
+ const {
66
+ files: {
67
+ [scope]: files,
68
+ },
69
+ ignores: { [scope]: ignores },
70
+ rules: { [scope]: rules },
71
+ } = this.scopes,
72
+ ruleset = rules.map(([id, rules]) => ({ id: `${scope}:${id}`, rules } as const)),
73
+ settings = new ScopeSettings[scope](),
74
+ { languageOptions, parserOptions } = settings,
75
+ loadedLanguageOptions = {
76
+ ...languageOptions,
77
+ ..."parserOptions" in parserOptions
78
+ ? {
79
+ parserOptions: {
80
+ ...parserOptions.parserOptions,
81
+ ..."parser" in parserOptions.parserOptions
82
+ ? { parser: this.parsers[parserOptions.parserOptions.parser] } as const
83
+ : {} as const,
84
+ } as const,
85
+ } as const
86
+ : {} as const,
87
+ ..."parser" in languageOptions
88
+ ? { parser: this.parsers[languageOptions.parser] } as const
89
+ : {} as const,
90
+ } as const;
91
+
92
+ return files.length < 1
93
+ ? [] as const
94
+ : ruleset.map(({ id, rules }) => ({
95
+ name: `linted/${id}`,
96
+ files,
97
+ ignores,
98
+ rules,
99
+ languageOptions: loadedLanguageOptions,
100
+ ...settings.processor,
101
+ ...settings.language,
102
+ } as const));
103
+ }
104
+ }
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class HtmlSetting extends ScopeSetting<
4
4
  "html"
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class JsSetting extends ScopeSetting {
4
4
  public readonly scope = "js";
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class JsonSetting extends ScopeSetting<
4
4
  "jsonc"
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class JsoncSetting extends ScopeSetting<
4
4
  "jsonc"
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
  import type TsSetting from "./ts";
3
3
 
4
4
  export default class MochaSetting extends ScopeSetting<
@@ -1,5 +1,5 @@
1
1
  import globals from "globals";
2
- import type { Scopes } from "../..";
2
+ import type { Scopes } from "../../../scopes";
3
3
 
4
4
  export abstract class ScopeSetting<
5
5
  Parser extends Scopes | false = false,
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
  import type TsSetting from "./ts";
3
3
 
4
4
  export default class SvelteSetting extends ScopeSetting<
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class TsSetting extends ScopeSetting<
4
4
  "ts",
@@ -1,4 +1,4 @@
1
- import { ScopeSetting } from "../setting";
1
+ import { ScopeSetting } from "./setting";
2
2
 
3
3
  export default class YmlSetting extends ScopeSetting<
4
4
  "yml"
@@ -7,7 +7,6 @@ import json from "./scopes/json";
7
7
  import jsonc from "./scopes/jsonc";
8
8
  import yml from "./scopes/yml";
9
9
 
10
- export type * from "./setting";
11
10
  export const ScopeSettings = {
12
11
  js,
13
12
  ts,
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { Input, Output } from "./interface";
2
2
  import { scopes } from "./scopes";
3
- import { Factory, ScopeSettings } from "./factory";
3
+ import { Factory } from "./factory";
4
4
 
5
5
  export type * from "./interface";
6
6
  export type * from "./scopes";
@@ -10,23 +10,13 @@ export default function ({
10
10
  extensions,
11
11
  }: Input): Output {
12
12
  try {
13
- const factory = new Factory(parsers, defaults, extensions),
14
- options: { readonly [S in typeof scopes[number]]: InstanceType<typeof ScopeSettings[S]> } = {
15
- js: new ScopeSettings.js(),
16
- ts: new ScopeSettings.ts(),
17
- svelte: new ScopeSettings.svelte(),
18
- mocha: new ScopeSettings.mocha(),
19
- html: new ScopeSettings.html(),
20
- json: new ScopeSettings.json(),
21
- jsonc: new ScopeSettings.jsonc(),
22
- yml: new ScopeSettings.yml(),
23
- } as const;
13
+ const factory = new Factory(parsers, defaults, extensions);
24
14
 
25
15
  return [
26
16
  { name: `linted/*/plugins`, plugins } as const,
27
17
  factory.common.settings,
28
18
  factory.common.ignores,
29
- ...scopes.flatMap(scope => factory.scope(scope, options[scope])),
19
+ ...scopes.flatMap(scope => factory.scope(scope)),
30
20
  ] as const;
31
21
  }
32
22
  catch (e) {
@@ -1,231 +0,0 @@
1
- import type { ScopeSettings } from "./settings/index.js";
2
- import type { Input } from "../interface/input/index.js";
3
- export declare class Factory {
4
- readonly parsers: Input["imports"]["parsers"];
5
- readonly common: {
6
- readonly settings: {
7
- readonly name: "linted/*/settings";
8
- readonly linterOptions: {
9
- readonly noInlineConfig: boolean;
10
- readonly reportUnusedDisableDirectives: "error" | "warn" | "off";
11
- };
12
- readonly languageOptions: {
13
- readonly sourceType: "module" | "script";
14
- readonly ecmaVersion: "latest" | 3 | 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024;
15
- };
16
- };
17
- readonly ignores: {
18
- readonly name: "linted/*/ignores";
19
- readonly ignores: readonly string[];
20
- };
21
- };
22
- readonly scopes: {
23
- readonly files: Readonly<Record<"*" | "svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", string[]>>;
24
- readonly ignores: Readonly<Record<"*" | "svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", string[]>>;
25
- readonly rules: Readonly<Record<"svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", import("../interface/shared/config/rule/index.js").NamedBag[]>>;
26
- };
27
- constructor(parsers: Input["imports"]["parsers"], { settings: defaultSettings, files: defaultFiles, ignores: defaultIgnores, rules: defaultRules, }: Input["defaults"], { "*": commonExtension, ...scopeExtensions }?: Input["extensions"]);
28
- scope<S extends keyof typeof ScopeSettings>(scope: S, settings: InstanceType<typeof ScopeSettings[S]>): readonly [
29
- ] | {
30
- readonly processor?: "svelte/svelte";
31
- readonly name: `linted/${S}:${string}`;
32
- readonly files: Readonly<Record<"*" | "svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", string[]>>[S];
33
- readonly ignores: Readonly<Record<"*" | "svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", string[]>>[S];
34
- readonly rules: Readonly<Record<string, import("../interface/shared/config/rule/index.js").State | readonly [
35
- import("../interface/shared/config/rule/index.js").State,
36
- ...unknown[]
37
- ]>>;
38
- readonly languageOptions: {
39
- readonly parser?: unknown;
40
- readonly parserOptions?: {
41
- readonly parser?: unknown;
42
- readonly project: "tsconfig.json";
43
- readonly sourceType: "module";
44
- readonly ecmaVersion: 2023;
45
- } | {
46
- parser: unknown;
47
- readonly project: "tsconfig.json";
48
- readonly sourceType: "module";
49
- readonly ecmaVersion: 2023;
50
- readonly extraFileExtensions: readonly [
51
- ".svelte"
52
- ];
53
- } | {
54
- readonly parser?: unknown;
55
- readonly project: "tsconfig.json";
56
- readonly sourceType: "module";
57
- readonly ecmaVersion: 2023;
58
- };
59
- } | {
60
- parser: unknown;
61
- readonly parserOptions?: {
62
- readonly parser?: unknown;
63
- readonly project: "tsconfig.json";
64
- readonly sourceType: "module";
65
- readonly ecmaVersion: 2023;
66
- } | {
67
- parser: unknown;
68
- readonly project: "tsconfig.json";
69
- readonly sourceType: "module";
70
- readonly ecmaVersion: 2023;
71
- readonly extraFileExtensions: readonly [
72
- ".svelte"
73
- ];
74
- } | {
75
- readonly parser?: unknown;
76
- readonly project: "tsconfig.json";
77
- readonly sourceType: "module";
78
- readonly ecmaVersion: 2023;
79
- };
80
- } | {
81
- parser: unknown;
82
- readonly parserOptions?: {
83
- readonly parser?: unknown;
84
- readonly project: "tsconfig.json";
85
- readonly sourceType: "module";
86
- readonly ecmaVersion: 2023;
87
- } | {
88
- parser: unknown;
89
- readonly project: "tsconfig.json";
90
- readonly sourceType: "module";
91
- readonly ecmaVersion: 2023;
92
- readonly extraFileExtensions: readonly [
93
- ".svelte"
94
- ];
95
- } | {
96
- readonly parser?: unknown;
97
- readonly project: "tsconfig.json";
98
- readonly sourceType: "module";
99
- readonly ecmaVersion: 2023;
100
- };
101
- } | {
102
- parser: unknown;
103
- readonly parserOptions?: {
104
- readonly parser?: unknown;
105
- readonly project: "tsconfig.json";
106
- readonly sourceType: "module";
107
- readonly ecmaVersion: 2023;
108
- } | {
109
- parser: unknown;
110
- readonly project: "tsconfig.json";
111
- readonly sourceType: "module";
112
- readonly ecmaVersion: 2023;
113
- readonly extraFileExtensions: readonly [
114
- ".svelte"
115
- ];
116
- } | {
117
- readonly parser?: unknown;
118
- readonly project: "tsconfig.json";
119
- readonly sourceType: "module";
120
- readonly ecmaVersion: 2023;
121
- };
122
- readonly globals: {
123
- readonly after: false;
124
- readonly afterEach: false;
125
- readonly before: false;
126
- readonly beforeEach: false;
127
- readonly context: false;
128
- readonly describe: false;
129
- readonly it: false;
130
- readonly mocha: false;
131
- readonly run: false;
132
- readonly setup: false;
133
- readonly specify: false;
134
- readonly suite: false;
135
- readonly suiteSetup: false;
136
- readonly suiteTeardown: false;
137
- readonly teardown: false;
138
- readonly test: false;
139
- readonly xcontext: false;
140
- readonly xdescribe: false;
141
- readonly xit: false;
142
- readonly xspecify: false;
143
- };
144
- } | {
145
- parser: unknown;
146
- readonly parserOptions?: {
147
- readonly parser?: unknown;
148
- readonly project: "tsconfig.json";
149
- readonly sourceType: "module";
150
- readonly ecmaVersion: 2023;
151
- } | {
152
- parser: unknown;
153
- readonly project: "tsconfig.json";
154
- readonly sourceType: "module";
155
- readonly ecmaVersion: 2023;
156
- readonly extraFileExtensions: readonly [
157
- ".svelte"
158
- ];
159
- } | {
160
- readonly parser?: unknown;
161
- readonly project: "tsconfig.json";
162
- readonly sourceType: "module";
163
- readonly ecmaVersion: 2023;
164
- };
165
- } | {
166
- parser: unknown;
167
- readonly parserOptions?: {
168
- readonly parser?: unknown;
169
- readonly project: "tsconfig.json";
170
- readonly sourceType: "module";
171
- readonly ecmaVersion: 2023;
172
- } | {
173
- parser: unknown;
174
- readonly project: "tsconfig.json";
175
- readonly sourceType: "module";
176
- readonly ecmaVersion: 2023;
177
- readonly extraFileExtensions: readonly [
178
- ".svelte"
179
- ];
180
- } | {
181
- readonly parser?: unknown;
182
- readonly project: "tsconfig.json";
183
- readonly sourceType: "module";
184
- readonly ecmaVersion: 2023;
185
- };
186
- } | {
187
- parser: unknown;
188
- readonly parserOptions?: {
189
- readonly parser?: unknown;
190
- readonly project: "tsconfig.json";
191
- readonly sourceType: "module";
192
- readonly ecmaVersion: 2023;
193
- } | {
194
- parser: unknown;
195
- readonly project: "tsconfig.json";
196
- readonly sourceType: "module";
197
- readonly ecmaVersion: 2023;
198
- readonly extraFileExtensions: readonly [
199
- ".svelte"
200
- ];
201
- } | {
202
- readonly parser?: unknown;
203
- readonly project: "tsconfig.json";
204
- readonly sourceType: "module";
205
- readonly ecmaVersion: 2023;
206
- };
207
- } | {
208
- parser: unknown;
209
- readonly parserOptions?: {
210
- readonly parser?: unknown;
211
- readonly project: "tsconfig.json";
212
- readonly sourceType: "module";
213
- readonly ecmaVersion: 2023;
214
- } | {
215
- parser: unknown;
216
- readonly project: "tsconfig.json";
217
- readonly sourceType: "module";
218
- readonly ecmaVersion: 2023;
219
- readonly extraFileExtensions: readonly [
220
- ".svelte"
221
- ];
222
- } | {
223
- readonly parser?: unknown;
224
- readonly project: "tsconfig.json";
225
- readonly sourceType: "module";
226
- readonly ecmaVersion: 2023;
227
- };
228
- };
229
- }[];
230
- }
231
- //# sourceMappingURL=factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qBAAa,OAAO;aAKA,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC;IAJtD,SAAgB,MAAM;;;;;;;;;;;;;;;;MAAC;IACvB,SAAgB,MAAM;;;;MAAC;gBAGL,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,EACpD,EACE,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,YAAY,GACpB,EAAE,KAAK,CAAC,UAAU,CAAC,EACpB,EAAE,GAAG,EAAE,eAAoB,EAAE,GAAG,eAAe,EAAE,GAAE,KAAK,CAAC,YAAY,CAAe;IAgD/E,KAAK,CAAC,CAAC,SAAS,MAAM,OAAO,aAAa,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC7G"}
@@ -1,65 +0,0 @@
1
- export class Factory {
2
- parsers;
3
- common;
4
- scopes;
5
- constructor(parsers, { settings: defaultSettings, files: defaultFiles, ignores: defaultIgnores, rules: defaultRules, }, { "*": commonExtension = {}, ...scopeExtensions } = {}) {
6
- this.parsers = parsers;
7
- const { noInlineConfig = defaultSettings.noInlineConfig, reportUnusedDisableDirectives = defaultSettings.reportUnusedDisableDirectives, sourceType = defaultSettings.sourceType, ecmaVersion = defaultSettings.ecmaVersion, ignores = [], override = false, } = commonExtension;
8
- this.common = {
9
- settings: {
10
- name: "linted/*/settings",
11
- linterOptions: { noInlineConfig, reportUnusedDisableDirectives },
12
- languageOptions: { sourceType, ecmaVersion },
13
- },
14
- ignores: {
15
- name: "linted/*/ignores",
16
- ignores: [
17
- ...override ? [] : defaultIgnores["*"],
18
- ...ignores,
19
- ],
20
- },
21
- };
22
- this.scopes = {
23
- files: defaultFiles,
24
- ignores: defaultIgnores,
25
- rules: defaultRules,
26
- };
27
- for (const s in scopeExtensions) {
28
- const { [s]: { files: moreFiles = [], ignores: moreIgnores = [], rules: moreRules = null, } = {}, } = scopeExtensions;
29
- this.scopes.files[s].push(...moreFiles);
30
- this.scopes.ignores[s].push(...moreIgnores);
31
- if (moreRules !== null)
32
- this.scopes.rules[s].push([`${s}:override`, moreRules]);
33
- }
34
- }
35
- scope(scope, settings) {
36
- const { files: { [scope]: files, }, ignores: { [scope]: ignores }, rules: { [scope]: rules }, } = this.scopes, ruleset = rules.map(([id, rules]) => ({ id: `${scope}:${id}`, rules })), { languageOptions, parserOptions } = settings, loadedLanguageOptions = {
37
- ...languageOptions,
38
- ..."parserOptions" in parserOptions
39
- ? {
40
- parserOptions: {
41
- ...parserOptions.parserOptions,
42
- ..."parser" in parserOptions.parserOptions
43
- ? { parser: this.parsers[parserOptions.parserOptions.parser] }
44
- : {},
45
- },
46
- }
47
- : {},
48
- ..."parser" in languageOptions
49
- ? { parser: this.parsers[languageOptions.parser] }
50
- : {},
51
- };
52
- return files.length < 1
53
- ? []
54
- : ruleset.map(({ id, rules }) => ({
55
- name: `linted/${id}`,
56
- files,
57
- ignores,
58
- rules,
59
- languageOptions: loadedLanguageOptions,
60
- ...settings.processor,
61
- ...settings.language,
62
- }));
63
- }
64
- }
65
- //# sourceMappingURL=factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,OAAO;IAKA;IAJF,MAAM,CAAC;IACP,MAAM,CAAC;IAEvB,YACkB,OAAoC,EACpD,EACE,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,YAAY,GACD,EACpB,EAAE,GAAG,EAAE,eAAe,GAAG,EAAE,EAAE,GAAG,eAAe,KAA0B,EAAW;QAPpE,YAAO,GAAP,OAAO,CAA6B;QASpD,MAAM,EACJ,cAAc,GAAG,eAAe,CAAC,cAAc,EAC/C,6BAA6B,GAAG,eAAe,CAAC,6BAA6B,EAC7E,UAAU,GAAG,eAAe,CAAC,UAAU,EACvC,WAAW,GAAG,eAAe,CAAC,WAAW,EACzC,OAAO,GAAG,EAAW,EACrB,QAAQ,GAAG,KAAK,GACjB,GAAG,eAAe,CAAC;QAEpB,IAAI,CAAC,MAAM,GAAG;YACZ,QAAQ,EAAE;gBACR,IAAI,EAAE,mBAAmB;gBACzB,aAAa,EAAE,EAAE,cAAc,EAAE,6BAA6B,EAAW;gBACzE,eAAe,EAAE,EAAE,UAAU,EAAE,WAAW,EAAW;aAC7C;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,kBAAkB;gBACxB,OAAO,EAAE;oBACP,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAW,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC;oBAC/C,GAAG,OAAO;iBACF;aACF;SACF,CAAC;QACX,IAAI,CAAC,MAAM,GAAG;YAC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AC;AAE/B,mBAAmB,WAAW,CAAC;AAC/B,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/settings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAG/B,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY,CACnD,MAAM,CACP;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa,KAAe;IAC5C,SAAgB,eAAe;;MAA+B;CAC/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAExC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG,EAAW,CAAC;IAC5B,eAAe,GAAG,EAAE,MAAM,EAAE,MAAM,EAAW,CAAC;CAC/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY;IACjD,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa,KAAe;IAC5C,SAAgB,eAAe,KAAe;CAC/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY;IACjC,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG,EAAW,CAAC;IAC5B,eAAe,GAAG,EAAW,CAAC;CAC/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY,CACnD,OAAO,CACR;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa,KAAe;IAC5C,SAAgB,eAAe;;MAAgC;CAChE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAExC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG,EAAW,CAAC;IAC5B,eAAe,GAAG,EAAE,MAAM,EAAE,OAAO,EAAW,CAAC;CAChE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY,CACpD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa,KAAe;IAC5C,SAAgB,eAAe;;MAAgC;CAChE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAEzC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG,EAAW,CAAC;IAC5B,eAAe,GAAG,EAAE,MAAM,EAAE,OAAO,EAAW,CAAC;CAChE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY,CACpD,IAAI,EACJ,SAAS,CAAC,eAAe,CAAC,EAC1B,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,KAAK,qBAAsB;IAC3C,SAAgB,aAAa;;;;;;MAMlB;IACX,SAAgB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;MAGpB;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAIzC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,KAAK,GAAG,CAAC,OAAO,CAAU,CAAC;IAC3B,aAAa,GAAG;QAC9B,aAAa,EAAE;YACb,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,IAAI;SACT;KACF,CAAC;IACK,eAAe,GAAG;QAChC,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;KACtB,CAAC;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,YAAY,CACrD,QAAQ,GAAG,IAAI,EACf,SAAS,CAAC,eAAe,CAAC,GAAG;IAC3B,aAAa,EAAE;QACb,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;QACtB,QAAQ,CAAC,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACpD,CAAC;CACH,EACD,KAAK,EACL;IAAE,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAA;CAAE,CACxC;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IACpE,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa;;;;;;;;MAQlB;IACX,SAAgB,eAAe;;MAEpB;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,YAU1C;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IACpD,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG;QAC9B,aAAa,EAAE;YACb,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,IAAI;YACjB,MAAM,EAAE,IAAI;YACZ,mBAAmB,EAAE,CAAC,SAAS,CAAU;SACjC;KACF,CAAC;IACK,eAAe,GAAG;QAChC,MAAM,EAAE,QAAQ;KACR,CAAC;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY,CACjD,IAAI,EACJ;IACE,aAAa,EAAE;QACb,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;QAClC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;QAC9B,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;KAC5B,CAAC;CACH,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa;;;;;;MAMlB;IACX,SAAgB,eAAe;;MAGpB;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAStC;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG;QAC9B,aAAa,EAAE;YACb,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,IAAI;SACT;KACF,CAAC;IACK,eAAe,GAAG;QAChC,MAAM,EAAE,IAAI;KAEJ,CAAC;CACZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY,CAClD,KAAK,CACN;IACC,SAAgB,KAAK,SAAS;IAC9B,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;IACvC,SAAgB,aAAa,KAAe;IAC5C,SAAgB,eAAe;;MAA8B;CAC9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/factory/settings/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAEvC;IACiB,KAAK,GAAG,KAAK,CAAC;IACd,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;IACvB,aAAa,GAAG,EAAW,CAAC;IAC5B,eAAe,GAAG,EAAE,MAAM,EAAE,KAAK,EAAW,CAAC;CAC9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting.js","sourceRoot":"","sources":["../../../src/factory/settings/setting.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAG9B,MAAM,OAAgB,YAAY;IAoChC,IAAW,MAAM;QACf,MAAM,EACJ,eAAe,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,GACpD,GAAG,IAAI,CAAC;QAET,OAAO;YACL,eAAe,EAAE;gBACf,GAAG,eAAe;gBAClB,GAAG,aAAa;aACjB;YACD,GAAG,SAAS;YACZ,GAAG,QAAQ;SACH,CAAC;IACb,CAAC;IAES,OAAO,CAAC,MAAqC;QACrD,IAAI,OAAO,MAAM,KAAK,SAAS;YAC7B,MAAM,IAAI,SAAS,CAAC,oDAAoD,CAAC,CAAC;QAE5E,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;IACzB,CAAC;CACF"}