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-orderrule to recommended configs (replaces the removedvue/component-tags-orderrule). - #2628 Added
vue/no-deprecated-delete-setrule to vue3-essential config. - #2629 Added
vue/no-deprecated-model-definitionrule to vue3-essential config. - #2640 Added
vue/no-required-prop-with-defaultrule to recommended configs. - #2653 Added
vue/valid-define-optionsrule 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
.eslintrcconfigs (to matcheslint.config.jsconfig names; see PR for comparison). - #2668 Changed
.eslintrcbase config so that vue-eslint-parser is only used for.vuefiles.
- #2627 Added
- #2670 Changed vue-eslint-parser to peer dependency.
- #2697 Upgraded vue-eslint-parser to v10.
- This includes vuejs/vue-eslint-parser#195, which should make the parser much faster for large TypeScript projects β‘
- #2153 Added
slotsandexposeto the default order ofvue/order-in-componentsrule. - #2626 Removed legacy option from
vue/custom-event-name-casingrule. - #2655 Removed unused
runOutsideVueoption fromvue/sort-keysrule. - #2652 Removed
setup-compiler-macrosenvironments.
β¨ Enhancements
- #2693 Improved type resolution for generic types and improved the rules for checking type-only macros.
- #2684 Added
vue/no-import-compiler-macrosrule that disallows importing Vue compiler macros. - #2694 Added
exceptoption tovue/prefer-true-attribute-shorthandrule. - #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: v9.33.0...v10.0.0