v7.0.0-alpha.4
Pre-release
Pre-release
·
946 commits
to master
since this release
💥 Breaking Changes
- Updated presets configs.
- Changed
plugin:vue/essentialconfig andplugin:vue/vue3-essentialconfig - Changed
plugin:vue/strongly-recommendedconfig andplugin:vue/vue3-strongly-recommendedconfig- Same changes as above.
- #1149 Added
vue/one-component-per-filerule
- Changed
plugin:vue/recommendedconfig andplugin:vue/vue3-recommendedconfig- Same changes as above.
- Changed
✨ Enhancements
Core:
- #1152 Changed casing conversion logic to behave like Vue core logic.
New Rules:
- #627 #1144 Added
vue/no-duplicate-attr-inheritancerule that warn to applyinheritAttrs: falsewhen it detectsv-bind="$attrs"being used. - #871 #1145 Added
vue/no-unused-propertiesrule that report unused properties. - #633 #1148 Added
vue/no-mutating-propsrule that reports mutation of component props. - #1140 Added
vue/comma-spacingrule that appliescomma-spacingrule to expressions in<template>. - #1141 Added
vue/prefer-templaterule that appliesprefer-templaterule to expressions in<template>. - #1142 Added
vue/template-curly-spacingrule that appliestemplate-curly-spacingrule to expressions in<template>. - #671 Added
vue/one-component-per-filerule that checks if there is only one component per file. - #1072 Added
vue/no-potential-property-typorule that disallow a potential typo in your component options. - #1155 Added
vue/no-arrow-functions-in-watchrule that disallow use an arrow function to define a watcher. - #1157 Added
vue/space-in-parensrule that appliesspace-in-parensrule to expressions in<template>. - #1159 Added
vue/comma-stylerule that appliescomma-stylerule to expressions in<template>. - #1158 Added
vue/no-extra-parensrule that appliesno-extra-parensrule to expressions in<template>.
Other changes in Rules:
- #1143 Changed
vue/no-deprecated-dollar-listeners-apiandvue/no-deprecated-events-apirules to track thethisvariable. - #1154 Changed
vue/no-side-effects-in-computed-propertiesrule to track thethisvariable. - #1160 Changed
vue/require-valid-default-proprule to track thereturnstatement in thefunctiondefined indefault. - #1160 Changed
vue/require-valid-default-proprule to checkBigInt. - #1160 Improved the location of reporting errors in
vue/require-valid-default-proprule.
🐛 Bug Fixes
- #1139 Fixed false positives for target instance is given, in
vue/no-lifecycle-after-awaitrule. - #1138 Fixed false positives for arrow function in
vue/return-in-emits-validatorrule. - #1146 Fixed false positives for member call and autofix error in
vue/v-on-function-callrule. - #1152 Fixed some casing issues.
- #1154 #1283 Fixed false positives for spread elements in
vue/no-side-effects-in-computedrule.
All commits: v7.0.0-alpha.3 -> v7.0.0-alpha.4