Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v7.8.0
v7.7.0
✨ Enhancements
Changes in Rules:
- #1444 Added
ignorePublicMembersoption tovue/no-unused-propertiesrule.
🐛 Bug Fixes
- #1446 Fixed false negatives for member access with
$invue/this-in-templaterule.
⚙️ Updates
- #1448 Upgrade
vue-eslint-parserto v7.6.0.
This makes the parser to case sensitive to the name used to determine the element when the file is SFC.
All commits: v7.6.0 -> v7.7.0
v7.6.0
✨ Enhancements
New Rules:
Other changes in Rules:
- #1429 Added
"SLOT"option tovue/attributes-orderrule to specifyv-slotorder. - #1430 Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
vue/attributes-orderrule.vue/component-tags-orderrule.vue/max-attributes-per-linerule.vue/new-line-between-multi-line-propertyrule.vue/no-bare-strings-in-templaterule.vue/no-duplicate-attributesrule.vue/no-potential-component-option-typorule.vue/no-reserved-component-namesrule.vue/no-use-v-if-with-v-forrule.vue/no-useless-mustachesrule.vue/no-useless-v-bindrule.vue/valid-v-slotrule.
- #1436 Improved autofix of
vue/no-deprecated-slot-attributerule when slot name contains_.
🐛 Bug Fixes
- #1434 Fixed false negatives for
v-bind="object"invue/attributes-orderrule.
⚙️ Updates
- #1440 Upgrade
vue-eslint-parserto v7.5.0.
This change fixes an issue that caused a crash when using some queries withvue/no-restricted-syntaxrule.
All commits: v7.5.0 -> v7.6.0
v7.5.0
✨ Enhancements
New Rules:
- #1401 Added
vue/no-constant-conditionrule appliesno-constant-conditionrule to expressions in<template>,v-if,v-showandv-else-if. - #1400 Added
vue/next-tick-stylerule that enforces whether the callback version or Promise version should be used inVue.nextTickandthis.$nextTick. - #1404 Added
vue/valid-next-tickrule that enforce validnextTickfunction calls.
Other changes in Rules:
- #1396 Make
vue/no-ref-as-operandrule fixable.
🐛 Bug Fixes
- #1398 Added
computed()support tovue/no-async-in-computed-propertiesrule. - #1406 Added
computed()support tovue/return-in-computed-propertyrule. - #1407 Added
computed()support tovue/no-side-effects-in-computed-propertiesrule. - #1419 Fixed false positives for mixin() in
vue/one-component-per-fileandvue/require-name-propertyrules. - #1421 Fixed crash for toLocaleString() in
vue/no-unused-propertiesrule. - #1420 Fixed false positives for quoted 'emits' in vue/require-explicit-emits rule.
⚙️ Updates
- #1422 Upgrade vue-eslint-parser to 7.4.1
⚙️ Chores
All commits: v7.4.1 -> v7.5.0
v7.4.1
v7.4.0
✨ Enhancements
New Rules:
- #1381 Added
vue/no-restricted-call-after-awaitrule that reports your restricted calls after theawaitexpression. - #1388 Added
vue/v-on-event-hyphenationrule that enforces using hyphenated v-on event names on custom components in Vue templates. - #1389 Added
vue/no-restricted-blockrule that allows you to specify block names that you don't want to use in your application.
Other changes in Rules:
- #1387 Added
deepDataoption tovue/no-unused-propertiesrule.
🐛 Bug Fixes
- #1382 Fixed multiple reporting of same warnings in
vue/no-unregistered-componentrule. - #1391 Fixed false positives for
v-bind="object"syntax invue/attributes-orderrule.
All commits: v7.3.0 -> v7.4.0
v7.3.0
✨ Enhancements
- #1080 Added
vue/new-line-between-multiline-propertyrule that enforces new lines between multi-line properties. - #1376 Added
vue/no-restricted-propsrule that disallows prop names that you don't want to use. - #1377 Added
vue/no-restricted-custom-eventrule that disallows custom event names that you don't want to use.
⚙️ Updates
- #1375 Upgraded vue-eslint-parser to 7.3.0
All commits: v7.2.0 -> v7.3.0
v7.2.0
✨ Enhancements
- #1364 Added casing option to
vue/custom-event-name-casingrule.
⚙️ Updates
- #1365 Upgraded vue-eslint-parser to 7.2.0
- #1364 Removed
vue/custom-event-name-casingrule from"plugin:vue/essential"and"plugin:vue/vue3-essential"configurations
🐛 Bug Fixes
- #1335 Fixed false positives when using
isattr invue/valid-v-bind-syncrule. - #1366 Fixed false positives when using v-for variable for v-slot in
vue/valid-v-slotrule - #1367 Fixed false positives when using in
vue/valid-v-slotandvue/valid-v-modelrule - #1368 Fixed false negatives when using handler property in
vue/no-arrow-functions-in-watchrule - #1369 Fixed false positives for methods whose arguments should not be changed in
vue/v-on-function-callrule.
All commits: v7.1.0 -> v7.2.0
v7.1.0
✨ Enhancements
New Rules:
- #1328 Added
vue/block-tag-newlinerule that enforces a line break (or no line break) after opening and before closing block tags. - #1326 Added
vue/array-bracket-newlinerule appliesarray-bracket-newlinerule to expressions in<template>.
Other changes in Rules:
- #1321 Added
ignoresoption tovue/custom-event-name-casingrule. - #1330 Added
allowModifiersoption tovue/valid-v-slotrule.
🐛 Bug Fixes
- #1332 Fixed CRLF issues.
- #1305 Fixed false positives for recursive components in
vue/no-unregistered-componentsrule. - #1324 Fixed false positives when used via argument in
vue/no-unused-properties
⚙️ Updates
- #1322 Changed not to use ESLint internal modules.
⚙️ Chores
All commits: v7.0.1 -> v7.1.0