Update dependency eslint-plugin-vue to v8 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-vue (source) | devDependencies | major | 7.20.0 -> 8.4.0 |
Release Notes
vuejs/eslint-plugin-vue
v8.4.0
✨ Enhancements
-
#1760 Added
vue/no-v-text-v-html-on-component
rule that disallows the use ofv-text
/v-html
on component. -
#1762 Added
vue/object-shorthand
rule that appliesobject-shorthand
rule to expressions in<template>
. -
#1763 Added
vue/no-undef-components
rule that warns reports component that are used in the<template>
, but that are not defined in the<script setup>
or the Options API'scomponents
section. -
#1769 Added
vue/quote-props
rule that appliesquote-props
rule to expressions in<template>
. -
#1761 Added support for Vue2 functional component to
vue/no-unused-properties
rule. -
#1761 Added support for Vue2 functional component to
vue/no-undef-properties
rule.
🐛 Bug Fixes
-
#1770 Fixed false positives for import brace in
vue/script-indent
rule. -
#1771 Fixed false positives for
v-bind="obj"
withv-model
invue/attributes-order
rule. -
#1775 Fixed false positives for CSS
v-bind()
invue/no-extra-parens
rule. -
#1777 Skip conditional expressions in
vue/valid-next-tick
rule.
⚙ ️ Updates
-
#1763 Deprecated
vue/no-unregistered-components
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.3.0...v8.4.0
v8.3.0
🐛 Bug Fixes
-
#1755 Fix crash on
<textarea>
without end tag invue/html-indent
rule. -
#1756 Fix false positive for unknown emits definition in
vue/require-explicit-emits
rule.
⚙ ️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.0
v8.2.0
✨ Enhancements
-
#1725 Added
vue/component-options-name-casing
rule that enforces the casing of component name incomponents
options. -
#1729 Added
vue/prefer-separate-static-class
rule that requires static class names in template to be in a separateclass
attribute.
🐛 Bug Fixes
-
#1736 Fixed false positives for import binding in
vue/valid-define-emits
andvue/valid-define-props
rules.
⚙ Updates
-
#1719 Added support for TypeScript 4.5 to
vue/script-indent
rule. -
#1735 Changed to allow
asyncData
invue/no-dupe-keys
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0
v8.1.1
🐛 Bug Fixes
-
#1721 Fixed crash in
vue/component-api-style
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1
v8.1.0
✨ Enhancements
-
#1707 Added
vue/no-child-content
rule that reports child content of elements that have a directive which overwrites that child content. -
#1712 Added
vue/no-expose-after-await
rule that reports theexpose()
afterawait
expression. -
#1703 Added
composition-vue2
style option invue/component-api-style
rule.
🐛 Bug Fixes
-
#1713 Fixed false positives for type-only exports in
vue/no-export-in-script-setup
rule. -
#1715 Fixed false negatives for
v-bind.sync
invue/no-mutating-props
rule. -
#1715 Fixed false positives for shadowed props in
vue/no-mutating-props
rule. - #1718 Fixed memory leak.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0
v8.0.3
🐛 Bug Fixes
-
#1691 Upgrade 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
🐛 Bug Fixes
-
#1689 Fixed false positive for filename in
vue/multi-word-component-names
rule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2
v8.0.1
🐛 Bug Fixes
-
#1686 Fixed false positives for arrow return in
vue/valid-next-tick
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1
v8.0.0
💥 Breaking Changes
- #1588 Dropped supports Node.js v8-10, v13 and v15.
- #1664 Upgraded vue-eslint-parser to v8.0.0.
- Changed presets configs.
- Changed
plugin:vue/vue3-essential
config.-
#1603 Added
vue/no-deprecated-v-is
rule. -
#1603 Added
vue/no-export-in-script-setup
rule. -
#1603 Added
vue/valid-define-emits
rule. -
#1603 Added
vue/valid-define-props
rule. -
#1603 Added
vue/valid-next-tick
rule. -
#1603 Added
vue/valid-v-memo
rule. -
#1603 Added
vue/no-useless-template-attributes
rule. -
#1603 Added
vue/no-computed-properties-in-data
rule. -
#1603 Added
vue/multi-word-component-names
rule. -
#1603 Added
vue/no-deprecated-router-link-tag-prop
rule. -
#1678 Added
vue/no-reserved-props
rule.
-
#1603 Added
- Changed
plugin:vue/vue3-strongly-recommended
config.- Same changes as above.
-
#1603 Added
vue/v-on-event-hyphenation
rule. -
#1587 Added
vue/first-attribute-linebreak
rule.
- Changed
plugin:vue/vue3-recommended
config.- Same changes as above.
- Changed
plugin:vue/essential
config. - Changed
plugin:vue/strongly-recommended
config.- Same changes as above.
-
#1587 Added
vue/first-attribute-linebreak
rule.
- Changed
plugin:vue/recommended
config.- Same changes as above.
- Changed
-
#1587 Removed the
allowFirstLine
option of thevue/max-attributes-per-line
rule.
✨ Enhancements
Core:
-
#1685 Added
setup-compiler-macros
environment.
Rules:
-
#1587 Added
vue/first-attribute-linebreak
rule aims to enforce a consistent location for the first attribute. -
#1678 Added
vue/no-reserved-props
rule that disallow reserved names to be used in props. -
#1680 Added
vue/no-loss-of-precision
rule that appliesno-loss-of-precision
rule to expressions in<template>
. -
#1681 Added
ignore
option tovue/multi-word-component-names
rule. -
#1679 Added support for Nuxt.js's
asyncData
invue/no-dupe-keys
,vue/no-reserved-keys
,vue/no-template-shadow
,vue/no-undef-properties
, andvue/no-unused-properties
rules.
🐛 Bug Fixes
-
#1684 Fixed false positives for non-vue file in
vue/multi-word-component-names
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.