Update dependency eslint-plugin-vue to v9 - autoclosed #32

Closed
renovate-bot wants to merge 1 commits from renovate/eslint-plugin-vue-9.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
eslint-plugin-vue (source) devDependencies major 7.20.0 -> 9.25.0

Release Notes

vuejs/eslint-plugin-vue (eslint-plugin-vue)

v9.25.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0

v9.24.1

Compare Source

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1

v9.24.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.23.0...v9.24.0

v9.23.0

Compare Source

Enhancements

🐛 Bug Fixes

⚙️ Updates

  • #​2417 Improve performance by removing unnecessary second filter.

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.22.0...v9.23.0

v9.22.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.1...v9.22.0

v9.21.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.0...v9.21.1

v9.21.0

Compare Source

Enhancements

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.21.0

v9.20.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.0...v9.20.1

v9.20.0

Compare Source

Enhancements

Added Support for Vue 3.4 🏀
New Rules
New Options
Improvements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.0

v9.19.2

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.1...v9.19.2

v9.19.1

Compare Source

🐛 Bug Fixes

  • #​2334 Fixed broken config of plugin:vue/vue3-strongly-recommended

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.0...v9.19.1

v9.19.0

Compare Source

Enhancements

New Rules
New Options

⚙️ Changes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.1...v9.19.0

v9.18.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.0...v9.18.1

v9.18.0

Compare Source

🐛 Bug Fixes

⚙️ Updates

  • #​2292 Fixed to replace typeParameters with typeArguments.

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.17.0...v9.18.0

v9.17.0

Compare Source

Enhancements

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.17.0

v9.16.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.0...v9.16.1

v9.16.0

Compare Source

Enhancements

🐛 Bug Fixes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.1...v9.16.0

v9.15.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.0...v9.15.1

v9.15.0

Compare Source

Enhancements

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0

v9.14.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.0...v9.14.1

v9.14.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.13.0...v9.14.0

v9.13.0

Compare Source

Support for Vue 3.3 "Rurouni Kenshin" 🎉
see https://blog.vuejs.org/posts/vue-3-3

Enhancements

New Rules
Other Changes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.12.0...v9.13.0

v9.12.0

Compare Source

Enhancements

⚙️ Updates

  • #​2145 Added meta object to the processor.
  • #​2149 Added meta object to the plugin.

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0

v9.11.1

Compare Source

🐛 Bug Fixes

  • #​2147 Fixed rules incompatible with ESLint v8.40.

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1

v9.11.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0

v9.10.0

Compare Source

Enhancements

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.9.0...v9.10.0

v9.9.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.8.0...v9.9.0

v9.8.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.7.0...v9.8.0

v9.7.0

Compare Source

Enhancements

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.6.0...v9.7.0

v9.6.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.1...v9.6.0

v9.5.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.0...v9.5.1

v9.5.0

Compare Source

Enhancements

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.4.0...v9.5.0

Thanks @​dev1437, @​Amorites, @​acupofspirt for your contributions!

v9.4.0

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0

v9.3.0

Compare Source

⚙️ Updates

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.2.0...v9.3.0

v9.2.0

Compare Source

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.1...v9.2.0

v9.1.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.0...v9.1.1

v9.1.0

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0

v9.0.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1

v9.0.0

Compare Source

💥 Breaking Changes

Change Vue 3 presets configs
Change Vue 2 preset configs

Note: The rules marked with * are now included in the plugin:vue/essential config because @​vue/composition-api and unplugin-vue2-script-setup add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you.

Deprecated features
Removed features

Previously deprecated rules are removed completely:

Previously deprecated internal util methods are removed completely:

  • getComponentProps: use getComponentPropsFromOptions instead
  • getComponentEmits: use getComponentEmitsFromOptions instead

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0

v8.7.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v8.7.1

v8.7.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.6.0...v8.7.0

v8.6.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.5.0...v8.6.0

v8.5.0

Compare Source

Enhancements

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.1...v8.5.0

v8.4.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.0...v8.4.1

v8.4.0

Compare Source

Enhancements

🐛 Bug Fixes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.3.0...v8.4.0

v8.3.0

Compare Source

🐛 Bug Fixes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.0

v8.2.0

Compare Source

Enhancements

🐛 Bug Fixes

⚙️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0

v8.1.1

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1

v8.1.0

Compare Source

Enhancements

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0

v8.0.3

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.2...v8.0.3

v8.0.2

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2

v8.0.1

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1

v8.0.0

Compare Source

💥 Breaking Changes

Enhancements

Core:

  • #​1685 Added setup-compiler-macros environment.

