Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v7.8.0
v7.7.0
✨ Enhancements
Changes in Rules:
- #1444 Added
ignorePublicMembers
option tovue/no-unused-properties
rule.
🐛 Bug Fixes
- #1446 Fixed false negatives for member access with
$
invue/this-in-template
rule.
⚙️ Updates
- #1448 Upgrade
vue-eslint-parser
to 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-order
rule to specifyv-slot
order. - #1430 Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
vue/attributes-order
rule.vue/component-tags-order
rule.vue/max-attributes-per-line
rule.vue/new-line-between-multi-line-property
rule.vue/no-bare-strings-in-template
rule.vue/no-duplicate-attributes
rule.vue/no-potential-component-option-typo
rule.vue/no-reserved-component-names
rule.vue/no-use-v-if-with-v-for
rule.vue/no-useless-mustaches
rule.vue/no-useless-v-bind
rule.vue/valid-v-slot
rule.
- #1436 Improved autofix of
vue/no-deprecated-slot-attribute
rule when slot name contains_
.
🐛 Bug Fixes
- #1434 Fixed false negatives for
v-bind="object"
invue/attributes-order
rule.
⚙️ Updates
- #1440 Upgrade
vue-eslint-parser
to v7.5.0.
This change fixes an issue that caused a crash when using some queries withvue/no-restricted-syntax
rule.
All commits: v7.5.0 -> v7.6.0
v7.5.0
✨ Enhancements
New Rules:
- #1401 Added
vue/no-constant-condition
rule appliesno-constant-condition
rule to expressions in<template>
,v-if
,v-show
andv-else-if
. - #1400 Added
vue/next-tick-style
rule that enforces whether the callback version or Promise version should be used inVue.nextTick
andthis.$nextTick
. - #1404 Added
vue/valid-next-tick
rule that enforce validnextTick
function calls.
Other changes in Rules:
- #1396 Make
vue/no-ref-as-operand
rule fixable.
🐛 Bug Fixes
- #1398 Added
computed()
support tovue/no-async-in-computed-properties
rule. - #1406 Added
computed()
support tovue/return-in-computed-property
rule. - #1407 Added
computed()
support tovue/no-side-effects-in-computed-properties
rule. - #1419 Fixed false positives for mixin() in
vue/one-component-per-file
andvue/require-name-property
rules. - #1421 Fixed crash for toLocaleString() in
vue/no-unused-properties
rule. - #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-await
rule that reports your restricted calls after theawait
expression. - #1388 Added
vue/v-on-event-hyphenation
rule that enforces using hyphenated v-on event names on custom components in Vue templates. - #1389 Added
vue/no-restricted-block
rule that allows you to specify block names that you don't want to use in your application.
Other changes in Rules:
- #1387 Added
deepData
option tovue/no-unused-properties
rule.
🐛 Bug Fixes
- #1382 Fixed multiple reporting of same warnings in
vue/no-unregistered-component
rule. - #1391 Fixed false positives for
v-bind="object"
syntax invue/attributes-order
rule.
All commits: v7.3.0 -> v7.4.0
v7.3.0
✨ Enhancements
- #1080 Added
vue/new-line-between-multiline-property
rule that enforces new lines between multi-line properties. - #1376 Added
vue/no-restricted-props
rule that disallows prop names that you don't want to use. - #1377 Added
vue/no-restricted-custom-event
rule 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-casing
rule.
⚙️ Updates
- #1365 Upgraded vue-eslint-parser to 7.2.0
- #1364 Removed
vue/custom-event-name-casing
rule from"plugin:vue/essential"
and"plugin:vue/vue3-essential"
configurations
🐛 Bug Fixes
- #1335 Fixed false positives when using
is
attr invue/valid-v-bind-sync
rule. - #1366 Fixed false positives when using v-for variable for v-slot in
vue/valid-v-slot
rule - #1367 Fixed false positives when using in
vue/valid-v-slot
andvue/valid-v-model
rule - #1368 Fixed false negatives when using handler property in
vue/no-arrow-functions-in-watch
rule - #1369 Fixed false positives for methods whose arguments should not be changed in
vue/v-on-function-call
rule.
All commits: v7.1.0 -> v7.2.0
v7.1.0
✨ Enhancements
New Rules:
- #1328 Added
vue/block-tag-newline
rule that enforces a line break (or no line break) after opening and before closing block tags. - #1326 Added
vue/array-bracket-newline
rule appliesarray-bracket-newline
rule to expressions in<template>
.
Other changes in Rules:
- #1321 Added
ignores
option tovue/custom-event-name-casing
rule. - #1330 Added
allowModifiers
option tovue/valid-v-slot
rule.
🐛 Bug Fixes
- #1332 Fixed CRLF issues.
- #1305 Fixed false positives for recursive components in
vue/no-unregistered-components
rule. - #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