linted 15.2.1 → 15.2.4
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/plugins.d.ts +11 -43
- package/dist/plugins.d.ts.map +1 -1
- package/package.json +3 -3
- package/tsconfig.json +12 -7
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import defaults from "./defaults.js";
|
2
2
|
import type { Scope } from "@eslinted/core";
|
3
3
|
import type { Rule } from "@eslinted/core";
|
4
|
-
export default function (includes?: Partial<typeof defaults>, overrides?: Partial<Record<Scope, Rule["rules"]>>): import("@eslinted/core").
|
4
|
+
export default function (includes?: Partial<typeof defaults>, overrides?: Partial<Record<Scope, Rule["rules"]>>): import("@eslinted/core/dist/config/index.js").default[];
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAIrC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,OAAO,CAAC,OAAO,QAAQ,CAAM,EACvC,SAAS,GAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAIrC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,OAAO,CAAC,OAAO,QAAQ,CAAM,EACvC,SAAS,GAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAM,2DAkBtD"}
|
package/dist/plugins.d.ts
CHANGED
@@ -1,53 +1,21 @@
|
|
1
|
+
import stylistic from "@stylistic/eslint-plugin";
|
1
2
|
declare const _default: {
|
2
3
|
readonly js: {
|
3
|
-
readonly "@stylistic":
|
4
|
-
rules: import("@stylistic/eslint-plugin").Rules;
|
5
|
-
configs: Record<string, import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
6
|
-
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
7
|
-
customize: typeof import("@stylistic/eslint-plugin").customize;
|
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
|
-
};
|
14
|
-
};
|
4
|
+
readonly "@stylistic": typeof stylistic;
|
15
5
|
};
|
16
6
|
readonly ts: {
|
17
|
-
readonly "@stylistic":
|
18
|
-
rules: import("@stylistic/eslint-plugin").Rules;
|
19
|
-
configs: Record<string, import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
20
|
-
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
21
|
-
customize: typeof import("@stylistic/eslint-plugin").customize;
|
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
|
-
};
|
28
|
-
};
|
7
|
+
readonly "@stylistic": typeof stylistic;
|
29
8
|
readonly "@typescript-eslint": {
|
30
9
|
configs: unknown;
|
31
10
|
};
|
32
11
|
};
|
33
12
|
readonly svelte: {
|
34
|
-
readonly "@stylistic":
|
35
|
-
rules: import("@stylistic/eslint-plugin").Rules;
|
36
|
-
configs: Record<string, import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
|
37
|
-
'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
|
38
|
-
customize: typeof import("@stylistic/eslint-plugin").customize;
|
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
|
-
};
|
45
|
-
};
|
13
|
+
readonly "@stylistic": typeof stylistic;
|
46
14
|
readonly "@typescript-eslint": {
|
47
15
|
configs: unknown;
|
48
16
|
};
|
49
17
|
readonly svelte: {
|
50
|
-
meta: typeof import("eslint-plugin-svelte/lib/meta");
|
18
|
+
meta: typeof import("eslint-plugin-svelte/lib/meta.js");
|
51
19
|
configs: {
|
52
20
|
base: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
53
21
|
recommended: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
@@ -59,18 +27,18 @@ declare const _default: {
|
|
59
27
|
"flat/all": import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[];
|
60
28
|
};
|
61
29
|
rules: {
|
62
|
-
[key: string]: import("eslint-plugin-svelte/lib/types").RuleModule;
|
30
|
+
[key: string]: import("eslint-plugin-svelte/lib/types.js").RuleModule;
|
63
31
|
};
|
64
32
|
processors: {
|
65
|
-
".svelte": typeof import("eslint-plugin-svelte/lib/processor");
|
66
|
-
svelte: typeof import("eslint-plugin-svelte/lib/processor");
|
33
|
+
".svelte": typeof import("eslint-plugin-svelte/lib/processor/index.js");
|
34
|
+
svelte: typeof import("eslint-plugin-svelte/lib/processor/index.js");
|
67
35
|
};
|
68
36
|
};
|
69
37
|
};
|
70
38
|
readonly html: {
|
71
39
|
readonly "@html-eslint": {
|
72
40
|
configs: {
|
73
|
-
recommended: typeof import("@html-eslint/eslint-plugin/types/configs/recommended");
|
41
|
+
recommended: typeof import("@html-eslint/eslint-plugin/types/configs/recommended.js");
|
74
42
|
"flat/recommended": import("eslint").Linter.FlatConfig;
|
75
43
|
rules: {
|
76
44
|
"require-lang": import("../types").RuleModule;
|
@@ -845,7 +813,7 @@ declare const _default: {
|
|
845
813
|
};
|
846
814
|
readonly yml: {
|
847
815
|
readonly yml: {
|
848
|
-
meta: typeof import("eslint-plugin-yml/lib/meta");
|
816
|
+
meta: typeof import("eslint-plugin-yml/lib/meta.js");
|
849
817
|
configs: {
|
850
818
|
base: {
|
851
819
|
plugins: string[];
|
@@ -1039,7 +1007,7 @@ declare const _default: {
|
|
1039
1007
|
})[];
|
1040
1008
|
};
|
1041
1009
|
rules: {
|
1042
|
-
[key: string]: import("eslint-plugin-yml/lib/types").RuleModule;
|
1010
|
+
[key: string]: import("eslint-plugin-yml/lib/types.js").RuleModule;
|
1043
1011
|
};
|
1044
1012
|
};
|
1045
1013
|
};
|
package/dist/plugins.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,0BAA0B,CAAC;;;;;;;uCAWN;YAAE,OAAO,EAAE,OAAO,CAAA;SAAE;;;;uCAIpB;YAAE,OAAO,EAAE,OAAO,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAQ6pnB,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;yBAAmN,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAu3D,CA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;;;;;yBAAv20B,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;yBAA+K,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;yBAAolB,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA0wC,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAhB12L,wBAeyE"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "linted",
|
3
|
-
"version": "15.2.
|
3
|
+
"version": "15.2.4",
|
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",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
}
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
|
-
"@eslinted/core": "~0.4.
|
55
|
+
"@eslinted/core": "~0.4.10",
|
56
56
|
"@html-eslint/eslint-plugin": "~0.25.0",
|
57
57
|
"@html-eslint/parser": "~0.25.0",
|
58
58
|
"@stylistic/eslint-plugin": "~2.3.0",
|
@@ -69,7 +69,7 @@
|
|
69
69
|
},
|
70
70
|
"devDependencies": {
|
71
71
|
"eslint": "~8.57.0",
|
72
|
-
"linted": "~15.2.
|
72
|
+
"linted": "~15.2.3",
|
73
73
|
"npm-run-all": "^4.1.5",
|
74
74
|
"typescript": "^5.5.3"
|
75
75
|
},
|
package/tsconfig.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"display": "@jimbojet/tsc",
|
3
|
-
"_version": "5.5.
|
3
|
+
"_version": "5.5.9",
|
4
4
|
"$schema": "https://json.schemastore.org/tsconfig",
|
5
5
|
"include": [
|
6
|
+
"*.config.ts",
|
6
7
|
"src/**/*.ts",
|
7
8
|
"types/**/*.d.ts",
|
8
|
-
"*.config.ts",
|
9
9
|
],
|
10
10
|
"compilerOptions": {
|
11
11
|
/* Visit https://aka.ms/tsconfig to read more about this file */
|
@@ -17,8 +17,11 @@
|
|
17
17
|
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
18
18
|
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
19
19
|
/* Language and Environment */
|
20
|
-
"target": "
|
21
|
-
|
20
|
+
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
21
|
+
"lib": [
|
22
|
+
"es2023",
|
23
|
+
/* {{ CONFIGURE }} */
|
24
|
+
], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
22
25
|
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
23
26
|
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
24
27
|
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
@@ -30,14 +33,16 @@
|
|
30
33
|
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
31
34
|
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
32
35
|
/* Modules */
|
33
|
-
"module": "
|
36
|
+
"module": "node16", /* Specify what module code is generated. */
|
34
37
|
"rootDir": "src", /* Specify the root folder within your source files. */
|
35
|
-
"moduleResolution": "
|
38
|
+
"moduleResolution": "node16", /* Specify how TypeScript looks up a file from a given module specifier. */
|
36
39
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
37
40
|
// "paths": { "*": ["node_modules/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
38
41
|
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
39
42
|
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
40
|
-
|
43
|
+
"types": [
|
44
|
+
/* {{ CONFIGURE }} */
|
45
|
+
], /* Specify type package names to be included without being referenced in a source file. */
|
41
46
|
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
42
47
|
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
43
48
|
// "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|