Rules:

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-vue](https://eslint.vuejs.org) ([source](https://github.com/vuejs/eslint-plugin-vue)) | devDependencies | major | [`7.20.0` -> `9.25.0`](https://renovatebot.com/diffs/npm/eslint-plugin-vue/7.20.0/9.25.0) | --- ### Release Notes <details> <summary>vuejs/eslint-plugin-vue (eslint-plugin-vue)</summary> ### [`v9.25.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.25.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0) #### ✨ Enhancements - [#&#8203;2441](https://github.com/vuejs/eslint-plugin-vue/issues/2441) Added support for Pinia methods to [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. #### 🐛 Bug Fixes - [#&#8203;2438](https://github.com/vuejs/eslint-plugin-vue/issues/2438) Improved [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule to understand logical expressions. - [#&#8203;2435](https://github.com/vuejs/eslint-plugin-vue/issues/2435) Fixed false negatives for props in template in [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0 ### [`v9.24.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.24.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1) #### ⚙️ Updates - [#&#8203;2444](https://github.com/vuejs/eslint-plugin-vue/issues/2444) Allowed [ESLint v9](https://eslint.org/blog/2024/04/eslint-v9.0.0-released/) as peer dependency. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1 ### [`v9.24.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.24.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.23.0...v9.24.0) #### ✨ Enhancements - [#&#8203;2407](https://github.com/vuejs/eslint-plugin-vue/issues/2407), [#&#8203;2436](https://github.com/vuejs/eslint-plugin-vue/issues/2436) Added support for the [flat config format](https://eslint.org/docs/latest/use/configure/configuration-files-new). #### 🐛 Bug Fixes - [#&#8203;2425](https://github.com/vuejs/eslint-plugin-vue/issues/2425) Fixed error for empty value in [`vue/no-restricted-class`](https://eslint.vuejs.org/rules/no-restricted-class.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.23.0...v9.24.0 ### [`v9.23.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.23.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.22.0...v9.23.0) #### ✨ Enhancements - [#&#8203;2422](https://github.com/vuejs/eslint-plugin-vue/issues/2422) Added support for auto-imported Vue APIs (e.g. in [`vue/no-ref-as-operand`](https://eslint.vuejs.org/rules/no-ref-as-operand.html)). - [#&#8203;2423](https://github.com/vuejs/eslint-plugin-vue/issues/2423) Added suggestions for reordering to [`vue/order-in-components`](https://eslint.vuejs.org/rules/order-in-components.html) when there may be side effects. #### 🐛 Bug Fixes - [#&#8203;2410](https://github.com/vuejs/eslint-plugin-vue/issues/2410) Fixed false positives for non-kebab-case variables in [`vue/v-bind-style`](https://eslint.vuejs.org/rules/v-bind-style.html) rule. - [#&#8203;2416](https://github.com/vuejs/eslint-plugin-vue/issues/2416) Fixed false positives for extra comma in [`vue/v-for-delimiter-style`](https://eslint.vuejs.org/rules/v-for-delimiter-style.html) rule. #### ⚙️ Updates - [#&#8203;2417](https://github.com/vuejs/eslint-plugin-vue/issues/2417) Improve performance by removing unnecessary second `filter`. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.22.0...v9.23.0 ### [`v9.22.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.22.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.1...v9.22.0) #### ✨ Enhancements - [#&#8203;2390](https://github.com/vuejs/eslint-plugin-vue/issues/2390) Improved autofix for [`vue/no-deprecated-slot-attribute`](https://eslint.vuejs.org/rules/no-deprecated-slot-attribute.html) to wrap `<template v-slot>`. - [#&#8203;2393](https://github.com/vuejs/eslint-plugin-vue/issues/2393) Added support for type assertions and non-null expressions in [`vue/valid-v-model`](https://eslint.vuejs.org/rules/valid-v-model.html) rule. #### 🐛 Bug Fixes - [#&#8203;2389](https://github.com/vuejs/eslint-plugin-vue/issues/2389) Fixed wrong autofix for `{{'<'}}` in [`vue/no-useless-mustaches`](https://eslint.vuejs.org/rules/no-useless-mustaches.html) rule. - [#&#8203;2394](https://github.com/vuejs/eslint-plugin-vue/issues/2394) Fixed false negative for conditional expressions in [`vue/no-setup-props-reactivity-loss`](https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html) rule. - [#&#8203;2397](https://github.com/vuejs/eslint-plugin-vue/issues/2397) Fixed [`vue/require-explicit-slots`](https://eslint.vuejs.org/rules/require-explicit-slots.html) rule to recognize slot names enclosed in quotes. - [#&#8203;2408](https://github.com/vuejs/eslint-plugin-vue/issues/2408) Fixed wrong autofix for `v-bind` with spaces in [`vue/no-useless-v-bind`](https://eslint.vuejs.org/rules/no-useless-v-bind.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.1...v9.22.0 ### [`v9.21.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.21.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.0...v9.21.1) #### 🐛 Bug Fixes - [#&#8203;2388](https://github.com/vuejs/eslint-plugin-vue/issues/2388) Fixed error in render functions in [`vue/no-unused-emit-declarations`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. - [#&#8203;2386](https://github.com/vuejs/eslint-plugin-vue/issues/2386) Fixed false positives/negatives for multiple `defineModel` calls in [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.0...v9.21.1 ### [`v9.21.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.21.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.21.0) #### ✨ Enhancements - [#&#8203;2325](https://github.com/vuejs/eslint-plugin-vue/issues/2325) Added [`vue/require-explicit-slots`](https://eslint.vuejs.org/rules/require-explicit-slots.html) rule that requires slots to be explicitly defined with `defineSlots` or `slots` component option. - [#&#8203;2367](https://github.com/vuejs/eslint-plugin-vue/issues/2367) Added [`vue/no-restricted-v-on`](https://eslint.vuejs.org/rules/no-restricted-v-on.html) rule that disallows specific arguments in `v-on`. - [#&#8203;2381](https://github.com/vuejs/eslint-plugin-vue/issues/2381) Added `sameNameShorthand` option to [`vue/v-bind-style`](https://eslint.vuejs.org/rules/v-bind-style.html) rule. #### ⚙️ Updates - [#&#8203;2379](https://github.com/vuejs/eslint-plugin-vue/issues/2379) Upgraded [`vue-eslint-parser`](https://github.com/vuejs/vue-eslint-parser) to v9.4.2. - Fixed false positive with camelCase `v-bind` same-name shorthand in [`vue/no-unused-property`](https://eslint.vuejs.org/rules/no-unused-properties.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.21.0 ### [`v9.20.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.20.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.0...v9.20.1) #### 🐛 Bug Fixes - [#&#8203;2364](https://github.com/vuejs/eslint-plugin-vue/issues/2364) Fixed false positives for `defineModel` in [`vue/no-undef-properties`](https://eslint.vuejs.org/rules/no-undef-properties.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.0...v9.20.1 ### [`v9.20.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.20.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.0) #### ✨ Enhancements ##### Added Support for [Vue 3.4 🏀](https://blog.vuejs.org/posts/vue-3-4) - [#&#8203;2357](https://github.com/vuejs/eslint-plugin-vue/issues/2357) Added support for [`v-bind` same-name shorthand](https://blog.vuejs.org/posts/vue-3-4#v-bind-same-name-shorthand). - [#&#8203;2360](https://github.com/vuejs/eslint-plugin-vue/issues/2360) Added support for [`defineModel` macro](https://blog.vuejs.org/posts/vue-3-4#definemodel-is-now-stable). ##### New Rules - [#&#8203;2110](https://github.com/vuejs/eslint-plugin-vue/issues/2110) Added [`vue/enforce-style-attribute`](https://eslint.vuejs.org/rules/enforce-style-attribute.html) rule that enforces or forbids the use of the `scoped` and `module` attributes in SFC top level `<style>` tags. ##### New Options - [#&#8203;2323](https://github.com/vuejs/eslint-plugin-vue/issues/2323) Added `allow` list option to [`vue/no-template-shadow`](https://eslint.vuejs.org/rules/no-template-shadow.html) rule. - [#&#8203;2339](https://github.com/vuejs/eslint-plugin-vue/issues/2339) Added `allow` list option to [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule. - [#&#8203;2346](https://github.com/vuejs/eslint-plugin-vue/issues/2346) Added `selfClosingTag` option to [`vue/html-closing-bracket-newline`](https://eslint.vuejs.org/rules/html-closing-bracket-newline.html) rule. - [#&#8203;2349](https://github.com/vuejs/eslint-plugin-vue/issues/2349) Added `defineExposeLast` option to [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule. ##### Improvements - [#&#8203;2345](https://github.com/vuejs/eslint-plugin-vue/issues/2345) Added support for `$props.<prop>` to [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. - [#&#8203;2276](https://github.com/vuejs/eslint-plugin-vue/issues/2276) Added support for Vuex to [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. #### 🐛 Bug Fixes - [#&#8203;2340](https://github.com/vuejs/eslint-plugin-vue/issues/2340) Fixed [`vue/no-unused-emit-declarations`](https://eslint.vuejs.org/rules/no-unused-emit-declarations.html) rule to detect emits in template with `<script setup>`. - [#&#8203;2350](https://github.com/vuejs/eslint-plugin-vue/issues/2350) Fixed [`vue/require-explicit-emits`](https://eslint.vuejs.org/rules/require-explicit-emits.html) rule to detect emits in template with `<script setup>`. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.0 ### [`v9.19.2`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.19.2) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.1...v9.19.2) #### 🐛 Bug Fixes - [#&#8203;2336](https://github.com/vuejs/eslint-plugin-vue/issues/2336) Fixed crash for TSFunctionType with `type-literal` option in [`vue/define-emits-declaration`](https://eslint.vuejs.org/rules/define-emits-declaration.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.1...v9.19.2 ### [`v9.19.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.19.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.0...v9.19.1) #### 🐛 Bug Fixes - [#&#8203;2334](https://github.com/vuejs/eslint-plugin-vue/issues/2334) Fixed broken config of `plugin:vue/vue3-strongly-recommended` **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.0...v9.19.1 ### [`v9.19.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.19.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.1...v9.19.0) #### ✨ Enhancements ##### New Rules - [#&#8203;2312](https://github.com/vuejs/eslint-plugin-vue/issues/2312) Added [`vue/no-unused-emit-declarations`](https://eslint.vuejs.org/rules/no-unused-emit-declarations.html) rule that disallows unused emit declarations. - [#&#8203;2280](https://github.com/vuejs/eslint-plugin-vue/issues/2280) Added [`vue/v-if-else-key`](https://eslint.vuejs.org/rules/v-if-else-key.html) rule that requires key attribute for conditionally rendered repeated components. ##### New Options - [#&#8203;2315](https://github.com/vuejs/eslint-plugin-vue/issues/2315) Added `type-literal` option in [`vue/define-emits-declaration`](https://eslint.vuejs.org/rules/define-emits-declaration.html) rule. - [#&#8203;2297](https://github.com/vuejs/eslint-plugin-vue/issues/2297) Added `externalIgnores` option in [`vue/singleline-html-element-content-newline`](https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html) rule. - [#&#8203;2314](https://github.com/vuejs/eslint-plugin-vue/issues/2314) Added `ignore` option in [`vue/no-deprecated-slot-attribute`](https://eslint.vuejs.org/rules/no-deprecated-slot-attribute.html) rule. #### ⚙️ Changes - [#&#8203;2320](https://github.com/vuejs/eslint-plugin-vue/issues/2320) Changed [`vue/v-on-event-hyphenation`](https://eslint.vuejs.org/rules/v-on-event-hyphenation.html) rule to be auto-fixable by default in Vue 3. - [#&#8203;2330](https://github.com/vuejs/eslint-plugin-vue/issues/2330) Changed stylistic rules for expressions in `<template>` to extend from [ESLint Stylistic](https://eslint.style/). #### ⚙️ Updates - [#&#8203;2327](https://github.com/vuejs/eslint-plugin-vue/issues/2327) Fixed avoid calling `typeParameters` getter. - [#&#8203;2331](https://github.com/vuejs/eslint-plugin-vue/issues/2331) Improved compatibility with [planned changes in ESLint v9](https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.1...v9.19.0 ### [`v9.18.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.18.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.0...v9.18.1) #### 🐛 Bug Fixes - [#&#8203;2303](https://github.com/vuejs/eslint-plugin-vue/issues/2303) Fixed false positives for `<slot>`, `:key`, and `appear` attribute in [`vue/require-toggle-inside-transition`](https://eslint.vuejs.org/rules/require-toggle-inside-transition.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.0...v9.18.1 ### [`v9.18.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.18.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.17.0...v9.18.0) #### 🐛 Bug Fixes - [#&#8203;2275](https://github.com/vuejs/eslint-plugin-vue/issues/2275) Fixed auto-fix of [`vue/prefer-define-options`](https://eslint.vuejs.org/rules/prefer-define-options.html) rule to insert `defineOptions` after import declaration. - [#&#8203;2293](https://github.com/vuejs/eslint-plugin-vue/issues/2293) Fixed false negatives for whitespace in [`vue/require-toggle-inside-transition`](https://eslint.vuejs.org/rules/require-toggle-inside-transition.html) rule. - [#&#8203;2301](https://github.com/vuejs/eslint-plugin-vue/issues/2301) Fixed [`vue/component-name-in-template-casing`](https://eslint.vuejs.org/rules/component-name-in-template-casing.html) to ignore elements in vue template syntax. #### ⚙️ Updates - [#&#8203;2292](https://github.com/vuejs/eslint-plugin-vue/issues/2292) Fixed to replace `typeParameters` with `typeArguments`. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.17.0...v9.18.0 ### [`v9.17.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.17.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.17.0) #### ✨ Enhancements - [#&#8203;2258](https://github.com/vuejs/eslint-plugin-vue/issues/2258) Added support for template literals in [`vue/no-deprecated-model-definition`](https://eslint.vuejs.org/rules/no-deprecated-model-definition.html). #### ⚙️ Updates - [#&#8203;2260](https://github.com/vuejs/eslint-plugin-vue/issues/2260) Improved error message for [`vue/no-dupe-keys`](https://eslint.vuejs.org/rules/no-dupe-keys.html). - [#&#8203;2268](https://github.com/vuejs/eslint-plugin-vue/issues/2268) Renamed [`vue/no-setup-props-destructure`](https://eslint.vuejs.org/rules/no-setup-props-destructure.html) (now deprecated) to [`vue/no-setup-props-reactivity-loss`](https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html), and removed both rules from any preset configs. - [#&#8203;2269](https://github.com/vuejs/eslint-plugin-vue/issues/2269) Renamed [`vue/no-ref-object-destructure`](https://eslint.vuejs.org/rules/no-ref-object-destructure.html) (now deprecated) to [`vue/no-ref-object-reactivity-loss`](https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.17.0 ### [`v9.16.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.16.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.0...v9.16.1) #### 🐛 Bug Fixes - [#&#8203;2256](https://github.com/vuejs/eslint-plugin-vue/issues/2256) Fixed incompatibility with [`@typescript-eslint` v6](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v6.0.0) in [`vue/script-indent`](https://eslint.vuejs.org/rules/script-indent.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.0...v9.16.1 ### [`v9.16.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.16.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.1...v9.16.0) #### ✨ Enhancements - [#&#8203;2224](https://github.com/vuejs/eslint-plugin-vue/issues/2224) Added [`vue/no-use-v-else-with-v-for`](https://eslint.vuejs.org/rules/no-use-v-else-with-v-for.html) rule that disallows using `v-else-if`/`v-else` on the same element as `v-for`. - [#&#8203;1983](https://github.com/vuejs/eslint-plugin-vue/issues/1983) Added [`vue/require-typed-object-prop`](https://eslint.vuejs.org/rules/require-typed-object-prop.html) rule that enforces adding type declarations to object props. - [#&#8203;2238](https://github.com/vuejs/eslint-plugin-vue/issues/2238) Added [`vue/no-deprecated-model-definition`](https://eslint.vuejs.org/rules/no-deprecated-model-definition.html) rule that disallows the [`model` definition](https://v2.vuejs.org/v2/api/#model), which is deprecated in Vue 3. #### 🐛 Bug Fixes - [#&#8203;2229](https://github.com/vuejs/eslint-plugin-vue/issues/2229) Don't auto fix in [`vue/attribute-hyphenation`](https://eslint.vuejs.org/rules/attribute-hyphenation.html) rule when it would break props. #### ⚙️ Updates - [#&#8203;2223](https://github.com/vuejs/eslint-plugin-vue/issues/2223) Ignore blocks in [`vue/html-self-closing`](https://eslint.vuejs.org/rules/html-self-closing.html) rule. - [#&#8203;2244](https://github.com/vuejs/eslint-plugin-vue/issues/2244) Improved the [`vue/no-setup-props-destructure`](https://eslint.vuejs.org/rules/no-setup-props-destructure.html) rule (expect more lint issues!). - [#&#8203;2222](https://github.com/vuejs/eslint-plugin-vue/issues/2222) Renamed [`vue/component-tags-order`](https://eslint.vuejs.org/rules/component-tags-order.html) to [`vue/block-order`](https://eslint.vuejs.org/rules/block-order.html) (the old rule is still included in the preset configs, but it is now deprecated). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.1...v9.16.0 ### [`v9.15.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.15.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.0...v9.15.1) #### 🐛 Bug Fixes - [#&#8203;2221](https://github.com/vuejs/eslint-plugin-vue/issues/2221) Fixed [`vue/no-console`](https://eslint.vuejs.org/rules/no-console.html) rule false positives outside the `<template>` block. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.0...v9.15.1 ### [`v9.15.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.15.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0) #### ✨ Enhancements - [#&#8203;2194](https://github.com/vuejs/eslint-plugin-vue/issues/2194) Added [`vue/no-console`](https://eslint.vuejs.org/rules/no-console.html) rule that applies the core [`no-console`](https://eslint.org/docs/latest/rules/no-console) rule to expressions in `<template>`. - [#&#8203;2198](https://github.com/vuejs/eslint-plugin-vue/issues/2198) Added [`vue/require-macro-variable-name`](https://eslint.vuejs.org/rules/require-macro-variable-name.html) rule that requires a certain macro variable name. - [#&#8203;2204](https://github.com/vuejs/eslint-plugin-vue/issues/2204) Added [`vue/require-typed-ref`](https://eslint.vuejs.org/rules/require-typed-ref.html) rule that requires `ref` and `shallowRef` functions to be strongly typed. - [#&#8203;2210](https://github.com/vuejs/eslint-plugin-vue/issues/2210) Added [`vue/no-restricted-component-names`](https://eslint.vuejs.org/rules/no-restricted-component-names.html) rule that disallows specific component names. - [#&#8203;2213](https://github.com/vuejs/eslint-plugin-vue/issues/2213) Added [`vue/max-lines-per-block`](https://eslint.vuejs.org/rules/max-lines-per-block.html) rule that enforces a maximum number of lines in Vue SFC blocks. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0 ### [`v9.14.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.14.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.0...v9.14.1) #### 🐛 Bug Fixes - [#&#8203;2189](https://github.com/vuejs/eslint-plugin-vue/issues/2189) Fixed false positives for `toRef` props in [`vue/no-dupe-keys`](https://eslint.vuejs.org/rules/no-dupe-keys.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.0...v9.14.1 ### [`v9.14.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.14.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.13.0...v9.14.0) #### ✨ Enhancements - [#&#8203;2178](https://github.com/vuejs/eslint-plugin-vue/issues/2178) Added support for `defineOptions` to [`vue/no-duplicate-attr-inheritance`](https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html) rule. - [#&#8203;2185](https://github.com/vuejs/eslint-plugin-vue/issues/2185) Added support for `<script setup>` to [`vue/no-dupe-keys`](https://eslint.vuejs.org/rules/no-dupe-keys.html) rule. #### 🐛 Bug Fixes - [#&#8203;2177](https://github.com/vuejs/eslint-plugin-vue/issues/2177) Added `additionalProperties` to [`vue/no-deprecated-router-link-tag-prop`](https://eslint.vuejs.org/rules/no-deprecated-router-link-tag-prop.html) schema. - [#&#8203;2186](https://github.com/vuejs/eslint-plugin-vue/issues/2186) Fixed false positive for unknown prop in [`vue/no-undef-properties`](https://eslint.vuejs.org/rules/no-undef-properties.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.13.0...v9.14.0 ### [`v9.13.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.13.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.12.0...v9.13.0) **Support for Vue 3.3 "Rurouni Kenshin"** :tada:\ see https://blog.vuejs.org/posts/vue-3-3 #### ✨ Enhancements ##### New Rules - [#&#8203;2167](https://github.com/vuejs/eslint-plugin-vue/issues/2167) Added [`vue/prefer-define-options` rule](https://eslint.vuejs.org/rules/prefer-define-options.html) that enforces use of `defineOptions` instead of default export. - [#&#8203;2165](https://github.com/vuejs/eslint-plugin-vue/issues/2165) Added [`vue/valid-define-options` rule](https://eslint.vuejs.org/rules/valid-define-options.html) that checks whether `defineOptions` compiler macro is valid. ##### Other Changes - [#&#8203;2154](https://github.com/vuejs/eslint-plugin-vue/issues/2154) Added support for `defineOptions` and `defineSlots` to [`vue/define-macros-order` rule](https://eslint.vuejs.org/rules/define-macros-order.html). - [#&#8203;2163](https://github.com/vuejs/eslint-plugin-vue/issues/2163) Added support for `defineOptions` and `defineSlots` to [`vue/no-unsupported-features` rule](https://eslint.vuejs.org/rules/no-unsupported-features.html). - [#&#8203;2152](https://github.com/vuejs/eslint-plugin-vue/issues/2152) Added support for new `defineEmits` type syntax to [`vue/require-explicit-emits` rule](https://eslint.vuejs.org/rules/require-explicit-emits.html). - [#&#8203;2159](https://github.com/vuejs/eslint-plugin-vue/issues/2159) Added support for `defineOptions` to [`vue/component-definition-name-casing` rule](https://eslint.vuejs.org/rules/component-definition-name-casing.html). - [#&#8203;2161](https://github.com/vuejs/eslint-plugin-vue/issues/2161) Added support for `defineOptions` to [`vue/match-component-file-name` rule](https://eslint.vuejs.org/rules/match-component-file-name.html). - [#&#8203;2157](https://github.com/vuejs/eslint-plugin-vue/issues/2157) Added support for `defineOptions` to [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html). - [#&#8203;2158](https://github.com/vuejs/eslint-plugin-vue/issues/2158) Added support for `defineOptions` to [`vue/no-reserved-component-names` rule](https://eslint.vuejs.org/rules/no-reserved-component-names.html). - [#&#8203;2162](https://github.com/vuejs/eslint-plugin-vue/issues/2162) Added support for `defineOptions` to [`vue/no-restricted-component-options` rule](https://eslint.vuejs.org/rules/no-restricted-component-options.html). - [#&#8203;2160](https://github.com/vuejs/eslint-plugin-vue/issues/2160) Added support for `defineOptions` to [`vue/order-in-components` rule](https://eslint.vuejs.org/rules/order-in-components.html). - [#&#8203;2164](https://github.com/vuejs/eslint-plugin-vue/issues/2164) Added support for `defineOptions` to [`vue/padding-lines-in-component-definition` rule](https://eslint.vuejs.org/rules/padding-lines-in-component-definition.html). - [#&#8203;2134](https://github.com/vuejs/eslint-plugin-vue/issues/2134) Added support for imported types in SFC macros. #### ⚙️ Updates - [#&#8203;2170](https://github.com/vuejs/eslint-plugin-vue/issues/2170) Upgraded to [vue-eslint-parser v9.3](https://github.com/vuejs/vue-eslint-parser/releases/tag/v9.3.0) that supports Vue 3.3. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.12.0...v9.13.0 ### [`v9.12.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.12.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0) #### ✨ Enhancements - [#&#8203;2135](https://github.com/vuejs/eslint-plugin-vue/issues/2135) Added `shallowOnly` option to [`vue/no-mutating-props` rule](https://eslint.vuejs.org/rules/valid-model-definition.html). - [#&#8203;2138](https://github.com/vuejs/eslint-plugin-vue/issues/2138) Added [`vue/no-root-v-if` rule](https://eslint.vuejs.org/rules/no-root-v-if.html) that disallows the `v-if` directive on the root element. #### ⚙️ Updates - [#&#8203;2145](https://github.com/vuejs/eslint-plugin-vue/issues/2145) Added `meta` object to the processor. - [#&#8203;2149](https://github.com/vuejs/eslint-plugin-vue/issues/2149) Added `meta` object to the plugin. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0 ### [`v9.11.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.11.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1) #### 🐛 Bug Fixes - [#&#8203;2147](https://github.com/vuejs/eslint-plugin-vue/issues/2147) Fixed rules incompatible with ESLint v8.40. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1 ### [`v9.11.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.11.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0) #### ✨ Enhancements - [#&#8203;2101](https://github.com/vuejs/eslint-plugin-vue/issues/2101) Added `unreferencedOptions` option to [`vue/no-unused-properties` rule](https://eslint.vuejs.org/rules/no-unused-properties.html). #### 🐛 Bug Fixes - [#&#8203;2131](https://github.com/vuejs/eslint-plugin-vue/issues/2131) Fixed false negatives in [`vue/camelcase` rule](https://eslint.vuejs.org/rules/camelcase.html) when using ESLint >= v8.38. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0 ### [`v9.10.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.10.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.9.0...v9.10.0) #### ✨ Enhancements - [#&#8203;2111](https://github.com/vuejs/eslint-plugin-vue/issues/2111) Added suggestions for [`vue/no-template-target-blank` rule](https://eslint.vuejs.org/rules/no-template-target-blank.html). #### ⚙️ Updates - [#&#8203;2112](https://github.com/vuejs/eslint-plugin-vue/issues/2112) Changed to use [`@eslint-community/eslint-utils` package](https://eslint-community.github.io/eslint-utils/). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.9.0...v9.10.0 ### [`v9.9.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.9.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.8.0...v9.9.0) #### ✨ Enhancements - [#&#8203;2066](https://github.com/vuejs/eslint-plugin-vue/issues/2066) Added [`vue/array-element-newline` rule](https://eslint.vuejs.org/rules/array-element-newline.html) that applies the [core `array-element-newline` rule](https://eslint.org/docs/latest/rules/array-element-newline) to expressions in `<template>`. - [#&#8203;2042](https://github.com/vuejs/eslint-plugin-vue/issues/2042) Improved [`vue/script-indent` rule](https://eslint.vuejs.org/rules/script-indent.html) to support more TypeScript syntax. - [#&#8203;2052](https://github.com/vuejs/eslint-plugin-vue/issues/2052) Added [`vue/padding-lines-in-component-definition` rule](https://eslint.vuejs.org/rules/padding-lines-in-component-definition.html) that requires or disallows padding lines in component definition. - [#&#8203;2068](https://github.com/vuejs/eslint-plugin-vue/issues/2068) Added new `ATTR_DYNAMIC`, `ATTR_STATIC`, and `ATTR_SHORTHAND_BOOL` options to [`vue/attributes-order` rule](https://eslint.vuejs.org/rules/attributes-order.html). #### 🐛 Bug Fixes - [#&#8203;2069](https://github.com/vuejs/eslint-plugin-vue/issues/2069) Fixed false positive for type-only imports in [`vue/component-name-in-template-casing` rule](https://eslint.vuejs.org/rules/component-name-in-template-casing.html). - [#&#8203;2070](https://github.com/vuejs/eslint-plugin-vue/issues/2070) Fixed spaces around comma in [`vue/component-api-style` rule](https://eslint.vuejs.org/rules/component-api-style.html) report messages. - [#&#8203;2071](https://github.com/vuejs/eslint-plugin-vue/issues/2071) Fixed [`vue/define-macros-order` rule](https://eslint.vuejs.org/rules/define-macros-order.html) to hoist secondary expressions correctly. - [#&#8203;2073](https://github.com/vuejs/eslint-plugin-vue/issues/2073) Fixed false positives for circular references in `<script setup>` in [`vue/no-undef-components` rule](https://eslint.vuejs.org/rules/no-undef-components.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.8.0...v9.9.0 ### [`v9.8.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.8.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.7.0...v9.8.0) #### ✨ Enhancements - [#&#8203;2019](https://github.com/vuejs/eslint-plugin-vue/issues/2019) Added [`vue/require-prop-comment` rule](https://eslint.vuejs.org/rules/require-prop-comment.html) that requires props to have a comment. - [#&#8203;2034](https://github.com/vuejs/eslint-plugin-vue/issues/2034) Added suggestion for [`vue/require-name-property` rule](https://eslint.vuejs.org/rules/require-name-property.html). #### 🐛 Bug Fixes - [#&#8203;2024](https://github.com/vuejs/eslint-plugin-vue/issues/2024) Fixed false positives for `<Textarea>` components in [`vue/no-textarea-mustache` rule](https://eslint.vuejs.org/rules/no-textarea-mustache.html). - [#&#8203;2040](https://github.com/vuejs/eslint-plugin-vue/issues/2040) Fixed false positives for exported interfaces/type declarations in [`vue/define-macros-order` rule](https://eslint.vuejs.org/rules/define-macros-order.html). - [#&#8203;2031](https://github.com/vuejs/eslint-plugin-vue/issues/2031) Fixed false positives for HTML tags when using HTML-like components in [`vue/component-name-in-template-casing` rule](https://eslint.vuejs.org/rules/component-name-in-template-casing.html). - [#&#8203;2045](https://github.com/vuejs/eslint-plugin-vue/issues/2045) Fixed [`vue/attribute-hyphenation` rule](https://eslint.vuejs.org/rules/attribute-hyphenation.html) to disable autofix for attributes containing underscores (`_`). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.7.0...v9.8.0 ### [`v9.7.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.7.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.6.0...v9.7.0) #### ✨ Enhancements - [#&#8203;1996](https://github.com/vuejs/eslint-plugin-vue/issues/1996) Added [`vue/multiline-ternary` rule](https://eslint.vuejs.org/rules/multiline-ternary.html) that applies the core [`multiline-ternary`](https://eslint.org/docs/rules/multiline-ternary) rule to expressions in `<template>` and `<style>`. - [#&#8203;2009](https://github.com/vuejs/eslint-plugin-vue/issues/2009) Added [`vue/v-on-handler-style` rule](https://eslint.vuejs.org/rules/v-on-handler-style.html) that enforces writing style for handlers in `v-on` directives. - [#&#8203;1989](https://github.com/vuejs/eslint-plugin-vue/issues/1989) Added `globals` option to [`vue/component-name-in-template-casing` rule](https://eslint.vuejs.org/rules/component-name-in-template-casing.html). - [#&#8203;2013](https://github.com/vuejs/eslint-plugin-vue/issues/2013) Added support for regexp options to [`vue/no-restricted-class` rule](https://eslint.vuejs.org/rules/no-restricted-class.html). #### ⚙️ Updates - [#&#8203;2009](https://github.com/vuejs/eslint-plugin-vue/issues/2009) Deprecated [`vue/v-on-function-call` rule](https://eslint.vuejs.org/rules/v-on-function-call.html). Use the new [`vue/v-on-handler-style` rule](https://eslint.vuejs.org/rules/v-on-handler-style.html) instead. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.6.0...v9.7.0 ### [`v9.6.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.6.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.1...v9.6.0) #### ✨ Enhancements - [#&#8203;1943](https://github.com/vuejs/eslint-plugin-vue/issues/1943) Added [`vue/no-required-prop-with-default` rule](https://eslint.vuejs.org/rules/no-required-prop-with-default.html) that enforces props with default values ​​to be optional. - [#&#8203;1982](https://github.com/vuejs/eslint-plugin-vue/issues/1982) Added `consistent` option to [`vue/padding-line-between-tags` rule](https://eslint.vuejs.org/rules/padding-line-between-tags.html). #### 🐛 Bug Fixes - [#&#8203;1988](https://github.com/vuejs/eslint-plugin-vue/issues/1988) Fixed false positives for uninitialized vars in [`vue/no-ref-as-operand` rule](https://eslint.vuejs.org/rules/no-ref-as-operand.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.1...v9.6.0 ### [`v9.5.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.5.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.0...v9.5.1) #### 🐛 Bug Fixes - [#&#8203;1976](https://github.com/vuejs/eslint-plugin-vue/issues/1976) Fixed false positives for `<script setup>` with TypeScript in [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.0...v9.5.1 ### [`v9.5.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.5.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.4.0...v9.5.0) #### ✨ Enhancements - [#&#8203;1965](https://github.com/vuejs/eslint-plugin-vue/issues/1965) Added [`vue/no-ref-object-destructure`](https://eslint.vuejs.org/rules/no-ref-object-destructure.html) rule that reports the destructuring of ref objects causing the value to lose reactivity. - [#&#8203;1967](https://github.com/vuejs/eslint-plugin-vue/issues/1967) Changed [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) rule to report when type-only imports are used. - [#&#8203;1966](https://github.com/vuejs/eslint-plugin-vue/issues/1966) Added [`vue/padding-line-between-tags`](https://eslint.vuejs.org/rules/padding-line-between-tags.html) rule that requires or disallows newlines between sibling tags in template. - [#&#8203;1968](https://github.com/vuejs/eslint-plugin-vue/issues/1968) Added [`vue/define-emits-declaration`](https://eslint.vuejs.org/rules/define-emits-declaration.html) rule that enforces the declaration style of `defineEmits`. - [#&#8203;1968](https://github.com/vuejs/eslint-plugin-vue/issues/1968) Added [`vue/define-props-declaration`](https://eslint.vuejs.org/rules/define-props-declaration.html) rule that enforces the declaration style of `defineProps`. #### ⚙️ Updates - [#&#8203;1955](https://github.com/vuejs/eslint-plugin-vue/issues/1955) Changed [`vue/order-in-components`](https://eslint.vuejs.org/rules/order-in-components.html) rule to be auto-fixable even when using `PropType`. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.4.0...v9.5.0 Thanks [@&#8203;dev1437](https://github.com/dev1437), [@&#8203;Amorites](https://github.com/Amorites), [@&#8203;acupofspirt](https://github.com/acupofspirt) for your contributions! ### [`v9.4.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.4.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0) #### 🐛 Bug Fixes - [#&#8203;1942](https://github.com/vuejs/eslint-plugin-vue/issues/1942) Fixed false negatives for delete operation in [`vue/no-mutating-props`](https://eslint.vuejs.org/rules/no-mutating-props.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0 ### [`v9.3.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.3.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.2.0...v9.3.0) #### ⚙️ Updates - [#&#8203;1934](https://github.com/vuejs/eslint-plugin-vue/issues/1934) Added support for `<script setup>` to [`vue/component-name-in-template-casing`](https://eslint.vuejs.org/rules/component-name-in-template-casing.html) rule. #### 🐛 Bug Fixes - [#&#8203;1937](https://github.com/vuejs/eslint-plugin-vue/issues/1937) Fixed false negatives for template literals in [`vue/custom-event-name-casing`](https://eslint.vuejs.org/rules/custom-event-name-casing.html), [`vue/no-restricted-custom-event`](https://eslint.vuejs.org/rules/no-restricted-custom-event.html), and [`vue/require-explicit-emits`](https://eslint.vuejs.org/rules/require-explicit-emits.html) rules. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.2.0...v9.3.0 ### [`v9.2.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.2.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.1...v9.2.0) #### ⚙️ Updates - [#&#8203;1917](https://github.com/vuejs/eslint-plugin-vue/issues/1917) Added support for Vue 2.7 to [`vue/no-unsupported-features`](https://eslint.vuejs.org/rules/no-unsupported-features.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.1...v9.2.0 ### [`v9.1.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.1.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.0...v9.1.1) #### 🐛 Bug Fixes - [#&#8203;1909](https://github.com/vuejs/eslint-plugin-vue/issues/1909) Fixed false negatives in [`vue/no-unused-components`](https://eslint.vuejs.org/rules/no-unused-components.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.0...v9.1.1 ### [`v9.1.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.1.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0) #### 🐛 Bug Fixes - [#&#8203;1907](https://github.com/vuejs/eslint-plugin-vue/issues/1907) Fixed [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule to skip side-effect imports in `.d.ts` files. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0 ### [`v9.0.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1) #### 🐛 Bug Fixes - [#&#8203;1896](https://github.com/vuejs/eslint-plugin-vue/issues/1896) Fixed false positive for script setup in [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1 ### [`v9.0.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.0.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.1...v9.0.0) #### 💥 Breaking Changes - [#&#8203;1847](https://github.com/vuejs/eslint-plugin-vue/pull/1847) Drop support for Node.js v12. - [#&#8203;1846](https://github.com/vuejs/eslint-plugin-vue/pull/1846) Change default casing of [`vue/custom-event-name-casing`](https://eslint.vuejs.org/rules/custom-event-name-casing.html) rule to `camelCase`. - [#&#8203;1883](https://github.com/vuejs/eslint-plugin-vue/pull/1883) Potentially breaking bug fix: Enable [`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html) and [`vue/html-closing-bracket-newline`](https://eslint.vuejs.org/rules/html-closing-bracket-newline.html) rules for top-level tags. - [#&#8203;1848](https://github.com/vuejs/eslint-plugin-vue/pull/1848), [#&#8203;1892](https://github.com/vuejs/eslint-plugin-vue/pull/1892) Change presets configs and remove unused internal methods. *(see below)* - [#&#8203;1849](https://github.com/vuejs/eslint-plugin-vue/pull/1849) Upgrade [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to v9. *(see below)* - [#&#8203;1881](https://github.com/vuejs/eslint-plugin-vue/pull/1881) Remove deprecated rules. *(see below)* ##### Change Vue 3 presets configs - Change `plugin:vue/vue3-essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/prefer-import-from-vue`](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Change `plugin:vue/vue3-strongly-recommended` config: - Same changes as above - Change `plugin:vue/vue3-recommended` config: - Same changes as above ##### Change Vue 2 preset configs - Change `plugin:vue/essential` config: - Add [`vue/no-child-content`](https://eslint.vuejs.org/rules/no-child-content.html) rule - Add [`vue/no-reserved-component-names`](https://eslint.vuejs.org/rules/no-reserved-component-names.html) rule - Add [`vue/no-use-computed-property-like-method`](https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html) rule - Add [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule - Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule - Add [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) rule - Add [`vue/no-export-in-script-setup`](https://eslint.vuejs.org/rules/no-export-in-script-setup.html) rule \* - Add [`vue/no-ref-as-operand`](https://eslint.vuejs.org/rules/no-ref-as-operand.html) rule \* - Add [`vue/no-setup-props-destructure`](https://eslint.vuejs.org/rules/no-setup-props-destructure.html) rule \* - Add [`vue/return-in-emits-validator`](https://eslint.vuejs.org/rules/return-in-emits-validator.html) rule \* - Add [`vue/valid-define-emits`](https://eslint.vuejs.org/rules/valid-define-emits.html) rule \* - Add [`vue/valid-define-props`](https://eslint.vuejs.org/rules/valid-define-props.html) rule \* - Change `plugin:vue/strongly-recommended` config: - Same changes as above - Change `plugin:vue/recommended` config: - Same changes as above *Note:* The rules marked with \* are now included in the `plugin:vue/essential` config because [@&#8203;vue/composition-api](https://github.com/vuejs/composition-api) and [unplugin-vue2-script-setup](https://github.com/antfu/unplugin-vue2-script-setup/) add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you. ##### Deprecated features - [`vue/no-invalid-model-keys`](https://eslint.vuejs.org/rules/no-invalid-model-keys.html) rule is now deprecated, as it's renamed to [`vue/valid-model-definition`](https://eslint.vuejs.org/rules/valid-model-definition.html) - [`vue/script-setup-uses-vars`](https://eslint.vuejs.org/rules/script-setup-uses-vars.html) rule is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to v9 - `vue/setup-compiler-macros` environment is now deprecated, as it's no longer needed with the upgrade to [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to v9 ##### Removed features Previously deprecated rules are removed completely: - [`vue/experimental-script-setup-vars`](https://eslint.vuejs.org/rules/experimental-script-setup-vars.html) rule (deprecated in v7.13.0): not needed anymore - [`vue/name-property-casing`](https://eslint.vuejs.org/rules/name-property-casing.html) rule (deprecated in v7.0.0): use [`vue/component-definition-name-casing`](https://eslint.vuejs.org/rules/component-definition-name-casing.html) instead - [`vue/no-confusing-v-for-v-if`](https://eslint.vuejs.org/rules/no-confusing-v-for-v-if.html) rule (deprecated in v5.0.0): use [`vue/no-use-v-if-with-v-for`](https://eslint.vuejs.org/rules/no-use-v-if-with-v-for.html) instead - [`vue/no-unregistered-components`](https://eslint.vuejs.org/rules/no-unregistered-components.html) rule (deprecated in v8.4.0): use [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) instead Previously deprecated internal util methods are removed completely: - `getComponentProps`: use `getComponentPropsFromOptions` instead - `getComponentEmits`: use `getComponentEmitsFromOptions` instead #### ✨ Enhancements - [#&#8203;1874](https://github.com/vuejs/eslint-plugin-vue/pull/1874) Make [`vue/match-component-file-name`](https://eslint.vuejs.org/rules/match-component-file-name.html) rule fixable via editor suggestions. - [#&#8203;1885](https://github.com/vuejs/eslint-plugin-vue/pull/1885) Support `<script setup>` in [`vue/no-expose-after-await`](https://eslint.vuejs.org/rules/no-expose-after-await.html) rule. - [#&#8203;1851](https://github.com/vuejs/eslint-plugin-vue/pull/1851), [#&#8203;1892](https://github.com/vuejs/eslint-plugin-vue/pull/1892) Add [`vue/valid-attribute-name`](https://eslint.vuejs.org/rules/valid-attribute-name.html) rule. #### 🐛 Bug Fixes - [#&#8203;1861](https://github.com/vuejs/eslint-plugin-vue/pull/1861) Fix wrong behavior of [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule when there are multiple `<script>` tags. - [#&#8203;1883](https://github.com/vuejs/eslint-plugin-vue/pull/1883) Potentially breaking bug fix: Enable [`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html) and [`vue/html-closing-bracket-newline`](https://eslint.vuejs.org/rules/html-closing-bracket-newline.html) rules for top-level tags. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0 ### [`v8.7.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.7.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v8.7.1) #### 🐛 Bug Fixes - [#&#8203;1861](https://github.com/vuejs/eslint-plugin-vue/issues/1861) Fixed false positives for multiple scripts in [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v8.7.1 ### [`v8.7.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.7.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.6.0...v8.7.0) #### ✨ Enhancements - [#&#8203;1825](https://github.com/vuejs/eslint-plugin-vue/issues/1825), [#&#8203;1842](https://github.com/vuejs/eslint-plugin-vue/issues/1842) Added support for CSS selectors to order option for [`vue/component-tags-order`](https://eslint.vuejs.org/rules/component-tags-order.html) rule. - [#&#8203;1831](https://github.com/vuejs/eslint-plugin-vue/issues/1831) Added [`vue/match-component-import-name`](https://eslint.vuejs.org/rules/match-component-import-name.html) rule that requires the registered component name to match the imported component name. - [#&#8203;1856](https://github.com/vuejs/eslint-plugin-vue/issues/1856) Added [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) rule that enforces the order of `defineEmits` and `defineProps` compiler macros. #### 🐛 Bug Fixes - [#&#8203;1844](https://github.com/vuejs/eslint-plugin-vue/issues/1844) Fixed false negatives for `<script setup>` in [`vue/multi-word-component-names`](https://eslint.vuejs.org/rules/multi-word-component-names.html) rule. - [#&#8203;1854](https://github.com/vuejs/eslint-plugin-vue/issues/1854) Fixed false positives for `<script setup>` with TS literal type in [`vue/require-valid-default-prop`](https://eslint.vuejs.org/rules/require-valid-default-prop.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.6.0...v8.7.0 ### [`v8.6.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.6.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.5.0...v8.6.0) #### ✨ Enhancements - [#&#8203;1811](https://github.com/vuejs/eslint-plugin-vue/issues/1811) Made [`vue/component-tags-order`](https://eslint.vuejs.org/rules/component-tags-order.html) rule auto-fixable. - [#&#8203;1822](https://github.com/vuejs/eslint-plugin-vue/issues/1822) Added [`vue/prefer-prop-type-boolean-first`](https://eslint.vuejs.org/rules/prefer-prop-type-boolean-first.html) rule that enforces that `Boolean` comes first in component prop types - [#&#8203;1820](https://github.com/vuejs/eslint-plugin-vue/issues/1820) Added [`vue/no-restricted-html-elements`](https://eslint.vuejs.org/rules/no-restricted-html-elements.html) rule that disallows specific HTML elements. #### 🐛 Bug Fixes - [#&#8203;1826](https://github.com/vuejs/eslint-plugin-vue/issues/1826) Fixed false negatives for `<slot>` in [`vue/attribute-hyphenation`](https://eslint.vuejs.org/rules/attribute-hyphenation.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.5.0...v8.6.0 ### [`v8.5.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.5.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.1...v8.5.0) #### ✨ Enhancements - [#&#8203;1796](https://github.com/vuejs/eslint-plugin-vue/issues/1796) Added [`prefer-true-attribute-shorthand` rule](https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html) that forces the `v-bind` attribute with `true` value to use the shorthand. - [#&#8203;1804](https://github.com/vuejs/eslint-plugin-vue/issues/1804) Added [`vue/prefer-import-from-vue` rule](https://eslint.vuejs.org/rules/prefer-import-from-vue.html) that aims to use imports from `'vue'` instead of imports from `'@&#8203;vue/*'`. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.1...v8.5.0 ### [`v8.4.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.4.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.0...v8.4.1) #### 🐛 Bug Fixes - [#&#8203;1782](https://github.com/vuejs/eslint-plugin-vue/issues/1782) Support template literal component names in [`vue/no-undef-components` rule](https://eslint.vuejs.org/rules/no-undef-components.html). - [#&#8203;1790](https://github.com/vuejs/eslint-plugin-vue/issues/1790) Fixed false positives due to conflicts with other rules in [`vue/no-unused-properties` rule](https://eslint.vuejs.org/rules/no-unused-properties.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.0...v8.4.1 ### [`v8.4.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.4.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.3.0...v8.4.0) #### ✨ Enhancements - [#&#8203;1760](https://github.com/vuejs/eslint-plugin-vue/issues/1760) Added [`vue/no-v-text-v-html-on-component`](https://eslint.vuejs.org/rules/no-v-text-v-html-on-component.html) rule that disallows the use of `v-text` / `v-html` on component. - [#&#8203;1762](https://github.com/vuejs/eslint-plugin-vue/issues/1762) Added [`vue/object-shorthand`](https://eslint.vuejs.org/rules/object-shorthand.html) rule that applies [`object-shorthand`](https://eslint.org/docs/rules/object-shorthand) rule to expressions in `<template>`. - [#&#8203;1763](https://github.com/vuejs/eslint-plugin-vue/issues/1763) Added [`vue/no-undef-components`](https://eslint.vuejs.org/rules/no-undef-components.html) rule that warns reports component that are used in the `<template>`, but that are not defined in the `<script setup>` or the Options API's `components` section. - [#&#8203;1769](https://github.com/vuejs/eslint-plugin-vue/issues/1769) Added [`vue/quote-props`](https://eslint.vuejs.org/rules/quote-props.html) rule that applies [`quote-props`](https://eslint.org/docs/rules/quote-props) rule to expressions in `<template>`. - [#&#8203;1761](https://github.com/vuejs/eslint-plugin-vue/issues/1761) Added support for Vue2 functional component to [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule. - [#&#8203;1761](https://github.com/vuejs/eslint-plugin-vue/issues/1761) Added support for Vue2 functional component to [`vue/no-undef-properties`](https://eslint.vuejs.org/rules/no-undef-properties.html) rule. #### 🐛 Bug Fixes - [#&#8203;1770](https://github.com/vuejs/eslint-plugin-vue/issues/1770) Fixed false positives for import brace in [`vue/script-indent`](https://eslint.vuejs.org/rules/script-indent.html) rule. - [#&#8203;1771](https://github.com/vuejs/eslint-plugin-vue/issues/1771) Fixed false positives for `v-bind="obj"` with `v-model` in [`vue/attributes-order`](https://eslint.vuejs.org/rules/attributes-order.html) rule. - [#&#8203;1775](https://github.com/vuejs/eslint-plugin-vue/issues/1775) Fixed false positives for CSS `v-bind()` in [`vue/no-extra-parens`](https://eslint.vuejs.org/rules/no-extra-parens.html) rule. - [#&#8203;1777](https://github.com/vuejs/eslint-plugin-vue/issues/1777) Skip conditional expressions in [`vue/valid-next-tick`](https://eslint.vuejs.org/rules/valid-next-tick.html) rule. #### ⚙️ Updates - [#&#8203;1763](https://github.com/vuejs/eslint-plugin-vue/issues/1763) Deprecated [`vue/no-unregistered-components`](https://eslint.vuejs.org/rules/no-unregistered-components.html) rule. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.3.0...v8.4.0 ### [`v8.3.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.3.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.0) #### 🐛 Bug Fixes - [#&#8203;1755](https://github.com/vuejs/eslint-plugin-vue/issues/1755) Fix crash on `<textarea>` without end tag in [`vue/html-indent` rule](https://eslint.vuejs.org/rules/html-indent.html). - [#&#8203;1756](https://github.com/vuejs/eslint-plugin-vue/issues/1756) Fix false positive for unknown emits definition in [`vue/require-explicit-emits` rule](https://eslint.vuejs.org/rules/require-explicit-emits.html). #### ⚙️ Updates - [#&#8203;1750](https://github.com/vuejs/eslint-plugin-vue/issues/1750) Report [`$set`](https://eslint.vuejs.org/rules/no-side-effects-in-computed-properties.html) and [`$nextTick`](https://eslint.vuejs.org/rules/no-async-in-computed-properties.html) in computed properties. **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.0 ### [`v8.2.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.2.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0) #### ✨ Enhancements - [#&#8203;1725](https://github.com/vuejs/eslint-plugin-vue/issues/1725) Added [`vue/component-options-name-casing` rule](https://eslint.vuejs.org/rules/component-options-name-casing.html) that enforces the casing of component name in `components` options. - [#&#8203;1729](https://github.com/vuejs/eslint-plugin-vue/issues/1729) Added [`vue/prefer-separate-static-class` rule](https://eslint.vuejs.org/rules/prefer-separate-static-class.html) that requires static class names in template to be in a separate `class` attribute. #### 🐛 Bug Fixes - [#&#8203;1736](https://github.com/vuejs/eslint-plugin-vue/issues/1736) Fixed false positives for import binding in [`vue/valid-define-emits`](https://eslint.vuejs.org/rules/valid-define-emits.html) and [`vue/valid-define-props`](https://eslint.vuejs.org/rules/valid-define-props.html) rules. #### :gear: Updates - [#&#8203;1719](https://github.com/vuejs/eslint-plugin-vue/issues/1719) Added support for TypeScript 4.5 to [`vue/script-indent` rule](https://eslint.vuejs.org/rules/script-indent.html). - [#&#8203;1735](https://github.com/vuejs/eslint-plugin-vue/issues/1735) Changed to allow `asyncData` in [`vue/no-dupe-keys` rule](https://eslint.vuejs.org/rules/no-dupe-keys.html). **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0 ### [`v8.1.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.1.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1) #### 🐛 Bug Fixes - [#&#8203;1721](https://github.com/vuejs/eslint-plugin-vue/issues/1721) Fixed crash in [`vue/component-api-style` rule](https://eslint.vuejs.org/rules/component-api-style.html). *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1 ### [`v8.1.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.1.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0) #### ✨ Enhancements - [#&#8203;1707](https://github.com/vuejs/eslint-plugin-vue/issues/1707) Added [`vue/no-child-content` rule](https://eslint.vuejs.org/rules/no-child-content.html) that reports child content of elements that have a directive which overwrites that child content. - [#&#8203;1712](https://github.com/vuejs/eslint-plugin-vue/issues/1712) Added [`vue/no-expose-after-await` rule](https://eslint.vuejs.org/rules/no-expose-after-await.html) that reports the `expose()` after `await` expression. - [#&#8203;1703](https://github.com/vuejs/eslint-plugin-vue/issues/1703) Added `composition-vue2` style option in [`vue/component-api-style` rule](https://eslint.vuejs.org/rules/component-api-style.html). #### 🐛 Bug Fixes - [#&#8203;1713](https://github.com/vuejs/eslint-plugin-vue/issues/1713) Fixed false positives for type-only exports in [`vue/no-export-in-script-setup` rule](https://eslint.vuejs.org/rules/no-export-in-script-setup.html). - [#&#8203;1715](https://github.com/vuejs/eslint-plugin-vue/issues/1715) Fixed false negatives for `v-bind.sync` in [`vue/no-mutating-props` rule](https://eslint.vuejs.org/rules/no-mutating-props.html). - [#&#8203;1715](https://github.com/vuejs/eslint-plugin-vue/issues/1715) Fixed false positives for shadowed props in [`vue/no-mutating-props` rule](https://eslint.vuejs.org/rules/no-mutating-props.html). - [#&#8203;1718](https://github.com/vuejs/eslint-plugin-vue/issues/1718) Fixed memory leak. *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0 ### [`v8.0.3`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.0.3) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.2...v8.0.3) #### 🐛 Bug Fixes - [#&#8203;1691](https://github.com/vuejs/eslint-plugin-vue/issues/1691) Upgrade [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to use patch. It upgrade fixes the wrong location in multiple `<script>` *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.2...v8.0.3 ### [`v8.0.2`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.0.2) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2) #### 🐛 Bug Fixes - [#&#8203;1689](https://github.com/vuejs/eslint-plugin-vue/issues/1689) Fixed false positive for filename in [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html) *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2 ### [`v8.0.1`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.0.1) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1) #### 🐛 Bug Fixes - [#&#8203;1686](https://github.com/vuejs/eslint-plugin-vue/issues/1686) Fixed false positives for arrow return in [`vue/valid-next-tick` rule](https://eslint.vuejs.org/rules/valid-next-tick.html). *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1 ### [`v8.0.0`](https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.0.0) [Compare Source](https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0) #### 💥 Breaking Changes - [#&#8203;1588](https://github.com/vuejs/eslint-plugin-vue/issues/1588) Dropped supports Node.js v8-10, v13 and v15. - [#&#8203;1664](https://github.com/vuejs/eslint-plugin-vue/issues/1664) Upgraded [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) to v8.0.0. - Changed presets configs. - Changed `plugin:vue/vue3-essential` config. - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-deprecated-v-is` rule](https://eslint.vuejs.org/rules/no-deprecated-v-is.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-export-in-script-setup` rule](https://eslint.vuejs.org/rules/no-export-in-script-setup.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/valid-define-emits` rule](https://eslint.vuejs.org/rules/valid-define-emits.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/valid-define-props` rule](https://eslint.vuejs.org/rules/valid-define-props.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/valid-next-tick` rule](https://eslint.vuejs.org/rules/valid-next-tick.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/valid-v-memo` rule](https://eslint.vuejs.org/rules/valid-v-memo.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-useless-template-attributes` rule](https://eslint.vuejs.org/rules/no-useless-template-attributes.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-computed-properties-in-data` rule](https://eslint.vuejs.org/rules/no-computed-properties-in-data.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-deprecated-router-link-tag-prop` rule](https://eslint.vuejs.org/rules/no-deprecated-router-link-tag-prop.html). - [#&#8203;1678](https://github.com/vuejs/eslint-plugin-vue/issues/1678) Added [`vue/no-reserved-props` rule](https://eslint.vuejs.org/rules/no-reserved-props.html). - Changed `plugin:vue/vue3-strongly-recommended` config. - Same changes as above. - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/v-on-event-hyphenation` rule](https://eslint.vuejs.org/rules/v-on-event-hyphenation.html). - [#&#8203;1587](https://github.com/vuejs/eslint-plugin-vue/issues/1587) Added [`vue/first-attribute-linebreak` rule](https://eslint.vuejs.org/rules/first-attribute-linebreak.html). - Changed `plugin:vue/vue3-recommended` config. - Same changes as above. - Changed `plugin:vue/essential` config. - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/valid-next-tick` rule](https://eslint.vuejs.org/rules/valid-next-tick.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-useless-template-attributes` rule](https://eslint.vuejs.org/rules/no-useless-template-attributes.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/no-computed-properties-in-data` rule](https://eslint.vuejs.org/rules/no-computed-properties-in-data.html). - [#&#8203;1603](https://github.com/vuejs/eslint-plugin-vue/issues/1603) Added [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html). - [#&#8203;1678](https://github.com/vuejs/eslint-plugin-vue/issues/1678) Added [`vue/no-reserved-props` rule](https://eslint.vuejs.org/rules/no-reserved-props.html). - Changed `plugin:vue/strongly-recommended` config. - Same changes as above. - [#&#8203;1587](https://github.com/vuejs/eslint-plugin-vue/issues/1587) Added [`vue/first-attribute-linebreak` rule](https://eslint.vuejs.org/rules/first-attribute-linebreak.html). - Changed `plugin:vue/recommended` config. - Same changes as above. - [#&#8203;1587](https://github.com/vuejs/eslint-plugin-vue/issues/1587) Removed the `allowFirstLine` option of the [`vue/max-attributes-per-line` rule](https://eslint.vuejs.org/rules/max-attributes-per-line.html). #### ✨ Enhancements **Core:** - [#&#8203;1685](https://github.com/vuejs/eslint-plugin-vue/issues/1685) Added `setup-compiler-macros` environment. **Rules:** - [#&#8203;1587](https://github.com/vuejs/eslint-plugin-vue/issues/1587) Added [`vue/first-attribute-linebreak` rule](https://eslint.vuejs.org/rules/first-attribute-linebreak.html) aims to enforce a consistent location for the first attribute. - [#&#8203;1678](https://github.com/vuejs/eslint-plugin-vue/issues/1678) Added [`vue/no-reserved-props` rule](https://eslint.vuejs.org/rules/no-reserved-props.html) that disallow reserved names to be used in props. - [#&#8203;1680](https://github.com/vuejs/eslint-plugin-vue/issues/1680) Added [`vue/no-loss-of-precision` rule](https://eslint.vuejs.org/rules/no-loss-of-precision.html) that applies `no-loss-of-precision` rule to expressions in `<template>`. - [#&#8203;1681](https://github.com/vuejs/eslint-plugin-vue/issues/1681) Added `ignore` option to [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html). - [#&#8203;1679](https://github.com/vuejs/eslint-plugin-vue/issues/1679) Added support for Nuxt.js's `asyncData` in [`vue/no-dupe-keys`](https://eslint.vuejs.org/rules/no-dupe-keys.html), [`vue/no-reserved-keys`](https://eslint.vuejs.org/rules/no-reserved-keys.html), [`vue/no-template-shadow`](https://eslint.vuejs.org/rules/no-template-shadow.html), [`vue/no-undef-properties`](https://eslint.vuejs.org/rules/no-undef-properties.html), and [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rules. #### 🐛 Bug Fixes - [#&#8203;1684](https://github.com/vuejs/eslint-plugin-vue/issues/1684) Fixed false positives for non-vue file in [`vue/multi-word-component-names` rule](https://eslint.vuejs.org/rules/multi-word-component-names.html). *** **Full Changelog**: https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNSIsInVwZGF0ZWRJblZlciI6IjM3LjMwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-04-16 21:36:47 +02:00
Update dependency eslint-plugin-vue to v9
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is failing
9cb6c6d9ee
renovate-bot force-pushed renovate/eslint-plugin-vue-9.x from 9cb6c6d9ee to f53d47b639 2024-04-16 22:20:48 +02:00 Compare
renovate-bot force-pushed renovate/eslint-plugin-vue-9.x from f53d47b639 to 2068fece2c 2024-04-16 22:35:26 +02:00 Compare
renovate-bot force-pushed renovate/eslint-plugin-vue-9.x from 2068fece2c to 0ffe4a697e 2024-04-17 14:35:27 +02:00 Compare
Author
Collaborator

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @vue/eslint-config-standard@6.1.0
npm ERR! Found: eslint-plugin-vue@9.25.0
npm ERR! node_modules/eslint-plugin-vue
npm ERR!   dev eslint-plugin-vue@"9.25.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0
npm ERR! node_modules/@vue/eslint-config-standard
npm ERR!   dev @vue/eslint-config-standard@"6.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: eslint-plugin-vue@7.20.0
npm ERR! node_modules/eslint-plugin-vue
npm ERR!   peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0
npm ERR!   node_modules/@vue/eslint-config-standard
npm ERR!     dev @vue/eslint-config-standard@"6.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-23T17_36_11_217Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-23T17_36_11_217Z-debug-0.log

### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: package-lock.json ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue/eslint-config-standard@6.1.0 npm ERR! Found: eslint-plugin-vue@9.25.0 npm ERR! node_modules/eslint-plugin-vue npm ERR! dev eslint-plugin-vue@"9.25.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0 npm ERR! node_modules/@vue/eslint-config-standard npm ERR! dev @vue/eslint-config-standard@"6.1.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: eslint-plugin-vue@7.20.0 npm ERR! node_modules/eslint-plugin-vue npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0 npm ERR! node_modules/@vue/eslint-config-standard npm ERR! dev @vue/eslint-config-standard@"6.1.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-23T17_36_11_217Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-23T17_36_11_217Z-debug-0.log ```
renovate-bot force-pushed renovate/eslint-plugin-vue-9.x from 0ffe4a697e to 9063179cff 2024-04-23 17:20:40 +02:00 Compare
renovate-bot force-pushed renovate/eslint-plugin-vue-9.x from 9063179cff to 2962cdbe23 2024-04-23 19:36:15 +02:00 Compare
renovate-bot changed title from Update dependency eslint-plugin-vue to v9 to Update dependency eslint-plugin-vue to v9 - autoclosed 2024-04-23 22:35:04 +02:00
renovate-bot closed this pull request 2024-04-23 22:35:04 +02:00
Some checks failed
renovate/artifacts Artifact file update failure
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is failing
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wtf-eg/digitale-online-offline-registration#32
No description provided.