@antfu/eslint-config 2.16.0 → 2.16.2

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 CHANGED
@@ -2,19 +2,19 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=444&label=)](https://npmjs.com/package/@antfu/eslint-config) [![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)
4
4
 
5
- - Single quotes, no semi
6
5
  - Auto fix for formatting (aimed to be used standalone **without** Prettier)
7
- - Sorted imports, dangling commas
8
6
  - Reasonable defaults, best practices, only one line of config
9
- - Designed to work with TypeScript, JSX, Vue out-of-box
10
- - Lints also for json, yaml, toml, markdown
7
+ - Designed to work with TypeScript, JSX, Vue, JSON, YAML, Toml, Markdown, etc. Out-of-box.
11
8
  - Opinionated, but [very customizable](#customization)
12
9
  - [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
13
- - Using [ESLint Stylistic](https://github.com/eslint-stylistic/eslint-stylistic)
14
- - Respects `.gitignore` by default
15
10
  - Optional [React](#react), [Svelte](#svelte), [UnoCSS](#unocss), [Astro](#astro), [Solid](#solid) support
16
- - Optional [formatters](#formatters) support for CSS, HTML, etc.
11
+ - Optional [formatters](#formatters) support for formatting CSS, HTML, etc.
17
12
  - **Style principle**: Minimal for reading, stable for diff, consistent
13
+ - Sorted imports, dangling commas
14
+ - Single quotes, no semi
15
+ - Using [ESLint Stylistic](https://github.com/eslint-stylistic/eslint-stylistic)
16
+ - Respects `.gitignore` by default
17
+ - Supports ESLint v9 or v8.50.0+
18
18
 
19
19
  > [!IMPORTANT]
20
20
  > Since v1.0.0, this config is rewritten to the new [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), check the [release note](https://github.com/antfu/eslint-config/releases/tag/v1.0.0) for more details.
@@ -103,6 +103,7 @@ Add the following settings to your `.vscode/settings.json`:
103
103
  ```jsonc
104
104
  {
105
105
  // Enable the ESlint flat config support
106
+ // (remove this if your ESLint extension above v3.0.5)
106
107
  "eslint.experimental.useFlatConfig": true,
107
108
 
108
109
  // Disable the default formatter, use eslint instead
@@ -143,7 +144,8 @@ Add the following settings to your `.vscode/settings.json`:
143
144
  "yaml",
144
145
  "toml",
145
146
  "gql",
146
- "graphql"
147
+ "graphql",
148
+ "astro"
147
149
  ]
148
150
  }
149
151
  ```
package/dist/cli.cjs CHANGED
@@ -48,8 +48,8 @@ var import_picocolors = __toESM(require("picocolors"), 1);
48
48
  var package_default = {
49
49
  name: "@antfu/eslint-config",
50
50
  type: "module",
51
- version: "2.16.0",
52
- packageManager: "pnpm@9.0.6",
51
+ version: "2.16.2",
52
+ packageManager: "pnpm@9.1.0",
53
53
  description: "Anthony's ESLint config",
54
54
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
55
55
  license: "MIT",
@@ -139,32 +139,32 @@ var package_default = {
139
139
  }
140
140
  },
141
141
  dependencies: {
142
- "@antfu/install-pkg": "^0.3.2",
142
+ "@antfu/install-pkg": "^0.3.3",
143
143
  "@clack/prompts": "^0.7.0",
144
- "@stylistic/eslint-plugin": "^1.7.2",
145
- "@typescript-eslint/eslint-plugin": "^7.7.1",
146
- "@typescript-eslint/parser": "^7.7.1",
144
+ "@stylistic/eslint-plugin": "^1.8.0",
145
+ "@typescript-eslint/eslint-plugin": "~7.7.1",
146
+ "@typescript-eslint/parser": "~7.7.1",
147
147
  "eslint-config-flat-gitignore": "^0.1.5",
148
- "eslint-flat-config-utils": "^0.2.3",
148
+ "eslint-flat-config-utils": "^0.2.4",
149
149
  "eslint-merge-processors": "^0.1.0",
150
- "eslint-plugin-antfu": "^2.1.2",
151
- "eslint-plugin-command": "^0.1.2",
150
+ "eslint-plugin-antfu": "^2.1.3",
151
+ "eslint-plugin-command": "^0.1.9",
152
152
  "eslint-plugin-eslint-comments": "^3.2.0",
153
153
  "eslint-plugin-import-x": "^0.5.0",
154
154
  "eslint-plugin-jsdoc": "^48.2.3",
155
155
  "eslint-plugin-jsonc": "^2.15.1",
156
- "eslint-plugin-markdown": "^4.0.1",
157
- "eslint-plugin-n": "^17.3.1",
156
+ "eslint-plugin-markdown": "^5.0.0",
157
+ "eslint-plugin-n": "^17.4.0",
158
158
  "eslint-plugin-no-only-tests": "^3.1.0",
159
159
  "eslint-plugin-perfectionist": "^2.10.0",
160
160
  "eslint-plugin-toml": "^0.11.0",
161
161
  "eslint-plugin-unicorn": "^52.0.0",
162
- "eslint-plugin-unused-imports": "^3.1.0",
162
+ "eslint-plugin-unused-imports": "^3.2.0",
163
163
  "eslint-plugin-vitest": "^0.5.4",
164
164
  "eslint-plugin-vue": "^9.25.0",
165
165
  "eslint-plugin-yml": "^1.14.0",
166
166
  "eslint-processor-vue-blocks": "^0.1.2",
167
- globals: "^15.0.0",
167
+ globals: "^15.1.0",
168
168
  "jsonc-eslint-parser": "^2.4.0",
169
169
  "local-pkg": "^0.5.0",
170
170
  "parse-gitignore": "^2.0.0",
@@ -178,24 +178,24 @@ var package_default = {
178
178
  "@antfu/eslint-config": "workspace:*",
179
179
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
180
180
  "@antfu/ni": "^0.21.12",
181
- "@eslint-react/eslint-plugin": "^1.5.9",
182
- "@eslint/config-inspector": "^0.4.7",
183
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
181
+ "@eslint-react/eslint-plugin": "^1.5.10",
182
+ "@eslint/config-inspector": "^0.4.8",
183
+ "@stylistic/eslint-plugin-migrate": "^1.8.0",
184
184
  "@types/eslint": "^8.56.10",
185
185
  "@types/fs-extra": "^11.0.4",
186
- "@types/node": "^20.12.7",
186
+ "@types/node": "^20.12.10",
187
187
  "@types/prompts": "^2.4.9",
188
188
  "@types/yargs": "^17.0.32",
189
189
  "@unocss/eslint-plugin": "^0.59.4",
190
- "astro-eslint-parser": "^0.17.0",
191
- bumpp: "^9.4.0",
192
- "bundle-require": "^4.0.3",
193
- eslint: "^9.1.1",
194
- "eslint-plugin-astro": "^0.34.0",
190
+ "astro-eslint-parser": "^1.0.2",
191
+ bumpp: "^9.4.1",
192
+ "bundle-require": "^4.1.0",
193
+ eslint: "^9.2.0",
194
+ "eslint-plugin-astro": "^1.1.2",
195
195
  "eslint-plugin-format": "^0.1.1",
196
- "eslint-plugin-react-hooks": "^4.6.1",
196
+ "eslint-plugin-react-hooks": "^4.6.2",
197
197
  "eslint-plugin-react-refresh": "^0.4.6",
198
- "eslint-plugin-solid": "^0.13.2",
198
+ "eslint-plugin-solid": "^0.14.0",
199
199
  "eslint-plugin-svelte": "2.36.0-next.13",
200
200
  "eslint-typegen": "^0.2.4",
201
201
  esno: "^4.7.0",
@@ -211,8 +211,8 @@ var package_default = {
211
211
  "svelte-eslint-parser": "^0.35.0",
212
212
  tsup: "^8.0.2",
213
213
  typescript: "^5.4.5",
214
- vitest: "^1.5.2",
215
- vue: "^3.4.25"
214
+ vitest: "^1.6.0",
215
+ vue: "^3.4.26"
216
216
  },
217
217
  "simple-git-hooks": {
218
218
  "pre-commit": "pnpm lint-staged"
@@ -225,6 +225,7 @@ var package_default = {
225
225
  // src/cli/constants.ts
226
226
  var vscodeSettingsString = `
227
227
  // Enable the ESlint flat config support
228
+ // (remove this if your ESLint extension above v3.0.5)
228
229
  "eslint.experimental.useFlatConfig": true,
229
230
 
230
231
  // Disable the default formatter, use eslint instead
@@ -264,7 +265,9 @@ var vscodeSettingsString = `
264
265
  "jsonc",
265
266
  "yaml",
266
267
  "toml",
267
- "astro",
268
+ "gql",
269
+ "graphql",
270
+ "astro"
268
271
  ]
269
272
  `;
270
273
  var frameworkOptions = [
package/dist/cli.js CHANGED
@@ -19,8 +19,8 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@antfu/eslint-config",
21
21
  type: "module",
22
- version: "2.16.0",
23
- packageManager: "pnpm@9.0.6",
22
+ version: "2.16.2",
23
+ packageManager: "pnpm@9.1.0",
24
24
  description: "Anthony's ESLint config",
25
25
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
26
26
  license: "MIT",
@@ -110,32 +110,32 @@ var package_default = {
110
110
  }
111
111
  },
112
112
  dependencies: {
113
- "@antfu/install-pkg": "^0.3.2",
113
+ "@antfu/install-pkg": "^0.3.3",
114
114
  "@clack/prompts": "^0.7.0",
115
- "@stylistic/eslint-plugin": "^1.7.2",
116
- "@typescript-eslint/eslint-plugin": "^7.7.1",
117
- "@typescript-eslint/parser": "^7.7.1",
115
+ "@stylistic/eslint-plugin": "^1.8.0",
116
+ "@typescript-eslint/eslint-plugin": "~7.7.1",
117
+ "@typescript-eslint/parser": "~7.7.1",
118
118
  "eslint-config-flat-gitignore": "^0.1.5",
119
- "eslint-flat-config-utils": "^0.2.3",
119
+ "eslint-flat-config-utils": "^0.2.4",
120
120
  "eslint-merge-processors": "^0.1.0",
121
- "eslint-plugin-antfu": "^2.1.2",
122
- "eslint-plugin-command": "^0.1.2",
121
+ "eslint-plugin-antfu": "^2.1.3",
122
+ "eslint-plugin-command": "^0.1.9",
123
123
  "eslint-plugin-eslint-comments": "^3.2.0",
124
124
  "eslint-plugin-import-x": "^0.5.0",
125
125
  "eslint-plugin-jsdoc": "^48.2.3",
126
126
  "eslint-plugin-jsonc": "^2.15.1",
127
- "eslint-plugin-markdown": "^4.0.1",
128
- "eslint-plugin-n": "^17.3.1",
127
+ "eslint-plugin-markdown": "^5.0.0",
128
+ "eslint-plugin-n": "^17.4.0",
129
129
  "eslint-plugin-no-only-tests": "^3.1.0",
130
130
  "eslint-plugin-perfectionist": "^2.10.0",
131
131
  "eslint-plugin-toml": "^0.11.0",
132
132
  "eslint-plugin-unicorn": "^52.0.0",
133
- "eslint-plugin-unused-imports": "^3.1.0",
133
+ "eslint-plugin-unused-imports": "^3.2.0",
134
134
  "eslint-plugin-vitest": "^0.5.4",
135
135
  "eslint-plugin-vue": "^9.25.0",
136
136
  "eslint-plugin-yml": "^1.14.0",
137
137
  "eslint-processor-vue-blocks": "^0.1.2",
138
- globals: "^15.0.0",
138
+ globals: "^15.1.0",
139
139
  "jsonc-eslint-parser": "^2.4.0",
140
140
  "local-pkg": "^0.5.0",
141
141
  "parse-gitignore": "^2.0.0",
@@ -149,24 +149,24 @@ var package_default = {
149
149
  "@antfu/eslint-config": "workspace:*",
150
150
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
151
151
  "@antfu/ni": "^0.21.12",
152
- "@eslint-react/eslint-plugin": "^1.5.9",
153
- "@eslint/config-inspector": "^0.4.7",
154
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
152
+ "@eslint-react/eslint-plugin": "^1.5.10",
153
+ "@eslint/config-inspector": "^0.4.8",
154
+ "@stylistic/eslint-plugin-migrate": "^1.8.0",
155
155
  "@types/eslint": "^8.56.10",
156
156
  "@types/fs-extra": "^11.0.4",
157
- "@types/node": "^20.12.7",
157
+ "@types/node": "^20.12.10",
158
158
  "@types/prompts": "^2.4.9",
159
159
  "@types/yargs": "^17.0.32",
160
160
  "@unocss/eslint-plugin": "^0.59.4",
161
- "astro-eslint-parser": "^0.17.0",
162
- bumpp: "^9.4.0",
163
- "bundle-require": "^4.0.3",
164
- eslint: "^9.1.1",
165
- "eslint-plugin-astro": "^0.34.0",
161
+ "astro-eslint-parser": "^1.0.2",
162
+ bumpp: "^9.4.1",
163
+ "bundle-require": "^4.1.0",
164
+ eslint: "^9.2.0",
165
+ "eslint-plugin-astro": "^1.1.2",
166
166
  "eslint-plugin-format": "^0.1.1",
167
- "eslint-plugin-react-hooks": "^4.6.1",
167
+ "eslint-plugin-react-hooks": "^4.6.2",
168
168
  "eslint-plugin-react-refresh": "^0.4.6",
169
- "eslint-plugin-solid": "^0.13.2",
169
+ "eslint-plugin-solid": "^0.14.0",
170
170
  "eslint-plugin-svelte": "2.36.0-next.13",
171
171
  "eslint-typegen": "^0.2.4",
172
172
  esno: "^4.7.0",
@@ -182,8 +182,8 @@ var package_default = {
182
182
  "svelte-eslint-parser": "^0.35.0",
183
183
  tsup: "^8.0.2",
184
184
  typescript: "^5.4.5",
185
- vitest: "^1.5.2",
186
- vue: "^3.4.25"
185
+ vitest: "^1.6.0",
186
+ vue: "^3.4.26"
187
187
  },
188
188
  "simple-git-hooks": {
189
189
  "pre-commit": "pnpm lint-staged"
@@ -196,6 +196,7 @@ var package_default = {
196
196
  // src/cli/constants.ts
197
197
  var vscodeSettingsString = `
198
198
  // Enable the ESlint flat config support
199
+ // (remove this if your ESLint extension above v3.0.5)
199
200
  "eslint.experimental.useFlatConfig": true,
200
201
 
201
202
  // Disable the default formatter, use eslint instead
@@ -235,7 +236,9 @@ var vscodeSettingsString = `
235
236
  "jsonc",
236
237
  "yaml",
237
238
  "toml",
238
- "astro",
239
+ "gql",
240
+ "graphql",
241
+ "astro"
239
242
  ]
240
243
  `;
241
244
  var frameworkOptions = [
package/dist/index.d.cts CHANGED
@@ -399,6 +399,11 @@ interface RuleOptions {
399
399
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-getentrybyslug/
400
400
  */
401
401
  'astro/no-deprecated-getentrybyslug'?: Linter.RuleEntry<[]>
402
+ /**
403
+ * disallow value export
404
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
405
+ */
406
+ 'astro/no-exports-from-components'?: Linter.RuleEntry<[]>
402
407
  /**
403
408
  * disallow use of `set:html` to prevent XSS attack
404
409
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
@@ -3475,6 +3480,11 @@ interface RuleOptions {
3475
3480
  * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
3476
3481
  */
3477
3482
  'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
3483
+ /**
3484
+ * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
3485
+ * @see https://eslint.style/rules/jsx/jsx-function-call-newline
3486
+ */
3487
+ 'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
3478
3488
  /**
3479
3489
  * Enforce JSX indentation
3480
3490
  * @see https://eslint.style/rules/jsx/jsx-indent
@@ -7350,6 +7360,7 @@ type AntfuConsistentListNewline = []|[{
7350
7360
  TSTypeParameterInstantiation?: boolean
7351
7361
  ObjectPattern?: boolean
7352
7362
  ArrayPattern?: boolean
7363
+ JSXOpeningElement?: boolean
7353
7364
  }]
7354
7365
  // ----- array-bracket-newline -----
7355
7366
  type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
@@ -10375,6 +10386,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
10375
10386
  type StyleJsxEqualsSpacing = []|[("always" | "never")]
10376
10387
  // ----- style/jsx-first-prop-new-line -----
10377
10388
  type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
10389
+ // ----- style/jsx-function-call-newline -----
10390
+ type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
10378
10391
  // ----- style/jsx-indent -----
10379
10392
  type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
10380
10393
  checkAttributes?: boolean
@@ -10404,7 +10417,7 @@ type StyleJsxNewline = []|[{
10404
10417
  }]
10405
10418
  // ----- style/jsx-one-expression-per-line -----
10406
10419
  type StyleJsxOneExpressionPerLine = []|[{
10407
- allow?: ("none" | "literal" | "single-child")
10420
+ allow?: ("none" | "literal" | "single-child" | "single-line")
10408
10421
  }]
10409
10422
  // ----- style/jsx-pascal-case -----
10410
10423
  type StyleJsxPascalCase = []|[{
@@ -10447,6 +10460,7 @@ type StyleJsxWrapMultilines = []|[{
10447
10460
  condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10448
10461
  logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10449
10462
  prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10463
+ propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10450
10464
  }]
10451
10465
  // ----- style/key-spacing -----
10452
10466
  type StyleKeySpacing = []|[({
package/dist/index.d.ts CHANGED
@@ -399,6 +399,11 @@ interface RuleOptions {
399
399
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-getentrybyslug/
400
400
  */
401
401
  'astro/no-deprecated-getentrybyslug'?: Linter.RuleEntry<[]>
402
+ /**
403
+ * disallow value export
404
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
405
+ */
406
+ 'astro/no-exports-from-components'?: Linter.RuleEntry<[]>
402
407
  /**
403
408
  * disallow use of `set:html` to prevent XSS attack
404
409
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
@@ -3475,6 +3480,11 @@ interface RuleOptions {
3475
3480
  * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
3476
3481
  */
3477
3482
  'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
3483
+ /**
3484
+ * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
3485
+ * @see https://eslint.style/rules/jsx/jsx-function-call-newline
3486
+ */
3487
+ 'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
3478
3488
  /**
3479
3489
  * Enforce JSX indentation
3480
3490
  * @see https://eslint.style/rules/jsx/jsx-indent
@@ -7350,6 +7360,7 @@ type AntfuConsistentListNewline = []|[{
7350
7360
  TSTypeParameterInstantiation?: boolean
7351
7361
  ObjectPattern?: boolean
7352
7362
  ArrayPattern?: boolean
7363
+ JSXOpeningElement?: boolean
7353
7364
  }]
7354
7365
  // ----- array-bracket-newline -----
7355
7366
  type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
@@ -10375,6 +10386,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
10375
10386
  type StyleJsxEqualsSpacing = []|[("always" | "never")]
10376
10387
  // ----- style/jsx-first-prop-new-line -----
10377
10388
  type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
10389
+ // ----- style/jsx-function-call-newline -----
10390
+ type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
10378
10391
  // ----- style/jsx-indent -----
10379
10392
  type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
10380
10393
  checkAttributes?: boolean
@@ -10404,7 +10417,7 @@ type StyleJsxNewline = []|[{
10404
10417
  }]
10405
10418
  // ----- style/jsx-one-expression-per-line -----
10406
10419
  type StyleJsxOneExpressionPerLine = []|[{
10407
- allow?: ("none" | "literal" | "single-child")
10420
+ allow?: ("none" | "literal" | "single-child" | "single-line")
10408
10421
  }]
10409
10422
  // ----- style/jsx-pascal-case -----
10410
10423
  type StyleJsxPascalCase = []|[{
@@ -10447,6 +10460,7 @@ type StyleJsxWrapMultilines = []|[{
10447
10460
  condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10448
10461
  logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10449
10462
  prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10463
+ propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
10450
10464
  }]
10451
10465
  // ----- style/key-spacing -----
10452
10466
  type StyleKeySpacing = []|[({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "2.16.0",
4
+ "version": "2.16.2",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -77,32 +77,32 @@
77
77
  }
78
78
  },
79
79
  "dependencies": {
80
- "@antfu/install-pkg": "^0.3.2",
80
+ "@antfu/install-pkg": "^0.3.3",
81
81
  "@clack/prompts": "^0.7.0",
82
- "@stylistic/eslint-plugin": "^1.7.2",
83
- "@typescript-eslint/eslint-plugin": "^7.7.1",
84
- "@typescript-eslint/parser": "^7.7.1",
82
+ "@stylistic/eslint-plugin": "^1.8.0",
83
+ "@typescript-eslint/eslint-plugin": "~7.7.1",
84
+ "@typescript-eslint/parser": "~7.7.1",
85
85
  "eslint-config-flat-gitignore": "^0.1.5",
86
- "eslint-flat-config-utils": "^0.2.3",
86
+ "eslint-flat-config-utils": "^0.2.4",
87
87
  "eslint-merge-processors": "^0.1.0",
88
- "eslint-plugin-antfu": "^2.1.2",
89
- "eslint-plugin-command": "^0.1.2",
88
+ "eslint-plugin-antfu": "^2.1.3",
89
+ "eslint-plugin-command": "^0.1.9",
90
90
  "eslint-plugin-eslint-comments": "^3.2.0",
91
91
  "eslint-plugin-import-x": "^0.5.0",
92
92
  "eslint-plugin-jsdoc": "^48.2.3",
93
93
  "eslint-plugin-jsonc": "^2.15.1",
94
- "eslint-plugin-markdown": "^4.0.1",
95
- "eslint-plugin-n": "^17.3.1",
94
+ "eslint-plugin-markdown": "^5.0.0",
95
+ "eslint-plugin-n": "^17.4.0",
96
96
  "eslint-plugin-no-only-tests": "^3.1.0",
97
97
  "eslint-plugin-perfectionist": "^2.10.0",
98
98
  "eslint-plugin-toml": "^0.11.0",
99
99
  "eslint-plugin-unicorn": "^52.0.0",
100
- "eslint-plugin-unused-imports": "^3.1.0",
100
+ "eslint-plugin-unused-imports": "^3.2.0",
101
101
  "eslint-plugin-vitest": "^0.5.4",
102
102
  "eslint-plugin-vue": "^9.25.0",
103
103
  "eslint-plugin-yml": "^1.14.0",
104
104
  "eslint-processor-vue-blocks": "^0.1.2",
105
- "globals": "^15.0.0",
105
+ "globals": "^15.1.0",
106
106
  "jsonc-eslint-parser": "^2.4.0",
107
107
  "local-pkg": "^0.5.0",
108
108
  "parse-gitignore": "^2.0.0",
@@ -115,24 +115,24 @@
115
115
  "devDependencies": {
116
116
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
117
117
  "@antfu/ni": "^0.21.12",
118
- "@eslint-react/eslint-plugin": "^1.5.9",
119
- "@eslint/config-inspector": "^0.4.7",
120
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
118
+ "@eslint-react/eslint-plugin": "^1.5.10",
119
+ "@eslint/config-inspector": "^0.4.8",
120
+ "@stylistic/eslint-plugin-migrate": "^1.8.0",
121
121
  "@types/eslint": "^8.56.10",
122
122
  "@types/fs-extra": "^11.0.4",
123
- "@types/node": "^20.12.7",
123
+ "@types/node": "^20.12.10",
124
124
  "@types/prompts": "^2.4.9",
125
125
  "@types/yargs": "^17.0.32",
126
126
  "@unocss/eslint-plugin": "^0.59.4",
127
- "astro-eslint-parser": "^0.17.0",
128
- "bumpp": "^9.4.0",
129
- "bundle-require": "^4.0.3",
130
- "eslint": "^9.1.1",
131
- "eslint-plugin-astro": "^0.34.0",
127
+ "astro-eslint-parser": "^1.0.2",
128
+ "bumpp": "^9.4.1",
129
+ "bundle-require": "^4.1.0",
130
+ "eslint": "^9.2.0",
131
+ "eslint-plugin-astro": "^1.1.2",
132
132
  "eslint-plugin-format": "^0.1.1",
133
- "eslint-plugin-react-hooks": "^4.6.1",
133
+ "eslint-plugin-react-hooks": "^4.6.2",
134
134
  "eslint-plugin-react-refresh": "^0.4.6",
135
- "eslint-plugin-solid": "^0.13.2",
135
+ "eslint-plugin-solid": "^0.14.0",
136
136
  "eslint-plugin-svelte": "2.36.0-next.13",
137
137
  "eslint-typegen": "^0.2.4",
138
138
  "esno": "^4.7.0",
@@ -148,9 +148,9 @@
148
148
  "svelte-eslint-parser": "^0.35.0",
149
149
  "tsup": "^8.0.2",
150
150
  "typescript": "^5.4.5",
151
- "vitest": "^1.5.2",
152
- "vue": "^3.4.25",
153
- "@antfu/eslint-config": "2.16.0"
151
+ "vitest": "^1.6.0",
152
+ "vue": "^3.4.26",
153
+ "@antfu/eslint-config": "2.16.2"
154
154
  },
155
155
  "simple-git-hooks": {
156
156
  "pre-commit": "pnpm lint-staged"