linted 21.1.1 → 21.1.2-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/settings/index.d.ts +8 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +7 -0
- package/dist/settings/index.js.map +1 -0
- package/package.json +4 -4
- package/src/index.ts +9 -0
- package/src/settings/index.ts +6 -0
package/dist/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Input } from "@eslinted/core";
|
2
|
-
export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core
|
2
|
+
export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core").GlobalConfigIgnores, import("@eslinted/core").GlobalConfigSystem, ...import("@eslinted/core").ScopedConfig[]];
|
3
3
|
//# 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":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAO5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,2IA2B5C"}
|
package/dist/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import core from "@eslinted/core";
|
2
2
|
import imports from "./imports/index.js";
|
3
|
+
import settings from "./settings/index.js";
|
3
4
|
import files from "./files/index.js";
|
4
5
|
import rules from "./rules/index.js";
|
5
6
|
export default function (includes = {}, overrides = {}) {
|
@@ -7,6 +8,13 @@ export default function (includes = {}, overrides = {}) {
|
|
7
8
|
return core({
|
8
9
|
plugins: imports.plugins,
|
9
10
|
parsers: imports.parsers,
|
11
|
+
settings,
|
12
|
+
ignores: {
|
13
|
+
ignores: {
|
14
|
+
ignores: [],
|
15
|
+
},
|
16
|
+
extend: {},
|
17
|
+
},
|
10
18
|
files: {
|
11
19
|
files,
|
12
20
|
includes,
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,QAAQ;YACR,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,OAAO,EAAE,EAAE;iBACZ;gBACD,MAAM,EAAE,EAAE;aAEX;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;IACtC,UAAU,EAAE,QAAQ;IACpB,WAAW,EAAE,IAAI;CACT,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "22.11.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "21.1.1",
|
4
|
+
"version": "21.1.2-rc.1",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"peerDependencies": {
|
48
48
|
"eslint": "~9.14.0",
|
49
49
|
"mocha": "^10.8.2",
|
50
|
-
"svelte": "^5.1.
|
50
|
+
"svelte": "^5.1.13",
|
51
51
|
"typescript": ">=5.6.3"
|
52
52
|
},
|
53
53
|
"peerDependenciesMeta": {
|
@@ -62,7 +62,7 @@
|
|
62
62
|
}
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@eslinted/core": "
|
65
|
+
"@eslinted/core": "12.0.0-rc.2",
|
66
66
|
"@html-eslint/eslint-plugin": "0.27.0",
|
67
67
|
"@html-eslint/parser": "0.27.0",
|
68
68
|
"@stylistic/eslint-plugin": "2.10.1",
|
@@ -73,7 +73,7 @@
|
|
73
73
|
"eslint-plugin-svelte": "2.46.0",
|
74
74
|
"eslint-plugin-yml": "1.15.0",
|
75
75
|
"jsonc-eslint-parser": "2.4.0",
|
76
|
-
"svelte": "^5.1.
|
76
|
+
"svelte": "^5.1.13",
|
77
77
|
"svelte-eslint-parser": "0.43.0",
|
78
78
|
"yaml-eslint-parser": "1.2.3"
|
79
79
|
},
|
package/src/index.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { Input } from "@eslinted/core";
|
2
2
|
import core from "@eslinted/core";
|
3
3
|
import imports from "./imports";
|
4
|
+
import settings from "./settings";
|
4
5
|
import files from "./files";
|
5
6
|
import rules from "./rules";
|
6
7
|
|
@@ -13,6 +14,14 @@ export default function (
|
|
13
14
|
{
|
14
15
|
plugins: imports.plugins,
|
15
16
|
parsers: imports.parsers,
|
17
|
+
settings,
|
18
|
+
ignores: {
|
19
|
+
ignores: {
|
20
|
+
ignores: [],
|
21
|
+
},
|
22
|
+
extend: {},
|
23
|
+
|
24
|
+
},
|
16
25
|
files: {
|
17
26
|
files,
|
18
27
|
includes,
|