@antfu/eslint-config 3.12.0 → 3.12.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/cli.cjs +20 -20
- package/dist/cli.js +20 -20
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +213 -117
- package/dist/index.d.ts +213 -117
- package/package.json +20 -20
package/dist/cli.cjs
CHANGED
|
@@ -41,8 +41,8 @@ var import_picocolors = __toESM(require("picocolors"), 1);
|
|
|
41
41
|
var package_default = {
|
|
42
42
|
name: "@antfu/eslint-config",
|
|
43
43
|
type: "module",
|
|
44
|
-
version: "3.12.
|
|
45
|
-
packageManager: "pnpm@9.15.
|
|
44
|
+
version: "3.12.1",
|
|
45
|
+
packageManager: "pnpm@9.15.1",
|
|
46
46
|
description: "Anthony's ESLint config",
|
|
47
47
|
author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
48
48
|
license: "MIT",
|
|
@@ -137,24 +137,24 @@ var package_default = {
|
|
|
137
137
|
},
|
|
138
138
|
dependencies: {
|
|
139
139
|
"@antfu/install-pkg": "^0.5.0",
|
|
140
|
-
"@clack/prompts": "^0.
|
|
140
|
+
"@clack/prompts": "^0.9.0",
|
|
141
141
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
142
142
|
"@eslint/markdown": "^6.2.1",
|
|
143
143
|
"@stylistic/eslint-plugin": "^2.12.1",
|
|
144
|
-
"@typescript-eslint/eslint-plugin": "^8.18.
|
|
145
|
-
"@typescript-eslint/parser": "^8.18.
|
|
146
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
144
|
+
"@typescript-eslint/eslint-plugin": "^8.18.2",
|
|
145
|
+
"@typescript-eslint/parser": "^8.18.2",
|
|
146
|
+
"@vitest/eslint-plugin": "^1.1.20",
|
|
147
147
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
148
148
|
"eslint-flat-config-utils": "^0.4.0",
|
|
149
149
|
"eslint-merge-processors": "^0.1.0",
|
|
150
150
|
"eslint-plugin-antfu": "^2.7.0",
|
|
151
|
-
"eslint-plugin-command": "^0.2.
|
|
152
|
-
"eslint-plugin-import-x": "^4.
|
|
151
|
+
"eslint-plugin-command": "^0.2.7",
|
|
152
|
+
"eslint-plugin-import-x": "^4.6.1",
|
|
153
153
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
154
154
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
155
|
-
"eslint-plugin-n": "^17.15.
|
|
155
|
+
"eslint-plugin-n": "^17.15.1",
|
|
156
156
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
157
|
-
"eslint-plugin-perfectionist": "^4.
|
|
157
|
+
"eslint-plugin-perfectionist": "^4.4.0",
|
|
158
158
|
"eslint-plugin-regexp": "^2.7.0",
|
|
159
159
|
"eslint-plugin-toml": "^0.12.0",
|
|
160
160
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
@@ -162,7 +162,7 @@ var package_default = {
|
|
|
162
162
|
"eslint-plugin-vue": "^9.32.0",
|
|
163
163
|
"eslint-plugin-yml": "^1.16.0",
|
|
164
164
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
165
|
-
globals: "^15.
|
|
165
|
+
globals: "^15.14.0",
|
|
166
166
|
"jsonc-eslint-parser": "^2.4.0",
|
|
167
167
|
"local-pkg": "^0.5.1",
|
|
168
168
|
"parse-gitignore": "^2.0.0",
|
|
@@ -174,8 +174,8 @@ var package_default = {
|
|
|
174
174
|
},
|
|
175
175
|
devDependencies: {
|
|
176
176
|
"@antfu/eslint-config": "workspace:*",
|
|
177
|
-
"@antfu/ni": "^0.23.
|
|
178
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
177
|
+
"@antfu/ni": "^0.23.2",
|
|
178
|
+
"@eslint-react/eslint-plugin": "^1.22.1",
|
|
179
179
|
"@eslint/config-inspector": "^0.6.0",
|
|
180
180
|
"@prettier/plugin-xml": "^3.4.1",
|
|
181
181
|
"@stylistic/eslint-plugin-migrate": "^2.12.1",
|
|
@@ -183,10 +183,10 @@ var package_default = {
|
|
|
183
183
|
"@types/node": "^22.10.2",
|
|
184
184
|
"@types/prompts": "^2.4.9",
|
|
185
185
|
"@types/yargs": "^17.0.33",
|
|
186
|
-
"@unocss/eslint-plugin": "^0.65.
|
|
186
|
+
"@unocss/eslint-plugin": "^0.65.2",
|
|
187
187
|
"astro-eslint-parser": "^1.1.0",
|
|
188
|
-
bumpp: "^9.9.
|
|
189
|
-
eslint: "^9.
|
|
188
|
+
bumpp: "^9.9.2",
|
|
189
|
+
eslint: "^9.17.0",
|
|
190
190
|
"eslint-plugin-astro": "^1.3.1",
|
|
191
191
|
"eslint-plugin-format": "^0.1.3",
|
|
192
192
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
@@ -198,13 +198,13 @@ var package_default = {
|
|
|
198
198
|
execa: "^9.5.2",
|
|
199
199
|
"fast-glob": "^3.3.2",
|
|
200
200
|
"fs-extra": "^11.2.0",
|
|
201
|
-
jiti: "^2.4.
|
|
201
|
+
jiti: "^2.4.2",
|
|
202
202
|
"lint-staged": "^15.2.11",
|
|
203
203
|
"prettier-plugin-astro": "^0.14.1",
|
|
204
204
|
"prettier-plugin-slidev": "^1.0.5",
|
|
205
205
|
rimraf: "^6.0.1",
|
|
206
206
|
"simple-git-hooks": "^2.11.1",
|
|
207
|
-
svelte: "^5.
|
|
207
|
+
svelte: "^5.15.0",
|
|
208
208
|
"svelte-eslint-parser": "^0.43.0",
|
|
209
209
|
tsup: "^8.3.5",
|
|
210
210
|
tsx: "^4.19.2",
|
|
@@ -214,8 +214,8 @@ var package_default = {
|
|
|
214
214
|
},
|
|
215
215
|
resolutions: {
|
|
216
216
|
"@eslint-community/eslint-utils": "^4.4.1",
|
|
217
|
-
"@typescript-eslint/utils": "^8.18.
|
|
218
|
-
eslint: "^9.
|
|
217
|
+
"@typescript-eslint/utils": "^8.18.2",
|
|
218
|
+
eslint: "^9.17.0",
|
|
219
219
|
tsx: "^4.19.2"
|
|
220
220
|
},
|
|
221
221
|
"simple-git-hooks": {
|
package/dist/cli.js
CHANGED
|
@@ -12,8 +12,8 @@ import c from "picocolors";
|
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@antfu/eslint-config",
|
|
14
14
|
type: "module",
|
|
15
|
-
version: "3.12.
|
|
16
|
-
packageManager: "pnpm@9.15.
|
|
15
|
+
version: "3.12.1",
|
|
16
|
+
packageManager: "pnpm@9.15.1",
|
|
17
17
|
description: "Anthony's ESLint config",
|
|
18
18
|
author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
19
19
|
license: "MIT",
|
|
@@ -108,24 +108,24 @@ var package_default = {
|
|
|
108
108
|
},
|
|
109
109
|
dependencies: {
|
|
110
110
|
"@antfu/install-pkg": "^0.5.0",
|
|
111
|
-
"@clack/prompts": "^0.
|
|
111
|
+
"@clack/prompts": "^0.9.0",
|
|
112
112
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
113
113
|
"@eslint/markdown": "^6.2.1",
|
|
114
114
|
"@stylistic/eslint-plugin": "^2.12.1",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.18.
|
|
116
|
-
"@typescript-eslint/parser": "^8.18.
|
|
117
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.18.2",
|
|
116
|
+
"@typescript-eslint/parser": "^8.18.2",
|
|
117
|
+
"@vitest/eslint-plugin": "^1.1.20",
|
|
118
118
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
119
119
|
"eslint-flat-config-utils": "^0.4.0",
|
|
120
120
|
"eslint-merge-processors": "^0.1.0",
|
|
121
121
|
"eslint-plugin-antfu": "^2.7.0",
|
|
122
|
-
"eslint-plugin-command": "^0.2.
|
|
123
|
-
"eslint-plugin-import-x": "^4.
|
|
122
|
+
"eslint-plugin-command": "^0.2.7",
|
|
123
|
+
"eslint-plugin-import-x": "^4.6.1",
|
|
124
124
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
125
125
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
126
|
-
"eslint-plugin-n": "^17.15.
|
|
126
|
+
"eslint-plugin-n": "^17.15.1",
|
|
127
127
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
128
|
-
"eslint-plugin-perfectionist": "^4.
|
|
128
|
+
"eslint-plugin-perfectionist": "^4.4.0",
|
|
129
129
|
"eslint-plugin-regexp": "^2.7.0",
|
|
130
130
|
"eslint-plugin-toml": "^0.12.0",
|
|
131
131
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
@@ -133,7 +133,7 @@ var package_default = {
|
|
|
133
133
|
"eslint-plugin-vue": "^9.32.0",
|
|
134
134
|
"eslint-plugin-yml": "^1.16.0",
|
|
135
135
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
136
|
-
globals: "^15.
|
|
136
|
+
globals: "^15.14.0",
|
|
137
137
|
"jsonc-eslint-parser": "^2.4.0",
|
|
138
138
|
"local-pkg": "^0.5.1",
|
|
139
139
|
"parse-gitignore": "^2.0.0",
|
|
@@ -145,8 +145,8 @@ var package_default = {
|
|
|
145
145
|
},
|
|
146
146
|
devDependencies: {
|
|
147
147
|
"@antfu/eslint-config": "workspace:*",
|
|
148
|
-
"@antfu/ni": "^0.23.
|
|
149
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
148
|
+
"@antfu/ni": "^0.23.2",
|
|
149
|
+
"@eslint-react/eslint-plugin": "^1.22.1",
|
|
150
150
|
"@eslint/config-inspector": "^0.6.0",
|
|
151
151
|
"@prettier/plugin-xml": "^3.4.1",
|
|
152
152
|
"@stylistic/eslint-plugin-migrate": "^2.12.1",
|
|
@@ -154,10 +154,10 @@ var package_default = {
|
|
|
154
154
|
"@types/node": "^22.10.2",
|
|
155
155
|
"@types/prompts": "^2.4.9",
|
|
156
156
|
"@types/yargs": "^17.0.33",
|
|
157
|
-
"@unocss/eslint-plugin": "^0.65.
|
|
157
|
+
"@unocss/eslint-plugin": "^0.65.2",
|
|
158
158
|
"astro-eslint-parser": "^1.1.0",
|
|
159
|
-
bumpp: "^9.9.
|
|
160
|
-
eslint: "^9.
|
|
159
|
+
bumpp: "^9.9.2",
|
|
160
|
+
eslint: "^9.17.0",
|
|
161
161
|
"eslint-plugin-astro": "^1.3.1",
|
|
162
162
|
"eslint-plugin-format": "^0.1.3",
|
|
163
163
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
@@ -169,13 +169,13 @@ var package_default = {
|
|
|
169
169
|
execa: "^9.5.2",
|
|
170
170
|
"fast-glob": "^3.3.2",
|
|
171
171
|
"fs-extra": "^11.2.0",
|
|
172
|
-
jiti: "^2.4.
|
|
172
|
+
jiti: "^2.4.2",
|
|
173
173
|
"lint-staged": "^15.2.11",
|
|
174
174
|
"prettier-plugin-astro": "^0.14.1",
|
|
175
175
|
"prettier-plugin-slidev": "^1.0.5",
|
|
176
176
|
rimraf: "^6.0.1",
|
|
177
177
|
"simple-git-hooks": "^2.11.1",
|
|
178
|
-
svelte: "^5.
|
|
178
|
+
svelte: "^5.15.0",
|
|
179
179
|
"svelte-eslint-parser": "^0.43.0",
|
|
180
180
|
tsup: "^8.3.5",
|
|
181
181
|
tsx: "^4.19.2",
|
|
@@ -185,8 +185,8 @@ var package_default = {
|
|
|
185
185
|
},
|
|
186
186
|
resolutions: {
|
|
187
187
|
"@eslint-community/eslint-utils": "^4.4.1",
|
|
188
|
-
"@typescript-eslint/utils": "^8.18.
|
|
189
|
-
eslint: "^9.
|
|
188
|
+
"@typescript-eslint/utils": "^8.18.2",
|
|
189
|
+
eslint: "^9.17.0",
|
|
190
190
|
tsx: "^4.19.2"
|
|
191
191
|
},
|
|
192
192
|
"simple-git-hooks": {
|
package/dist/index.cjs
CHANGED
|
@@ -107,7 +107,7 @@ __export(src_exports, {
|
|
|
107
107
|
});
|
|
108
108
|
module.exports = __toCommonJS(src_exports);
|
|
109
109
|
|
|
110
|
-
// node_modules/.pnpm/tsup@8.3.5_jiti@2.4.
|
|
110
|
+
// node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
|
|
111
111
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
112
112
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
113
113
|
|