@kitschpatrol/eslint-config 7.6.4 → 8.1.0
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 +6 -6
- package/dist/index.d.ts +4301 -1665
- package/dist/index.js +1 -1
- package/package.json +31 -30
- package/readme.md +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "ESLint configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -42,73 +42,74 @@
|
|
|
42
42
|
"init/*"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@e18e/eslint-plugin": "^0.5.
|
|
45
|
+
"@e18e/eslint-plugin": "^0.5.1",
|
|
46
46
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
47
|
-
"@eslint-react/eslint-plugin": "
|
|
48
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
49
|
-
"@html-eslint/parser": "^0.
|
|
47
|
+
"@eslint-react/eslint-plugin": "^5.13.2",
|
|
48
|
+
"@html-eslint/eslint-plugin": "^0.63.0",
|
|
49
|
+
"@html-eslint/parser": "^0.63.0",
|
|
50
50
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
51
51
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
53
|
-
"@typescript-eslint/parser": "^8.
|
|
54
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
55
|
-
"astro-eslint-parser": "^1.
|
|
56
|
-
"cosmiconfig": "^9.0.
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^8.63.0",
|
|
53
|
+
"@typescript-eslint/parser": "^8.63.0",
|
|
54
|
+
"@vitest/eslint-plugin": "^1.6.22",
|
|
55
|
+
"astro-eslint-parser": "^2.1.0",
|
|
56
|
+
"cosmiconfig": "^9.0.2",
|
|
57
57
|
"cosmiconfig-typescript-loader": "^6.3.0",
|
|
58
58
|
"decircular": "^1.0.0",
|
|
59
59
|
"deepmerge": "^4.3.1",
|
|
60
|
-
"eslint": "^
|
|
60
|
+
"eslint": "^10.6.0",
|
|
61
61
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
62
62
|
"eslint-flat-config-utils": "^3.2.0",
|
|
63
63
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
64
64
|
"eslint-mdx": "^3.8.1",
|
|
65
|
-
"eslint-plugin-astro": "^1.
|
|
65
|
+
"eslint-plugin-astro": "^2.1.1",
|
|
66
66
|
"eslint-plugin-de-morgan": "^2.1.2",
|
|
67
67
|
"eslint-plugin-depend": "^1.5.0",
|
|
68
68
|
"eslint-plugin-html": "^8.1.4",
|
|
69
|
-
"eslint-plugin-import-x": "^4.
|
|
70
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
71
|
-
"eslint-plugin-jsonc": "^3.
|
|
69
|
+
"eslint-plugin-import-x": "^4.17.1",
|
|
70
|
+
"eslint-plugin-jsdoc": "^63.0.12",
|
|
71
|
+
"eslint-plugin-jsonc": "^3.3.0",
|
|
72
72
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
73
|
"eslint-plugin-math": "^0.13.1",
|
|
74
74
|
"eslint-plugin-mdx": "^3.8.1",
|
|
75
|
-
"eslint-plugin-n": "^18.
|
|
75
|
+
"eslint-plugin-n": "^18.2.1",
|
|
76
76
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
77
|
-
"eslint-plugin-package-json": "^1.
|
|
78
|
-
"eslint-plugin-perfectionist": "^5.
|
|
79
|
-
"eslint-plugin-regexp": "^3.1.
|
|
80
|
-
"eslint-plugin-svelte": "^3.
|
|
77
|
+
"eslint-plugin-package-json": "^1.5.0",
|
|
78
|
+
"eslint-plugin-perfectionist": "^5.10.0",
|
|
79
|
+
"eslint-plugin-regexp": "^3.1.1",
|
|
80
|
+
"eslint-plugin-svelte": "^3.20.0",
|
|
81
81
|
"eslint-plugin-toml": "^1.4.0",
|
|
82
|
-
"eslint-plugin-unicorn": "^
|
|
83
|
-
"eslint-plugin-yml": "^3.
|
|
82
|
+
"eslint-plugin-unicorn": "^71.1.0",
|
|
83
|
+
"eslint-plugin-yml": "^3.6.0",
|
|
84
84
|
"execa": "^9.6.1",
|
|
85
85
|
"find-workspaces": "^0.3.1",
|
|
86
|
-
"fs-extra": "^11.3.
|
|
87
|
-
"globals": "^17.
|
|
86
|
+
"fs-extra": "^11.3.6",
|
|
87
|
+
"globals": "^17.7.0",
|
|
88
88
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
89
89
|
"jsonc-eslint-parser": "^3.1.0",
|
|
90
90
|
"local-pkg": "^1.2.1",
|
|
91
91
|
"package-up": "^5.0.0",
|
|
92
92
|
"picocolors": "^1.1.1",
|
|
93
|
-
"prettier": "^3.
|
|
93
|
+
"prettier": "^3.9.5",
|
|
94
94
|
"sort-package-json": "^4.0.0",
|
|
95
95
|
"svelte-eslint-parser": "^1.8.0",
|
|
96
96
|
"toml-eslint-parser": "^1.0.3",
|
|
97
|
-
"yaml-eslint-parser": "^2.
|
|
97
|
+
"yaml-eslint-parser": "^2.1.0",
|
|
98
98
|
"yargs": "^18.0.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
+
"@eslint/js": "^10.0.1",
|
|
101
102
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
102
103
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
103
104
|
"dot-prop": "^10.1.0",
|
|
104
105
|
"eslint-config-prettier": "^10.1.8",
|
|
105
|
-
"eslint-config-xo
|
|
106
|
+
"eslint-config-xo": "^0.57.0",
|
|
106
107
|
"eslint-typegen": "^2.3.1",
|
|
107
108
|
"globby": "^16.2.0",
|
|
108
|
-
"svelte": "^5.56.
|
|
109
|
+
"svelte": "^5.56.4"
|
|
109
110
|
},
|
|
110
111
|
"engines": {
|
|
111
|
-
"node": "^
|
|
112
|
+
"node": "^24.16.0 || >=26.3.0"
|
|
112
113
|
},
|
|
113
114
|
"publishConfig": {
|
|
114
115
|
"access": "public"
|
|
@@ -118,6 +119,6 @@
|
|
|
118
119
|
"cli": "node ./bin/cli.js",
|
|
119
120
|
"inspect": "npx @eslint/config-inspector --config ./init/eslint.config.ts",
|
|
120
121
|
"test": "vitest run",
|
|
121
|
-
"update-rules": "tsx scripts/presetgen.ts && tsx scripts/typegen.ts && cd ../../ && ksc-eslint fix $PWD && ksc-prettier fix $PWD"
|
|
122
|
+
"update-rules": "tsx scripts/presetgen.ts && tsx scripts/typegen.ts && cd ../../ && ksc-eslint fix $PWD && ksc-prettier fix $PWD && ksc-prettier fix $PWD"
|
|
122
123
|
}
|
|
123
124
|
}
|
package/readme.md
CHANGED
|
@@ -213,7 +213,15 @@ The ESLint module and instances are cached internally for performance across mul
|
|
|
213
213
|
|
|
214
214
|
## Notes
|
|
215
215
|
|
|
216
|
-
|
|
216
|
+
### Config location
|
|
217
|
+
|
|
218
|
+
Regrettably the `eslint-config init --location package` option is not supported due to ESLint's removal of support for putting configuration in `package.json`. See ESLint discussion thread [18131](https://github.com/eslint/eslint/discussions/18131).
|
|
219
|
+
|
|
220
|
+
### Preset generation
|
|
221
|
+
|
|
222
|
+
The `update-rules` script is used to manually regenerate preset rule sets when plugin dependencies are updated.
|
|
223
|
+
|
|
224
|
+
The script requires two calls to `ksc-prettier fix` to accommodate a lack of idempotence in Prettier's handling of the resulting `typegen.d.ts` file. This surfaced a few Prettier versions ago, and the necessity of this work-around should be reevaluated periodically against future versions of Prettier.
|
|
217
225
|
|
|
218
226
|
### Origins
|
|
219
227
|
|