linted 14.4.0-rc.3 → 14.4.0-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/config/default/plugins.d.ts +21 -21
- package/package.json +2 -2
- package/src/config/interface/IConfig.d.ts +1 -1
- package/src/config/interface/option/language/ecma/IOLanguageEcma.d.ts +11 -6
- package/src/config/interface/option/linter/IOLinter.d.ts +10 -6
- package/src/type/utility/iterable/identity/array/ArrayType.d.ts +1 -1
- package/src/type/utility/iterable/transform/Join.d.ts +0 -2
- package/src/type/utility/iterable/transform/stringarray/stringify/Stringify.d.ts +0 -2
- package/tsconfig.json +3 -7
@@ -2,28 +2,28 @@ declare const Plugins: {
|
|
2
2
|
js: {
|
3
3
|
"@stylistic": {
|
4
4
|
rules: import("@stylistic/eslint-plugin").Rules;
|
5
|
-
configs: Record<string,
|
6
|
-
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
5
|
+
configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
6
|
+
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
7
7
|
customize: typeof import("@stylistic/eslint-plugin").customize;
|
8
|
-
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
9
|
-
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
10
|
-
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
11
|
-
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
12
|
-
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
8
|
+
'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
9
|
+
'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
10
|
+
'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
11
|
+
'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
12
|
+
'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
13
13
|
};
|
14
14
|
};
|
15
15
|
};
|
16
16
|
ts: {
|
17
17
|
"@stylistic": {
|
18
18
|
rules: import("@stylistic/eslint-plugin").Rules;
|
19
|
-
configs: Record<string,
|
20
|
-
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
19
|
+
configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
20
|
+
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
21
21
|
customize: typeof import("@stylistic/eslint-plugin").customize;
|
22
|
-
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
23
|
-
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
24
|
-
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
25
|
-
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
26
|
-
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
22
|
+
'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
23
|
+
'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
24
|
+
'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
25
|
+
'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
26
|
+
'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
27
27
|
};
|
28
28
|
};
|
29
29
|
"@typescript-eslint": {
|
@@ -33,14 +33,14 @@ declare const Plugins: {
|
|
33
33
|
svelte: {
|
34
34
|
"@stylistic": {
|
35
35
|
rules: import("@stylistic/eslint-plugin").Rules;
|
36
|
-
configs: Record<string,
|
37
|
-
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
36
|
+
configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
37
|
+
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
38
38
|
customize: typeof import("@stylistic/eslint-plugin").customize;
|
39
|
-
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
40
|
-
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
41
|
-
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
42
|
-
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
43
|
-
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
39
|
+
'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
40
|
+
'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
41
|
+
'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
42
|
+
'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
43
|
+
'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
44
44
|
};
|
45
45
|
};
|
46
46
|
"@typescript-eslint": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "linted",
|
3
|
-
"version": "14.4.0-rc.
|
3
|
+
"version": "14.4.0-rc.6",
|
4
4
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
|
5
5
|
"keywords": [
|
6
6
|
"eslint",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
},
|
69
69
|
"devDependencies": {
|
70
70
|
"eslint": "~8.57.0",
|
71
|
-
"linted": "~14.4.0-rc.
|
71
|
+
"linted": "~14.4.0-rc.3",
|
72
72
|
"npm-run-all": "^4.1.5",
|
73
73
|
"typescript": "^5.5.3"
|
74
74
|
},
|
@@ -1,10 +1,15 @@
|
|
1
|
-
declare type IOLanguageEcma<Ecma extends number | IOLanguageEcma.Ecma> =
|
2
|
-
?
|
1
|
+
declare type IOLanguageEcma<Ecma extends number | IOLanguageEcma.Ecma> = [Ecma] extends [number]
|
2
|
+
? Numbered<Ecma> extends never
|
3
3
|
? object
|
4
|
-
:
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
: { ecmaVersion: Numbered<Ecma> }
|
5
|
+
|
6
|
+
: [Ecma] extends [string]
|
7
|
+
? literalful<Ecma> extends never
|
8
|
+
? object
|
9
|
+
: literalful<Ecma> extends IOLanguageEcma.Ecma
|
10
|
+
? { ecmaVersion: literalful<Ecma> }
|
11
|
+
: object
|
12
|
+
: object;
|
8
13
|
|
9
14
|
declare namespace IOLanguageEcma {
|
10
15
|
export type Ecma =
|
@@ -8,13 +8,17 @@ declare type IOLinter<
|
|
8
8
|
noInlineConfig: True<NoInline> extends never
|
9
9
|
? false
|
10
10
|
: True<NoInline>;
|
11
|
-
reportUnusedDisableDirectives:
|
12
|
-
?
|
11
|
+
reportUnusedDisableDirectives: [ReportUnused] extends [boolean]
|
12
|
+
? True<ReportUnused> extends never
|
13
13
|
? false
|
14
|
-
:
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
: True<ReportUnused>
|
15
|
+
: [ReportUnused] extends [string]
|
16
|
+
? literalful<ReportUnused> extends never
|
17
|
+
? false
|
18
|
+
: literalful<ReportUnused> extends IOLinter.States
|
19
|
+
? literalful<ReportUnused>
|
20
|
+
: false
|
21
|
+
: false;
|
18
22
|
};
|
19
23
|
};
|
20
24
|
|
package/tsconfig.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"display": "@jimbojet/tsc",
|
3
|
-
"_version": "5.5.
|
3
|
+
"_version": "5.5.7",
|
4
4
|
"$schema": "https://json.schemastore.org/tsconfig",
|
5
5
|
"include": [
|
6
6
|
"src/**/*.ts",
|
@@ -32,12 +32,8 @@
|
|
32
32
|
"module": "esnext", /* Specify what module code is generated. */
|
33
33
|
"rootDir": "src", /* Specify the root folder within your source files. */
|
34
34
|
"moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
|
35
|
-
"baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
36
|
-
"paths": {
|
37
|
-
"*": [
|
38
|
-
"node_modules/*",
|
39
|
-
],
|
40
|
-
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
35
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
36
|
+
// "paths": { "*": ["node_modules/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
41
37
|
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
42
38
|
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
43
39
|
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|