@kitschpatrol/eslint-config 5.4.1 → 5.4.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/bin/cli.js +1 -1
- package/dist/index.d.ts +1542 -555
- package/dist/index.js +5 -6
- package/package.json +27 -27
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/configs/astro.ts
|
|
2
2
|
import globals from "globals";
|
|
3
|
-
import path from "
|
|
4
|
-
import process3 from "
|
|
3
|
+
import path from "path";
|
|
4
|
+
import process3 from "process";
|
|
5
5
|
|
|
6
6
|
// src/globs.ts
|
|
7
7
|
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -770,6 +770,7 @@ var jsonPackageRecommendedRules = {
|
|
|
770
770
|
"json-package/order-properties": "error",
|
|
771
771
|
"json-package/require-description": "error",
|
|
772
772
|
"json-package/require-name": "error",
|
|
773
|
+
"json-package/require-type": "error",
|
|
773
774
|
"json-package/require-version": "error",
|
|
774
775
|
"json-package/repository-shorthand": "error",
|
|
775
776
|
"json-package/sort-collections": "error",
|
|
@@ -1479,6 +1480,7 @@ var svelteRecommendedRules = {
|
|
|
1479
1480
|
"svelte/no-unused-svelte-ignore": "error",
|
|
1480
1481
|
"svelte/no-useless-children-snippet": "error",
|
|
1481
1482
|
"svelte/no-useless-mustaches": "error",
|
|
1483
|
+
"svelte/prefer-writable-derived": "error",
|
|
1482
1484
|
"svelte/require-each-key": "error",
|
|
1483
1485
|
"svelte/require-event-dispatcher-types": "error",
|
|
1484
1486
|
"svelte/require-store-reactive-access": "error",
|
|
@@ -2271,7 +2273,7 @@ var yamlRecommendedRules = {
|
|
|
2271
2273
|
};
|
|
2272
2274
|
|
|
2273
2275
|
// src/utilities.ts
|
|
2274
|
-
import process2 from "
|
|
2276
|
+
import process2 from "process";
|
|
2275
2277
|
async function combine(...configs) {
|
|
2276
2278
|
const resolved = await Promise.all(configs);
|
|
2277
2279
|
return resolved.flat();
|
|
@@ -3681,9 +3683,6 @@ async function mdx(options = {}) {
|
|
|
3681
3683
|
// 'ts/no-require-imports': 'off',
|
|
3682
3684
|
// 'ts/no-unused-expressions': 'off',
|
|
3683
3685
|
// 'ts/no-unused-vars': 'off',
|
|
3684
|
-
// MDX files can be PascalCase OR kebab-case, depending on whether
|
|
3685
|
-
// the file's core nature is that of content or component
|
|
3686
|
-
// 'unicorn/filename-case': 'off',
|
|
3687
3686
|
// 'ts/no-use-before-define': 'off',
|
|
3688
3687
|
// 'unicode-bom': 'off',
|
|
3689
3688
|
...overridesEmbeddedScripts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/eslint-config",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.4",
|
|
4
4
|
"description": "ESLint configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -42,45 +42,45 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
45
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
46
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
47
|
-
"@html-eslint/parser": "^0.
|
|
45
|
+
"@eslint-react/eslint-plugin": "^1.51.2",
|
|
46
|
+
"@html-eslint/eslint-plugin": "^0.41.0",
|
|
47
|
+
"@html-eslint/parser": "^0.41.0",
|
|
48
48
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
50
|
-
"@typescript-eslint/parser": "^8.
|
|
51
|
-
"@vitest/eslint-plugin": "^1.1
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
50
|
+
"@typescript-eslint/parser": "^8.33.1",
|
|
51
|
+
"@vitest/eslint-plugin": "^1.2.1",
|
|
52
52
|
"astro-eslint-parser": "^1.2.2",
|
|
53
|
-
"eslint": "^9.
|
|
53
|
+
"eslint": "^9.28.0",
|
|
54
54
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
55
|
-
"eslint-flat-config-utils": "^2.0
|
|
56
|
-
"eslint-import-resolver-typescript": "^4.3
|
|
57
|
-
"eslint-mdx": "^3.4.
|
|
55
|
+
"eslint-flat-config-utils": "^2.1.0",
|
|
56
|
+
"eslint-import-resolver-typescript": "^4.4.3",
|
|
57
|
+
"eslint-mdx": "^3.4.2",
|
|
58
58
|
"eslint-plugin-astro": "^1.3.1",
|
|
59
59
|
"eslint-plugin-depend": "^1.2.0",
|
|
60
|
-
"eslint-plugin-html": "^8.1.
|
|
61
|
-
"eslint-plugin-import-x": "^4.
|
|
62
|
-
"eslint-plugin-jsdoc": "^50.
|
|
63
|
-
"eslint-plugin-jsonc": "^2.20.
|
|
60
|
+
"eslint-plugin-html": "^8.1.3",
|
|
61
|
+
"eslint-plugin-import-x": "^4.15.1",
|
|
62
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
63
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
64
64
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
65
|
-
"eslint-plugin-mdx": "^3.4.
|
|
66
|
-
"eslint-plugin-n": "^17.
|
|
65
|
+
"eslint-plugin-mdx": "^3.4.2",
|
|
66
|
+
"eslint-plugin-n": "^17.19.0",
|
|
67
67
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
68
|
-
"eslint-plugin-package-json": "^0.
|
|
69
|
-
"eslint-plugin-perfectionist": "^4.
|
|
70
|
-
"eslint-plugin-regexp": "^2.
|
|
71
|
-
"eslint-plugin-svelte": "^3.
|
|
68
|
+
"eslint-plugin-package-json": "^0.33.2",
|
|
69
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
70
|
+
"eslint-plugin-regexp": "^2.9.0",
|
|
71
|
+
"eslint-plugin-svelte": "^3.9.1",
|
|
72
72
|
"eslint-plugin-toml": "^0.12.0",
|
|
73
73
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
74
74
|
"eslint-plugin-yml": "^1.18.0",
|
|
75
|
-
"execa": "^9.
|
|
75
|
+
"execa": "^9.6.0",
|
|
76
76
|
"find-workspaces": "^0.3.1",
|
|
77
77
|
"fs-extra": "^11.3.0",
|
|
78
|
-
"globals": "^16.
|
|
78
|
+
"globals": "^16.2.0",
|
|
79
79
|
"jsonc-eslint-parser": "^2.4.0",
|
|
80
80
|
"local-pkg": "^1.1.1",
|
|
81
81
|
"prettier": "^3.5.3",
|
|
82
82
|
"sort-package-json": "^3.2.1",
|
|
83
|
-
"svelte-eslint-parser": "^1.
|
|
83
|
+
"svelte-eslint-parser": "^1.2.0",
|
|
84
84
|
"toml-eslint-parser": "^0.10.0",
|
|
85
85
|
"yaml-eslint-parser": "^1.3.0"
|
|
86
86
|
},
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"dot-prop": "^9.0.0",
|
|
91
91
|
"eslint-config-prettier": "^10.1.5",
|
|
92
92
|
"eslint-config-xo-typescript": "^8.0.1",
|
|
93
|
-
"eslint-typegen": "^2.
|
|
93
|
+
"eslint-typegen": "^2.2.0",
|
|
94
94
|
"globby": "^14.1.0",
|
|
95
|
-
"svelte": "^5.
|
|
96
|
-
"tsup": "^8.
|
|
95
|
+
"svelte": "^5.33.18",
|
|
96
|
+
"tsup": "^8.5.0"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
99
|
"node": ">=20.9.0"
|