@eslinted/core 10.1.1 → 10.1.2
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/factory/files.d.ts +1 -1
- package/dist/factory/index.d.ts +5 -2
- package/dist/factory/index.js +1 -1
- package/dist/factory/options/html.d.ts +1 -1
- package/dist/factory/options/html.js +1 -1
- package/dist/factory/options/index.d.ts +1 -1
- package/dist/factory/options/index.js +1 -1
- package/dist/factory/options/js.d.ts +1 -1
- package/dist/factory/options/js.js +1 -1
- package/dist/factory/options/json.d.ts +1 -1
- package/dist/factory/options/json.js +1 -1
- package/dist/factory/options/jsonc.d.ts +1 -1
- package/dist/factory/options/jsonc.js +1 -1
- package/dist/factory/options/mocha.d.ts +4 -2
- package/dist/factory/options/mocha.js +1 -1
- package/dist/factory/options/option/index.d.ts +2 -2
- package/dist/factory/options/option/template/index.d.ts +1 -1
- package/dist/factory/options/option/template/language/index.d.ts +1 -1
- package/dist/factory/options/svelte.d.ts +7 -3
- package/dist/factory/options/svelte.js +1 -1
- package/dist/factory/options/ts.d.ts +1 -1
- package/dist/factory/options/ts.js +1 -1
- package/dist/factory/options/yml.d.ts +1 -1
- package/dist/factory/options/yml.js +1 -1
- package/dist/factory/rulesets/index.d.ts +1 -1
- package/dist/factory/rulesets/index.js +1 -1
- package/dist/factory/rulesets/ruleset.d.ts +5 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/input/files.d.ts +1 -1
- package/dist/input/imports/parsers.d.ts +1 -1
- package/dist/input/index.d.ts +1 -1
- package/dist/input/parsers.d.ts +1 -1
- package/dist/input/plugins.d.ts +1 -1
- package/dist/input/rules/entry/index.d.ts +5 -2
- package/dist/input/rules/entry/record/index.d.ts +5 -2
- package/dist/input/rules/index.d.ts +1 -1
- package/dist/output.d.ts +1 -1
- package/dist/scopes.spec.js +1 -1
- package/package.json +2 -2
package/dist/factory/files.d.ts
CHANGED
package/dist/factory/index.d.ts
CHANGED
@@ -8,6 +8,9 @@ export declare class Factory {
|
|
8
8
|
readonly files: Files;
|
9
9
|
readonly rulesets: Rulesets;
|
10
10
|
constructor(files: Input["files"], rules: Input["rules"]);
|
11
|
-
produce(scope: string): readonly [
|
11
|
+
produce(scope: string): readonly [
|
12
|
+
string[],
|
13
|
+
import("./rulesets/ruleset.js").Ruleset
|
14
|
+
];
|
12
15
|
}
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/factory/index.js
CHANGED
@@ -3,7 +3,9 @@ import type Ts from "./ts.js";
|
|
3
3
|
export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"]["plugins"], true, Ts["option"]["languageOptions"]["parserOptions"], 1, "mocha"> {
|
4
4
|
readonly scope = "mocha";
|
5
5
|
readonly processor: {};
|
6
|
-
readonly types: readonly [
|
6
|
+
readonly types: readonly [
|
7
|
+
"mocha"
|
8
|
+
];
|
7
9
|
get languageOptions(): {
|
8
10
|
readonly ecmaVersion: "latest";
|
9
11
|
readonly sourceType: "module";
|
@@ -37,4 +39,4 @@ export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"][
|
|
37
39
|
};
|
38
40
|
};
|
39
41
|
}
|
40
|
-
//# sourceMappingURL=mocha.d.ts.map
|
42
|
+
//# sourceMappingURL=mocha.d.ts.map
|
@@ -2566,7 +2566,7 @@ export default abstract class Option<S extends Scope, Plugin extends keyof Input
|
|
2566
2566
|
readonly WritableStreamDefaultWriter: false;
|
2567
2567
|
readonly XMLHttpRequest: false;
|
2568
2568
|
};
|
2569
|
-
readonly
|
2569
|
+
readonly "shared-node-browser": {
|
2570
2570
|
readonly AbortController: false;
|
2571
2571
|
readonly AbortSignal: false;
|
2572
2572
|
readonly atob: false;
|
@@ -2985,4 +2985,4 @@ export default abstract class Option<S extends Scope, Plugin extends keyof Input
|
|
2985
2985
|
};
|
2986
2986
|
}[Global];
|
2987
2987
|
}
|
2988
|
-
//# sourceMappingURL=index.d.ts.map
|
2988
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -12,4 +12,4 @@ export type OptionTemplate<PluginId extends string, IsEcma extends boolean, Pars
|
|
12
12
|
}) & (Interface<Processor> extends never ? object : Interface<Processor> extends {
|
13
13
|
processor: string;
|
14
14
|
} ? Interface<Processor> : object);
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -3,7 +3,9 @@ import type Ts from "./ts.js";
|
|
3
3
|
export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option"]["plugins"], true, {
|
4
4
|
parser: unknown;
|
5
5
|
} & {
|
6
|
-
extraFileExtensions: readonly [
|
6
|
+
extraFileExtensions: readonly [
|
7
|
+
".svelte"
|
8
|
+
];
|
7
9
|
} & Ts["option"]["languageOptions"]["parserOptions"], 2, never, {
|
8
10
|
processor: "svelte/svelte";
|
9
11
|
}> {
|
@@ -17,11 +19,13 @@ export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option
|
|
17
19
|
readonly parser: unknown;
|
18
20
|
readonly parserOptions: {
|
19
21
|
readonly parser: unknown;
|
20
|
-
readonly extraFileExtensions: readonly [
|
22
|
+
readonly extraFileExtensions: readonly [
|
23
|
+
".svelte"
|
24
|
+
];
|
21
25
|
readonly project: "tsconfig.json";
|
22
26
|
readonly ecmaVersion: "latest";
|
23
27
|
readonly sourceType: "module";
|
24
28
|
};
|
25
29
|
};
|
26
30
|
}
|
27
|
-
//# sourceMappingURL=svelte.d.ts.map
|
31
|
+
//# sourceMappingURL=svelte.d.ts.map
|
@@ -5,6 +5,9 @@ export declare class Ruleset {
|
|
5
5
|
id: string;
|
6
6
|
rule: Input.Rule.Entry.Record;
|
7
7
|
}[];
|
8
|
-
constructor(scope: string, rules: (readonly [
|
8
|
+
constructor(scope: string, rules: (readonly [
|
9
|
+
string,
|
10
|
+
Input.Rule.Entry.Record
|
11
|
+
])[], override?: Input.Rule.Entry.Record);
|
9
12
|
}
|
10
|
-
//# sourceMappingURL=ruleset.d.ts.map
|
13
|
+
//# sourceMappingURL=ruleset.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/input/files.d.ts
CHANGED
package/dist/input/index.d.ts
CHANGED
package/dist/input/parsers.d.ts
CHANGED
package/dist/input/plugins.d.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
import type { RuleRecord } from "./record/index.js";
|
2
|
-
export type RuleEntry = readonly [
|
2
|
+
export type RuleEntry = readonly [
|
3
|
+
string,
|
4
|
+
RuleRecord
|
5
|
+
];
|
3
6
|
export declare namespace RuleEntry {
|
4
7
|
type Id = string;
|
5
8
|
type Record = RuleRecord;
|
6
9
|
}
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1,3 +1,6 @@
|
|
1
1
|
import type { RuleState } from "./state.js";
|
2
|
-
export type RuleRecord = Table<RuleState | readonly [
|
3
|
-
|
2
|
+
export type RuleRecord = Table<RuleState | readonly [
|
3
|
+
RuleState,
|
4
|
+
...unknown[]
|
5
|
+
]>;
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/output.d.ts
CHANGED
package/dist/scopes.spec.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "22.11.0",
|
3
3
|
"name": "@eslinted/core",
|
4
|
-
"version": "10.1.
|
4
|
+
"version": "10.1.2",
|
5
5
|
"description": "Core ESLint flat config factory npm package `linted`.",
|
6
6
|
"keywords": [],
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"mocha": "^10.8.2",
|
38
38
|
"npm-run-all": "^4.1.5",
|
39
39
|
"run-script-os": "^1.1.6",
|
40
|
-
"ts-add-js-extension": "^1.6.
|
40
|
+
"ts-add-js-extension": "^1.6.5",
|
41
41
|
"typescript": "^5.6.3"
|
42
42
|
},
|
43
43
|
"scripts": {
|