v7.0.0-alpha.7
Pre-release
Pre-release
·
887 commits
to master
since this release
💥 Breaking Changes
- Updated presets configs.
- Changed
plugin:vue/vue3-essentialconfig- #1211 Added
vue/no-deprecated-destroyed-lifecyclerule.
- #1211 Added
- Changed
plugin:vue/vue3-strongly-recommendedconfig- Same changes as above.
- Changed
plugin:vue/vue3-recommendedconfig- Same changes as above.
- Changed
- #1107 Changed the default order option for
vue/order-in-componentsrule. Add Nuxt and Vue Router properties.- Add options for Vue Router
- ROUTER_GUARDS (
beforeRouteEnter,beforeRouteUpdateandbeforeRouteLeave) to after["provide", "inject"].
- ROUTER_GUARDS (
- Add options for Nuxt
keyto aftername.layout,middleware,validate,scrollToTop,transition,loadingto after ROUTER_GUARDS (ROUTER_GUARDS was added after["provide", "inject"]).watchQueryto afterwatch.
- Change options for Nuxt
headmove from aftermethodsto afterdata.
- Add options for Vue Router
- #1214 Change the option name in the
vue/no-bare-strings-in-templaterule.
✨ Enhancements
New Rules:
- #1211 Added
vue/no-deprecated-destroyed-lifecyclerule reports use of deprecateddestroyedandbeforeDestroylifecycle hooks. - #1213 Added
vue/no-restricted-component-optionsrule that disallow specific component options. - #1218 Added
vue/no-multiple-objects-in-classrule disallows to pass multiple objects into array to class. - #1222 Added
vue/no-empty-component-blockrule disallows the<template><script><style>block to be empty.
Other changes in Rules:
- #1204 Added
ignoreIncludesCommentoption tovue/v-on-function-callrule. - #1017 Added supports for ES2020 syntaxes to
vue/html-indentandvue/script-indentrules. - #1212 Added
"v-model-argument"and"v-model-custom-modifiers"to the syntax checked by thevue/no-unsupported-featuresrule.
🐛 Bug Fixes
- #1204 Fixed wrong autofix in
vue/v-on-function-callrule. - #1208 Fixed false negatives for TemplateLiteral in
vue/prop-name-casingrule. - #1206 Fixed crash when
isattribute with no value invue/no-unused-componentsrule.
⚙️ Chores
- #1206 Added JSDoc type checking with TypeScript, and refactoring.
All commits: v7.0.0-alpha.6 -> v7.0.0-alpha.7