chore(deps): update dependency eslint-plugin-vue to v10
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| eslint-plugin-vue (source) | devDependencies | major | ^9.32.0 -> ^10.0.0 |
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v10.2.0
Minor Changes
- vue/no-restricted-html-elements now accepts multiple elements in each entry. (#2750)
Patch Changes
- Updates resources (#2747)
v10.1.0
✨ Enhancements
-
#2734 Improved
allowlistoption ofvue/no-bare-strings-in-templaterule to accept regex. -
#2736 Added
vue/define-props-destructuringrule that enforce consistent style for props destructuring. -
#2685 Added
disallowCommentsoption tovue/no-multiple-template-rootrule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v10.0.1...v10.1.0
v10.0.1
🐛 Bug Fixes
-
#2700 Fixed incorrect type for
.eslintrcconfigs. -
#2703 Fixed false negatives for multiple script blocks in
vue/prefer-use-template-refrule. -
#2726 Fixed false positives for tagged template expressions in
vue/no-ref-as-operandrule. -
#2728 Fixed false negatives for props destructure in
vue/require-default-proprule. -
#2731 Fixed false positives for renamed props in
vue/no-dupe-keysrule.
⚙️ Updates
-
#2701 Improved the report location for
vue/no-export-in-script-setuprule. -
#2724 Improved the report location for
vue/html-self-closingrule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v10.0.0...v10.0.1
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 MR 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 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
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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.33.0...v10.0.0
v9.33.0
✨ Enhancements
-
#2639 Added
vue/no-implicit-coercionrule to disallow shorthand type conversions in<template>. -
#2680 Improved
vue/no-ref-as-operandrule to checkemitpayloads. -
#2679 Added
ignorePropsoption tovue/prop-name-casingrule.
🐛 Bug Fixes
-
#2636 Fixed crash in
vue/prefer-use-template-refrule whensetupis an arrow function. -
#2682 Fixed regex matching order in
vue/no-bare-strings-in-templaterule. -
#2683 Fixed false positives for union type prop definitions in
vue/max-propsrule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.32.0...v9.33.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.