Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v6.1.2
v6.1.1
v6.1.0
✨ Enhancements
Core:
- #985 Upgrade vue-eslint-parser to 7.0.0
New Rules:
- #886 Added
vue/static-class-names-order
rule that enforce the order of static class names. - #945 Added
vue/require-name-property
rule that require a name property in Vue components. - #757 Added
vue/no-reserved-component-names
rule that disallow the use of reserved names in component definitions. - #763 Added
vue/component-tags-order
rule that enforce the order of component top-level elements. - #646 Added
vue/component-definition-name-casing
rule that enforce specific casing for component definition name. - #647 Added
vue/valid-v-bind-sync
rule that checks whether every.sync
modifier onv-bind
directives is valid. - #839 Added
vue/no-deprecated-slot-attribute
rule that disallowsslot
attribute. - #840 Added
vue/no-deprecated-slot-scope-attribute
rule that disallowsslot-scope
attribute. - #841 Added
vue/no-unsupported-features
rule that disallow unsupported Vue.js syntax on the specified version. - #843 Added
vue/no-static-inline-styles
rule that disallow static inlinestyle
attributes. - #959 Added
vue/max-len
rule that enforces a maximum line length. - #964 Added
vue/no-irregular-whitespace
rule that disallow irregular whitespace.
🐛 Bug Fixes
All commits: v6.0.2 -> v6.1.0
v6.0.2
🐛 Bug Fixes
- #962 Fixed false positives inside the ternary operator in
no-async-in-computed-properties
. - #963 Fixed an issue that caused an error when extra commas were included in
require-prop-type-constructor
. - #1009 Fixed an issue that code was broken by autofix of
require-prop-type-constructor
. - #1010 Fixed broken links in messages.
All commits: v6.0.1 -> v6.0.2
v6.0.1
v6.0.0
💥 Breaking Changes
- #979 Dropped support for Node.js 6.x, ESLint 5.x.
- #940 Dropped autofix of
vue/prop-name-casing
. - #823 Added
Nuxt
properties to the default order ofvue/order-in-components
. - #895 #807 Upgrade to
vue-eslint-parser
@6.0.4
✨ Enhancements
Core:
New Rules:
- #798 Added
vue/no-empty-pattern
rule appliesno-empty-pattern
rule to expressions in<template>
. - #794 Added
vue/dot-location
rule appliesdot-location
rule to expressions in<template>
. - #795 Added
vue/keyword-spacing
rule applieskeyword-spacing
rule to expressions in<template>
. - #838 Added
vue/no-deprecated-scope-attribute
rule that reports deprecatedscope
attribute in Vue.js v2.5.0+. - #837 Added
vue/valid-v-slot
rule that checks whether everyv-slot
directive is valid. - #836 Added
vue/v-slot-style
rule that enforcesv-slot
directive style which you should use shorthand or long form.
🐛 Bug Fixes
- #904 Fixed
vue/use-v-on-exact
to allows events with different key codes - #937 Fixed typo in
vue/valid-v-else
rule message
All commits: v5.2.3 -> v6.0.0
v5.2.3
v5.2.2
v5.2.1
v5.2.0
✨ Enhancements
New Rules:
- #481 added
vue/v-on-function-call
rule that enforces or forbids parentheses after method calls without arguments inv-on
directives. - #581 added
vue/require-direct-export
rule that enforces the component to be directly exported. - #612 added
vue/no-boolean-default
rule that disallows the default value of boolean properties. - #668 added
vue/match-component-file-name
rule that verifies component name property to match its file name. - #680 added
vue/array-bracket-spacing
rule that enforces consistent spacing inside array brackets in<template>
. - #680 added
vue/eqeqeq
rule that applieseqeqeq
rule to expressions in<template>
. - #680 added
vue/key-spacing
rule that applieskey-spacing
rule to expressions in<template>
. - #680 added
vue/object-curly-spacing
rule that appliesobject-curly-spacing
rule to expressions in<template>
. - #680 added
vue/space-infix-ops
rule that appliesspace-infix-ops
rule to expressions in<template>
. - #680 added
vue/space-unary-ops
rule that appliesspace-unary-ops
rule to expressions in<template>
. - #758 added
vue/no-restricted-syntax
rule that appliesno-restricted-syntax
rule to expressions in<template>
. - #767 added
vue/arrow-spacing
rule that appliesarrow-spacing
rule to expressions in<template>
. - #770 added
vue/block-spacing
rule that appliesblock-spacing
rule to expressions in<template>
. - #771 added
vue/brace-style
rule that appliesbrace-style
rule to expressions in<template>
. - #772 added
vue/camelcase
rule that appliescamelcase
rule to expressions in<template>
. - #773 added
vue/comma-dangle
rule that appliescomma-dangle
rule to expressions in<template>
.
New Options:
- #714 added
registeredComponentsOnly
option tovue/component-name-in-template-casing
rule to ignore unknown elements.
Other changes in Rules:
- #786 modified
vue/order-in-components
rule to recognize Nuxt-specific members.
🐛 Bug Fixes
- #738 fixed
vue/multiline-html-element-content-newline
rule andvue/singleline-html-element-content-newline
rule to ignore inline elements by default. - #745 fixed
vue/no-async-in-computed-properties
rule to allow await expression in nested scopes. - #750 fixed
vue/use-v-on-exact
rule about false positives. - #754 fixed multiple bugs via updating
vue-eslint-parser
.- it fixed the parser to parse anonymous functions in
v-on
directive correctly. - it fixed the parser to parse multiple parameters in
slot-scope
attribute correctly. - it fixed the parser to not parse expressions in the elements which have
v-pre
directive.
- it fixed the parser to parse anonymous functions in
- #790 fixed
vue/no-unused-components
rule to process computed properties properly. - #791 fixed
vue/require-default-prop
rule andvue/require-valid-default-prop
rule to process computed properties properly. - #793 fixed
vue/no-unused-components
rule to process empty:is
directives properly.
All commits: v5.1.0...v5.2.0