@kirklin/eslint-config 2.6.1 → 2.8.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/LICENSE +21 -21
- package/README.md +6 -4
- package/README.zh-cn.md +3 -1
- package/dist/cli.cjs +148 -146
- package/dist/cli.js +148 -146
- package/dist/index.cjs +255 -193
- package/dist/index.d.cts +1559 -690
- package/dist/index.d.ts +1559 -690
- package/dist/index.js +264 -203
- package/package.json +61 -62
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.8.0",
|
|
5
5
|
"description": "Kirk Lin's ESLint config",
|
|
6
6
|
"author": "Kirk Lin (https://github.com/kirklin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"@prettier/plugin-xml": "^3.4.1",
|
|
29
29
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
30
30
|
"astro-eslint-parser": "^1.0.2",
|
|
31
|
-
"eslint": "
|
|
31
|
+
"eslint": "^9.10.0",
|
|
32
32
|
"eslint-plugin-astro": "^1.2.0",
|
|
33
33
|
"eslint-plugin-format": ">=0.1.0",
|
|
34
|
-
"eslint-plugin-react-hooks": "^
|
|
34
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
35
35
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
36
|
-
"eslint-plugin-solid": "^0.
|
|
36
|
+
"eslint-plugin-solid": "^0.14.3",
|
|
37
37
|
"eslint-plugin-svelte": ">=2.35.1",
|
|
38
|
-
"prettier-plugin-astro": "^0.
|
|
38
|
+
"prettier-plugin-astro": "^0.14.0",
|
|
39
39
|
"prettier-plugin-slidev": "^1.0.5",
|
|
40
40
|
"svelte-eslint-parser": ">=0.37.0"
|
|
41
41
|
},
|
|
@@ -81,88 +81,87 @@
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@antfu/install-pkg": "^0.
|
|
85
|
-
"@clack/prompts": "^0.
|
|
86
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@typescript-eslint/
|
|
90
|
-
"@
|
|
91
|
-
"eslint-
|
|
92
|
-
"eslint-flat-
|
|
84
|
+
"@antfu/install-pkg": "^0.5.0",
|
|
85
|
+
"@clack/prompts": "^0.8.2",
|
|
86
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
87
|
+
"@eslint/markdown": "^6.2.1",
|
|
88
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.16.0",
|
|
90
|
+
"@typescript-eslint/parser": "^8.16.0",
|
|
91
|
+
"@vitest/eslint-plugin": "^1.1.12",
|
|
92
|
+
"eslint-config-flat-gitignore": "^0.3.0",
|
|
93
|
+
"eslint-flat-config-utils": "^0.4.0",
|
|
93
94
|
"eslint-merge-processors": "^0.1.0",
|
|
94
|
-
"eslint-plugin-command": "^0.2.
|
|
95
|
-
"eslint-plugin-import-x": "^4.
|
|
96
|
-
"eslint-plugin-jsdoc": "^50.
|
|
97
|
-
"eslint-plugin-jsonc": "^2.
|
|
98
|
-
"eslint-plugin-kirklin": "^1.
|
|
99
|
-
"eslint-plugin-
|
|
100
|
-
"eslint-plugin-n": "^17.10.2",
|
|
95
|
+
"eslint-plugin-command": "^0.2.6",
|
|
96
|
+
"eslint-plugin-import-x": "^4.4.3",
|
|
97
|
+
"eslint-plugin-jsdoc": "^50.6.0",
|
|
98
|
+
"eslint-plugin-jsonc": "^2.18.2",
|
|
99
|
+
"eslint-plugin-kirklin": "^1.5.0",
|
|
100
|
+
"eslint-plugin-n": "^17.14.0",
|
|
101
101
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
102
|
-
"eslint-plugin-perfectionist": "^
|
|
103
|
-
"eslint-plugin-regexp": "^2.
|
|
102
|
+
"eslint-plugin-perfectionist": "^4.1.2",
|
|
103
|
+
"eslint-plugin-regexp": "^2.7.0",
|
|
104
104
|
"eslint-plugin-toml": "^0.11.1",
|
|
105
|
-
"eslint-plugin-unicorn": "^
|
|
106
|
-
"eslint-plugin-unused-imports": "^4.1.
|
|
107
|
-
"eslint-plugin-vue": "^9.
|
|
108
|
-
"eslint-plugin-yml": "^1.
|
|
105
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
106
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
107
|
+
"eslint-plugin-vue": "^9.31.0",
|
|
108
|
+
"eslint-plugin-yml": "^1.15.0",
|
|
109
109
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
110
|
-
"globals": "^15.
|
|
110
|
+
"globals": "^15.12.0",
|
|
111
111
|
"jsonc-eslint-parser": "^2.4.0",
|
|
112
|
-
"local-pkg": "^0.5.
|
|
112
|
+
"local-pkg": "^0.5.1",
|
|
113
113
|
"parse-gitignore": "^2.0.0",
|
|
114
|
-
"picocolors": "^1.
|
|
114
|
+
"picocolors": "^1.1.1",
|
|
115
115
|
"toml-eslint-parser": "^0.10.0",
|
|
116
116
|
"vue-eslint-parser": "^9.4.3",
|
|
117
117
|
"yaml-eslint-parser": "^1.2.3",
|
|
118
118
|
"yargs": "^17.7.2"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@antfu/ni": "^0.23.
|
|
122
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
123
|
-
"@eslint/config-inspector": "^0.5.
|
|
121
|
+
"@antfu/ni": "^0.23.1",
|
|
122
|
+
"@eslint-react/eslint-plugin": "^1.17.1",
|
|
123
|
+
"@eslint/config-inspector": "^0.5.6",
|
|
124
124
|
"@prettier/plugin-xml": "^3.4.1",
|
|
125
|
-
"@stylistic/eslint-plugin-migrate": "^2.
|
|
126
|
-
"@types/eslint": "^9.6.1",
|
|
125
|
+
"@stylistic/eslint-plugin-migrate": "^2.11.0",
|
|
127
126
|
"@types/fs-extra": "^11.0.4",
|
|
128
|
-
"@types/node": "^22.
|
|
127
|
+
"@types/node": "^22.10.1",
|
|
129
128
|
"@types/prompts": "^2.4.9",
|
|
130
129
|
"@types/yargs": "^17.0.33",
|
|
131
|
-
"@unocss/eslint-plugin": "^0.
|
|
132
|
-
"astro-eslint-parser": "^1.0
|
|
133
|
-
"bumpp": "^9.
|
|
134
|
-
"eslint": "^9.
|
|
135
|
-
"eslint-plugin-astro": "^1.
|
|
130
|
+
"@unocss/eslint-plugin": "^0.64.1",
|
|
131
|
+
"astro-eslint-parser": "^1.1.0",
|
|
132
|
+
"bumpp": "^9.8.1",
|
|
133
|
+
"eslint": "^9.15.0",
|
|
134
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
136
135
|
"eslint-plugin-format": "^0.1.2",
|
|
137
|
-
"eslint-plugin-react-hooks": "^
|
|
138
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
139
|
-
"eslint-plugin-solid": "^0.14.
|
|
140
|
-
"eslint-plugin-svelte": "^2.
|
|
141
|
-
"eslint-typegen": "^0.3.
|
|
142
|
-
"esno": "^4.
|
|
143
|
-
"execa": "^9.
|
|
136
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
137
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
138
|
+
"eslint-plugin-solid": "^0.14.4",
|
|
139
|
+
"eslint-plugin-svelte": "^2.46.0",
|
|
140
|
+
"eslint-typegen": "^0.3.2",
|
|
141
|
+
"esno": "^4.8.0",
|
|
142
|
+
"execa": "^9.5.1",
|
|
144
143
|
"fast-glob": "^3.3.2",
|
|
145
144
|
"fs-extra": "^11.2.0",
|
|
146
|
-
"jiti": "^
|
|
147
|
-
"lint-staged": "^15.2.
|
|
145
|
+
"jiti": "^2.4.0",
|
|
146
|
+
"lint-staged": "^15.2.10",
|
|
148
147
|
"prettier-plugin-astro": "^0.14.1",
|
|
149
148
|
"prettier-plugin-slidev": "^1.0.5",
|
|
150
149
|
"rimraf": "^6.0.1",
|
|
151
150
|
"simple-git-hooks": "^2.11.1",
|
|
152
|
-
"svelte": "^
|
|
153
|
-
"svelte-eslint-parser": "^0.
|
|
154
|
-
"tsup": "^8.
|
|
155
|
-
"tsx": "^4.19.
|
|
156
|
-
"typescript": "^5.
|
|
157
|
-
"vitest": "^2.
|
|
158
|
-
"vue": "^3.
|
|
159
|
-
"@kirklin/eslint-config": "2.
|
|
151
|
+
"svelte": "^5.2.10",
|
|
152
|
+
"svelte-eslint-parser": "^0.43.0",
|
|
153
|
+
"tsup": "^8.3.5",
|
|
154
|
+
"tsx": "^4.19.2",
|
|
155
|
+
"typescript": "^5.7.2",
|
|
156
|
+
"vitest": "^2.1.6",
|
|
157
|
+
"vue": "^3.5.13",
|
|
158
|
+
"@kirklin/eslint-config": "2.8.0"
|
|
160
159
|
},
|
|
161
160
|
"resolutions": {
|
|
162
|
-
"@eslint-community/eslint-utils": "^4.4.
|
|
163
|
-
"@typescript-eslint/utils": "^8.
|
|
164
|
-
"eslint": "^9.
|
|
165
|
-
"tsx": "^4.
|
|
161
|
+
"@eslint-community/eslint-utils": "^4.4.1",
|
|
162
|
+
"@typescript-eslint/utils": "^8.16.0",
|
|
163
|
+
"eslint": "^9.15.0",
|
|
164
|
+
"tsx": "^4.19.2"
|
|
166
165
|
},
|
|
167
166
|
"simple-git-hooks": {
|
|
168
167
|
"pre-commit": "npx lint-staged"
|