@eslinted/core 13.3.0-rc.0 → 13.3.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/factory.d.ts +2 -2
- package/dist/factory/factory.d.ts.map +1 -1
- package/dist/factory/factory.js.map +1 -1
- package/dist/factory/index.d.ts +1 -2
- package/dist/factory/index.d.ts.map +1 -1
- package/dist/factory/index.js +1 -2
- package/dist/factory/index.js.map +1 -1
- package/dist/factory/settings/index.d.ts +1 -2
- package/dist/factory/settings/index.d.ts.map +1 -1
- package/dist/factory/settings/index.js +1 -1
- package/dist/factory/settings/index.js.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/factory/factory.ts +2 -2
- package/src/factory/index.ts +1 -3
- package/src/factory/settings/index.ts +1 -1
- package/src/index.ts +10 -10
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import type { ScopeSettings } from "./settings/index.js";
|
2
2
|
import type { Input } from "../interface/input/index.js";
|
3
3
|
export declare class Factory {
|
4
4
|
readonly common: {
|
@@ -24,7 +24,7 @@ export declare class Factory {
|
|
24
24
|
readonly rules: Readonly<Record<"svelte" | "mocha" | "jsonc" | "yml" | "ts" | "html" | "js" | "json", import("../interface/shared/config/rule/index.js").NamedBag[]>>;
|
25
25
|
};
|
26
26
|
constructor({ settings: defaultSettings, files: defaultFiles, ignores: defaultIgnores, rules: defaultRules, }: Input["defaults"], { "*": commonExtension, ...scopeExtensions }?: Input["extensions"]);
|
27
|
-
scope<S extends keyof typeof
|
27
|
+
scope<S extends keyof typeof ScopeSettings>(scope: S, settings: InstanceType<typeof ScopeSettings[S]>): readonly [
|
28
28
|
] | ({
|
29
29
|
readonly languageOptions: {
|
30
30
|
readonly parser: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
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;IAClB,SAAgB,MAAM;;;;;;;;;;;;;;;;MAAC;IACvB,SAAgB,MAAM;;;;MAAC;gBAGrB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB7G"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/factory/factory.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,OAAO;IACF,MAAM,CAAC;IACP,MAAM,CAAC;IAEvB,YACE,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;QAEpF,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,E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ory/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
package/dist/factory/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
@@ -7,7 +7,7 @@ import json from "./scopes/json.js";
|
|
7
7
|
import jsonc from "./scopes/jsonc.js";
|
8
8
|
import yml from "./scopes/yml.js";
|
9
9
|
export type * from "./setting.js";
|
10
|
-
declare const
|
10
|
+
export declare const ScopeSettings: {
|
11
11
|
readonly js: typeof js;
|
12
12
|
readonly ts: typeof ts;
|
13
13
|
readonly svelte: typeof svelte;
|
@@ -17,5 +17,4 @@ declare const _default: {
|
|
17
17
|
readonly jsonc: typeof jsonc;
|
18
18
|
readonly yml: typeof yml;
|
19
19
|
};
|
20
|
-
export default _default;
|
21
20
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","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;AAE/B,mBAAmB,WAAW,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","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;AAE/B,mBAAmB,WAAW,CAAC;AAC/B,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC"}
|
@@ -1 +1 @@
|
|
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,
|
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"}
|
package/dist/index.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
import { scopes } from "./scopes/index.js";
|
2
|
-
import { Factory,
|
2
|
+
import { Factory, ScopeSettings } from "./factory/index.js";
|
3
3
|
export default function ({ imports: { plugins, parsers }, defaults, extensions, }) {
|
4
4
|
try {
|
5
5
|
const factory = new Factory(defaults, extensions), options = {
|
6
|
-
js: new
|
7
|
-
ts: new
|
8
|
-
svelte: new
|
9
|
-
mocha: new
|
10
|
-
html: new
|
11
|
-
json: new
|
12
|
-
jsonc: new
|
13
|
-
yml: new
|
6
|
+
js: new ScopeSettings.js([]),
|
7
|
+
ts: new ScopeSettings.ts([parsers.ts]),
|
8
|
+
svelte: new ScopeSettings.svelte([parsers.svelte, parsers.ts]),
|
9
|
+
mocha: new ScopeSettings.mocha([parsers.ts]),
|
10
|
+
html: new ScopeSettings.html([parsers.html]),
|
11
|
+
json: new ScopeSettings.json([parsers.jsonc]),
|
12
|
+
jsonc: new ScopeSettings.jsonc([parsers.jsonc]),
|
13
|
+
yml: new ScopeSettings.yml([parsers.yml]),
|
14
14
|
};
|
15
15
|
return [
|
16
16
|
{ name: `linted/*/plugins`, plugins },
|
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,
|
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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O,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
package/src/factory/factory.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import type { ScopeSettings } from "./settings";
|
2
2
|
import type { Input } from "../interface/input";
|
3
3
|
|
4
4
|
export class Factory {
|
@@ -60,7 +60,7 @@ export class Factory {
|
|
60
60
|
}
|
61
61
|
}
|
62
62
|
|
63
|
-
public scope<S extends keyof typeof
|
63
|
+
public scope<S extends keyof typeof ScopeSettings>(scope: S, settings: InstanceType<typeof ScopeSettings[S]>) {
|
64
64
|
const {
|
65
65
|
files: {
|
66
66
|
[scope]: files,
|
package/src/factory/index.ts
CHANGED
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,
|
3
|
+
import { Factory, ScopeSettings } from "./factory";
|
4
4
|
|
5
5
|
export type * from "./interface";
|
6
6
|
export type * from "./scopes";
|
@@ -11,15 +11,15 @@ export default function ({
|
|
11
11
|
}: Input): Output {
|
12
12
|
try {
|
13
13
|
const factory = new Factory(defaults, extensions),
|
14
|
-
options: { readonly [S in typeof scopes[number]]: InstanceType<typeof
|
15
|
-
js: new
|
16
|
-
ts: new
|
17
|
-
svelte: new
|
18
|
-
mocha: new
|
19
|
-
html: new
|
20
|
-
json: new
|
21
|
-
jsonc: new
|
22
|
-
yml: new
|
14
|
+
options: { readonly [S in typeof scopes[number]]: InstanceType<typeof ScopeSettings[S]> } = {
|
15
|
+
js: new ScopeSettings.js([] as const),
|
16
|
+
ts: new ScopeSettings.ts([parsers.ts] as const),
|
17
|
+
svelte: new ScopeSettings.svelte([parsers.svelte, parsers.ts] as const),
|
18
|
+
mocha: new ScopeSettings.mocha([parsers.ts] as const),
|
19
|
+
html: new ScopeSettings.html([parsers.html] as const),
|
20
|
+
json: new ScopeSettings.json([parsers.jsonc] as const),
|
21
|
+
jsonc: new ScopeSettings.jsonc([parsers.jsonc] as const),
|
22
|
+
yml: new ScopeSettings.yml([parsers.yml] as const),
|
23
23
|
} as const;
|
24
24
|
|
25
25
|
return [
|