@sxzz/eslint-config 8.1.0 → 8.2.1
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.mts +395 -176
- package/dist/index.mjs +6 -1
- package/package.json +22 -22
package/dist/index.mjs
CHANGED
|
@@ -773,11 +773,16 @@ const unicorn = () => [{
|
|
|
773
773
|
kebabCase: true,
|
|
774
774
|
pascalCase: true
|
|
775
775
|
},
|
|
776
|
-
ignore: [
|
|
776
|
+
ignore: [
|
|
777
|
+
/^[A-Z]+\..*$/,
|
|
778
|
+
/^[a-z]{2}-[A-Z]{2}$/,
|
|
779
|
+
/import_map\.json/
|
|
780
|
+
]
|
|
777
781
|
}],
|
|
778
782
|
"unicorn/import-style": "off",
|
|
779
783
|
"unicorn/no-abusive-eslint-disable": "off",
|
|
780
784
|
"unicorn/no-array-for-each": "off",
|
|
785
|
+
"unicorn/no-duplicate-set-values": "error",
|
|
781
786
|
"unicorn/no-empty-file": "off",
|
|
782
787
|
"unicorn/no-for-loop": "error",
|
|
783
788
|
"unicorn/no-process-exit": "off",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sxzz/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.1
|
|
4
|
+
"version": "8.2.1",
|
|
5
5
|
"description": "ESLint config for @sxzz.",
|
|
6
6
|
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,47 +41,47 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.
|
|
44
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
45
45
|
"@eslint/js": "^10.0.1",
|
|
46
|
-
"@eslint/markdown": "^8.0.
|
|
46
|
+
"@eslint/markdown": "^8.0.2",
|
|
47
47
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
48
48
|
"eslint-config-prettier": "^10.1.8",
|
|
49
49
|
"eslint-flat-config-utils": "^3.2.0",
|
|
50
|
-
"eslint-plugin-antfu": "^3.2.
|
|
50
|
+
"eslint-plugin-antfu": "^3.2.3",
|
|
51
51
|
"eslint-plugin-baseline-js": "^0.6.2",
|
|
52
52
|
"eslint-plugin-command": "^3.5.2",
|
|
53
53
|
"eslint-plugin-de-morgan": "^2.1.2",
|
|
54
54
|
"eslint-plugin-importer": "^0.3.0",
|
|
55
|
-
"eslint-plugin-jsdoc": "^
|
|
56
|
-
"eslint-plugin-jsonc": "^3.
|
|
57
|
-
"eslint-plugin-n": "^18.0
|
|
55
|
+
"eslint-plugin-jsdoc": "^63.0.2",
|
|
56
|
+
"eslint-plugin-jsonc": "^3.2.0",
|
|
57
|
+
"eslint-plugin-n": "^18.1.0",
|
|
58
58
|
"eslint-plugin-perfectionist": "^5.9.0",
|
|
59
|
-
"eslint-plugin-pnpm": "^1.6.
|
|
60
|
-
"eslint-plugin-prettier": "^5.5.
|
|
59
|
+
"eslint-plugin-pnpm": "^1.6.1",
|
|
60
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
61
61
|
"eslint-plugin-regexp": "^3.1.0",
|
|
62
62
|
"eslint-plugin-sxzz": "^0.5.0",
|
|
63
|
-
"eslint-plugin-unicorn": "^
|
|
63
|
+
"eslint-plugin-unicorn": "^65.0.1",
|
|
64
64
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
65
|
-
"eslint-plugin-vue": "^10.9.
|
|
66
|
-
"eslint-plugin-yml": "^3.
|
|
65
|
+
"eslint-plugin-vue": "^10.9.2",
|
|
66
|
+
"eslint-plugin-yml": "^3.4.0",
|
|
67
67
|
"globals": "^17.6.0",
|
|
68
68
|
"jsonc-eslint-parser": "^3.1.0",
|
|
69
|
-
"typescript-eslint": "^8.
|
|
70
|
-
"vue-eslint-parser": "^10.4.
|
|
69
|
+
"typescript-eslint": "^8.61.0",
|
|
70
|
+
"vue-eslint-parser": "^10.4.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@eslint/config-inspector": "^
|
|
73
|
+
"@eslint/config-inspector": "^3.0.4",
|
|
74
74
|
"@sxzz/prettier-config": "^2.3.1",
|
|
75
|
-
"@types/node": "^25.
|
|
76
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
77
|
-
"@unocss/eslint-plugin": "^66.
|
|
75
|
+
"@types/node": "^25.9.3",
|
|
76
|
+
"@typescript/native-preview": "7.0.0-dev.20260613.1",
|
|
77
|
+
"@unocss/eslint-plugin": "^66.7.2",
|
|
78
78
|
"bumpp": "^11.1.0",
|
|
79
|
-
"eslint": "^10.
|
|
79
|
+
"eslint": "^10.5.0",
|
|
80
80
|
"eslint-plugin-astro": "^1.7.0",
|
|
81
81
|
"eslint-typegen": "^2.3.1",
|
|
82
|
-
"prettier": "^3.8.
|
|
83
|
-
"rolldown-plugin-require-cjs": "^0.4.
|
|
84
|
-
"tsdown": "^0.22.
|
|
82
|
+
"prettier": "^3.8.4",
|
|
83
|
+
"rolldown-plugin-require-cjs": "^0.4.1",
|
|
84
|
+
"tsdown": "^0.22.2",
|
|
85
85
|
"tsdown-preset-sxzz": "^0.6.0",
|
|
86
86
|
"typescript": "^6.0.3"
|
|
87
87
|
},
|