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: v7.20.0...v8.0.0