Update dependency eslint-plugin-vue to v10
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-vue (source) | devDependencies | major | ^9.0.0 -> 10.0.0 |
Release Notes
vuejs/eslint-plugin-vue
v10.0.0

Breaking changes

-
#2630 Changed Versioning Policy:
- Allow minor versions of this plugin to enhance the checks for new features in Vue and Nuxt.
- Allow updating deprecated/reserved HTML+SVG element tag names in minor versions, see #2171.
- #2645 Removed deprecated rules (see removed rules).
-
#2669 Dropped support for old versions of ESLint and Node.js. New minimum requirements:
- Node.js:
^18.18.0 || ^20.9.0 || >=21.1.0
- ESLint:
^8.57.0 || ^9.0.0
- Node.js:
- Updated configs:
-
#2627 Added
vue/block-order
rule to recommended configs (replaces the removedvue/component-tags-order
rule). -
#2628 Added
vue/no-deprecated-delete-set
rule to vue3-essential config. -
#2629 Added
vue/no-deprecated-model-definition
rule to vue3-essential config. -
#2640 Added
vue/no-required-prop-with-default
rule to recommended configs. -
#2653 Added
vue/valid-define-options
rule to vue3-essential config. - #2674 Removed globals from configs. You may need to configure them manually now, see https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables.
-
#2648 Renamed
.eslintrc
configs (to matcheslint.config.js
config names; see MR for comparison). -
#2668 Changed
.eslintrc
base config so that vue-eslint-parser is only used for.vue
files.
-
#2627 Added
- #2670 Changed vue-eslint-parser to peer dependency.
-
#2697 Upgraded vue-eslint-parser to v10.
- This includes https://github.com/vuejs/vue-eslint-parser/pull/195, which should make the parser much faster for large TypeScript projects
- This includes https://github.com/vuejs/vue-eslint-parser/pull/195, which should make the parser much faster for large TypeScript projects
-
#2153 Added
slots
andexpose
to the default order ofvue/order-in-components
rule. -
#2626 Removed legacy option from
vue/custom-event-name-casing
rule. -
#2655 Removed unused
runOutsideVue
option fromvue/sort-keys
rule. -
#2652 Removed
setup-compiler-macros
environments.

Enhancements

- #2693 Improved type resolution for generic types and improved the rules for checking type-only macros.
-
#2684 Added
vue/no-import-compiler-macros
rule that disallows importing Vue compiler macros. -
#2694 Added
except
option tovue/prefer-true-attribute-shorthand
rule. -
#2311 Improved the plugin to check for objects declared with Nuxt3
defineNuxtComponent()
.

Updates

- #2171 Updated resources.
- #2675 Deprecated Vue 2 only rules. They will be removed in eslint-plugin-vue v11.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.33.0...v10.0.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Tine Wittler