@kirklin/eslint-config 2.3.3 → 2.5.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/README.md +12 -6
- package/README.zh-cn.md +12 -6
- package/dist/cli.cjs +63 -52
- package/dist/cli.js +63 -52
- package/dist/index.cjs +184 -71
- package/dist/index.d.cts +904 -225
- package/dist/index.d.ts +904 -225
- package/dist/index.js +180 -71
- package/package.json +55 -46
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirklin/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0",
|
|
5
5
|
"description": "Kirk Lin's ESLint config",
|
|
6
6
|
"author": "Kirk Lin (https://github.com/kirklin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -25,10 +25,11 @@
|
|
|
25
25
|
],
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@eslint-react/eslint-plugin": "^1.5.8",
|
|
28
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
28
29
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
29
|
-
"astro-eslint-parser": "^0.
|
|
30
|
+
"astro-eslint-parser": "^1.0.2",
|
|
30
31
|
"eslint": ">=8.40.0",
|
|
31
|
-
"eslint-plugin-astro": "^
|
|
32
|
+
"eslint-plugin-astro": "^1.2.0",
|
|
32
33
|
"eslint-plugin-format": ">=0.1.0",
|
|
33
34
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
34
35
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
@@ -36,12 +37,15 @@
|
|
|
36
37
|
"eslint-plugin-svelte": ">=2.35.1",
|
|
37
38
|
"prettier-plugin-astro": "^0.13.0",
|
|
38
39
|
"prettier-plugin-slidev": "^1.0.5",
|
|
39
|
-
"svelte-eslint-parser": "
|
|
40
|
+
"svelte-eslint-parser": ">=0.37.0"
|
|
40
41
|
},
|
|
41
42
|
"peerDependenciesMeta": {
|
|
42
43
|
"@eslint-react/eslint-plugin": {
|
|
43
44
|
"optional": true
|
|
44
45
|
},
|
|
46
|
+
"@prettier/plugin-xml": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
45
49
|
"@unocss/eslint-plugin": {
|
|
46
50
|
"optional": true
|
|
47
51
|
},
|
|
@@ -79,81 +83,86 @@
|
|
|
79
83
|
"dependencies": {
|
|
80
84
|
"@antfu/install-pkg": "^0.3.3",
|
|
81
85
|
"@clack/prompts": "^0.7.0",
|
|
82
|
-
"@stylistic/eslint-plugin": "^2.
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
84
|
-
"@typescript-eslint/parser": "^7.
|
|
86
|
+
"@stylistic/eslint-plugin": "^2.3.0",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
88
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
85
89
|
"eslint-config-flat-gitignore": "^0.1.5",
|
|
86
|
-
"eslint-flat-config-utils": "^0.2.
|
|
90
|
+
"eslint-flat-config-utils": "^0.2.5",
|
|
87
91
|
"eslint-merge-processors": "^0.1.0",
|
|
88
|
-
"eslint-plugin-command": "^0.2.
|
|
92
|
+
"eslint-plugin-command": "^0.2.3",
|
|
89
93
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
90
|
-
"eslint-plugin-import-x": "^0.5.
|
|
91
|
-
"eslint-plugin-jsdoc": "^48.
|
|
92
|
-
"eslint-plugin-jsonc": "^2.
|
|
93
|
-
"eslint-plugin-kirklin": "^1.
|
|
94
|
+
"eslint-plugin-import-x": "^0.5.2",
|
|
95
|
+
"eslint-plugin-jsdoc": "^48.5.0",
|
|
96
|
+
"eslint-plugin-jsonc": "^2.16.0",
|
|
97
|
+
"eslint-plugin-kirklin": "^1.3.0",
|
|
94
98
|
"eslint-plugin-markdown": "^5.0.0",
|
|
95
|
-
"eslint-plugin-n": "^17.
|
|
99
|
+
"eslint-plugin-n": "^17.9.0",
|
|
96
100
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
97
|
-
"eslint-plugin-perfectionist": "^2.
|
|
98
|
-
"eslint-plugin-
|
|
99
|
-
"eslint-plugin-
|
|
100
|
-
"eslint-plugin-
|
|
101
|
+
"eslint-plugin-perfectionist": "^2.11.0",
|
|
102
|
+
"eslint-plugin-regexp": "^2.6.0",
|
|
103
|
+
"eslint-plugin-toml": "^0.11.1",
|
|
104
|
+
"eslint-plugin-unicorn": "^54.0.0",
|
|
105
|
+
"eslint-plugin-unused-imports": "^4.0.0",
|
|
101
106
|
"eslint-plugin-vitest": "^0.5.4",
|
|
102
107
|
"eslint-plugin-vue": "^9.26.0",
|
|
103
108
|
"eslint-plugin-yml": "^1.14.0",
|
|
104
109
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
105
|
-
"globals": "^15.
|
|
110
|
+
"globals": "^15.7.0",
|
|
106
111
|
"jsonc-eslint-parser": "^2.4.0",
|
|
107
112
|
"local-pkg": "^0.5.0",
|
|
108
113
|
"parse-gitignore": "^2.0.0",
|
|
109
|
-
"picocolors": "^1.0.
|
|
110
|
-
"toml-eslint-parser": "^0.
|
|
111
|
-
"vue-eslint-parser": "^9.4.
|
|
112
|
-
"yaml-eslint-parser": "^1.2.
|
|
114
|
+
"picocolors": "^1.0.1",
|
|
115
|
+
"toml-eslint-parser": "^0.10.0",
|
|
116
|
+
"vue-eslint-parser": "^9.4.3",
|
|
117
|
+
"yaml-eslint-parser": "^1.2.3",
|
|
113
118
|
"yargs": "^17.7.2"
|
|
114
119
|
},
|
|
115
120
|
"devDependencies": {
|
|
116
|
-
"@antfu/eslint-plugin-prettier": "^5.0.1-1",
|
|
117
121
|
"@antfu/ni": "^0.21.12",
|
|
118
|
-
"@eslint-react/eslint-plugin": "^1.5.
|
|
119
|
-
"@eslint/config-inspector": "^0.
|
|
120
|
-
"@
|
|
122
|
+
"@eslint-react/eslint-plugin": "^1.5.19",
|
|
123
|
+
"@eslint/config-inspector": "^0.5.1",
|
|
124
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
125
|
+
"@stylistic/eslint-plugin-migrate": "^2.3.0",
|
|
121
126
|
"@types/eslint": "^8.56.10",
|
|
122
127
|
"@types/fs-extra": "^11.0.4",
|
|
123
|
-
"@types/node": "^20.
|
|
128
|
+
"@types/node": "^20.14.9",
|
|
124
129
|
"@types/prompts": "^2.4.9",
|
|
125
130
|
"@types/yargs": "^17.0.32",
|
|
126
|
-
"@unocss/eslint-plugin": "^0.
|
|
131
|
+
"@unocss/eslint-plugin": "^0.61.0",
|
|
127
132
|
"astro-eslint-parser": "^1.0.2",
|
|
128
133
|
"bumpp": "^9.4.1",
|
|
129
|
-
"
|
|
130
|
-
"eslint": "^
|
|
131
|
-
"eslint-plugin-
|
|
132
|
-
"eslint-plugin-format": "^0.1.1",
|
|
134
|
+
"eslint": "npm:eslint-ts-patch@9.5.0-0",
|
|
135
|
+
"eslint-plugin-astro": "^1.2.2",
|
|
136
|
+
"eslint-plugin-format": "^0.1.2",
|
|
133
137
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
134
138
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
135
|
-
"eslint-plugin-solid": "^0.14.
|
|
136
|
-
"eslint-plugin-svelte": "2.
|
|
139
|
+
"eslint-plugin-solid": "^0.14.1",
|
|
140
|
+
"eslint-plugin-svelte": "^2.41.0",
|
|
141
|
+
"eslint-ts-patch": "9.5.0-0",
|
|
137
142
|
"eslint-typegen": "^0.2.4",
|
|
138
143
|
"esno": "^4.7.0",
|
|
139
|
-
"execa": "^9.
|
|
144
|
+
"execa": "^9.3.0",
|
|
140
145
|
"fast-glob": "^3.3.2",
|
|
141
146
|
"fs-extra": "^11.2.0",
|
|
142
|
-
"lint-staged": "^15.2.
|
|
143
|
-
"prettier-plugin-astro": "^0.
|
|
147
|
+
"lint-staged": "^15.2.7",
|
|
148
|
+
"prettier-plugin-astro": "^0.14.0",
|
|
144
149
|
"prettier-plugin-slidev": "^1.0.5",
|
|
145
|
-
"rimraf": "^5.0.
|
|
150
|
+
"rimraf": "^5.0.7",
|
|
146
151
|
"simple-git-hooks": "^2.11.1",
|
|
147
|
-
"svelte": "^4.2.
|
|
148
|
-
"svelte-eslint-parser": "^0.
|
|
149
|
-
"tsup": "^8.0
|
|
150
|
-
"
|
|
152
|
+
"svelte": "^4.2.18",
|
|
153
|
+
"svelte-eslint-parser": "^0.39.2",
|
|
154
|
+
"tsup": "^8.1.0",
|
|
155
|
+
"tsx": "^4.16.0",
|
|
156
|
+
"typescript": "^5.5.2",
|
|
151
157
|
"vitest": "^1.6.0",
|
|
152
|
-
"vue": "^3.4.
|
|
153
|
-
"@kirklin/eslint-config": "2.
|
|
158
|
+
"vue": "^3.4.31",
|
|
159
|
+
"@kirklin/eslint-config": "2.5.0"
|
|
160
|
+
},
|
|
161
|
+
"resolutions": {
|
|
162
|
+
"tsx": "~4.14"
|
|
154
163
|
},
|
|
155
164
|
"simple-git-hooks": {
|
|
156
|
-
"pre-commit": "
|
|
165
|
+
"pre-commit": "npx lint-staged"
|
|
157
166
|
},
|
|
158
167
|
"lint-staged": {
|
|
159
168
|
"*": "eslint --fix"
|