@jskit-ai/config-eslint 0.1.128 → 0.1.129
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/base.js +5 -0
- package/package.json +5 -5
package/base.js
CHANGED
|
@@ -20,6 +20,11 @@ const baseConfig = Object.freeze([
|
|
|
20
20
|
sourceType: "module"
|
|
21
21
|
},
|
|
22
22
|
rules: {
|
|
23
|
+
// ESLint 10 added these rules to its recommended preset. Keep the
|
|
24
|
+
// established JSKIT lint contract stable; adopting either rule requires
|
|
25
|
+
// a deliberate source migration rather than a tooling patch release.
|
|
26
|
+
"no-useless-assignment": "off",
|
|
27
|
+
"preserve-caught-error": "off",
|
|
23
28
|
"no-unused-vars": [
|
|
24
29
|
"error",
|
|
25
30
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/config-eslint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.129",
|
|
4
4
|
"description": "Shared flat ESLint presets for JSKIT projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"./client": "./src/client/index.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@eslint/js": "^
|
|
28
|
+
"@eslint/js": "^10.0.1",
|
|
29
29
|
"eslint-plugin-vue": "^10.5.1",
|
|
30
30
|
"globals": "^16.5.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"eslint": "^
|
|
33
|
+
"eslint": "^10.8.0"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": "^22.
|
|
36
|
+
"node": "^22.13.0 || ^24.0.0 || ^26.0.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"lint"
|
|
55
55
|
],
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"eslint": "^
|
|
57
|
+
"eslint": "^10.8.0"
|
|
58
58
|
}
|
|
59
59
|
}
|