Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
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-orderrule that enforce the order of static class names. - #945 Added
vue/require-name-propertyrule that require a name property in Vue components. - #757 Added
vue/no-reserved-component-namesrule that disallow the use of reserved names in component definitions. - #763 Added
vue/component-tags-orderrule that enforce the order of component top-level elements. - #646 Added
vue/component-definition-name-casingrule that enforce specific casing for component definition name. - #647 Added
vue/valid-v-bind-syncrule that checks whether every.syncmodifier onv-binddirectives is valid. - #839 Added
vue/no-deprecated-slot-attributerule that disallowsslotattribute. - #840 Added
vue/no-deprecated-slot-scope-attributerule that disallowsslot-scopeattribute. - #841 Added
vue/no-unsupported-featuresrule that disallow unsupported Vue.js syntax on the specified version. - #843 Added
vue/no-static-inline-stylesrule that disallow static inlinestyleattributes. - #959 Added
vue/max-lenrule that enforces a maximum line length. - #964 Added
vue/no-irregular-whitespacerule 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
Nuxtproperties 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-patternrule appliesno-empty-patternrule to expressions in<template>. - #794 Added
vue/dot-locationrule appliesdot-locationrule to expressions in<template>. - #795 Added
vue/keyword-spacingrule applieskeyword-spacingrule to expressions in<template>. - #838 Added
vue/no-deprecated-scope-attributerule that reports deprecatedscopeattribute in Vue.js v2.5.0+. - #837 Added
vue/valid-v-slotrule that checks whether everyv-slotdirective is valid. - #836 Added
vue/v-slot-stylerule that enforcesv-slotdirective style which you should use shorthand or long form.
🐛 Bug Fixes
- #904 Fixed
vue/use-v-on-exactto allows events with different key codes - #937 Fixed typo in
vue/valid-v-elserule 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-callrule that enforces or forbids parentheses after method calls without arguments inv-ondirectives. - #581 added
vue/require-direct-exportrule that enforces the component to be directly exported. - #612 added
vue/no-boolean-defaultrule that disallows the default value of boolean properties. - #668 added
vue/match-component-file-namerule that verifies component name property to match its file name. - #680 added
vue/array-bracket-spacingrule that enforces consistent spacing inside array brackets in<template>. - #680 added
vue/eqeqeqrule that applieseqeqeqrule to expressions in<template>. - #680 added
vue/key-spacingrule that applieskey-spacingrule to expressions in<template>. - #680 added
vue/object-curly-spacingrule that appliesobject-curly-spacingrule to expressions in<template>. - #680 added
vue/space-infix-opsrule that appliesspace-infix-opsrule to expressions in<template>. - #680 added
vue/space-unary-opsrule that appliesspace-unary-opsrule to expressions in<template>. - #758 added
vue/no-restricted-syntaxrule that appliesno-restricted-syntaxrule to expressions in<template>. - #767 added
vue/arrow-spacingrule that appliesarrow-spacingrule to expressions in<template>. - #770 added
vue/block-spacingrule that appliesblock-spacingrule to expressions in<template>. - #771 added
vue/brace-stylerule that appliesbrace-stylerule to expressions in<template>. - #772 added
vue/camelcaserule that appliescamelcaserule to expressions in<template>. - #773 added
vue/comma-danglerule that appliescomma-danglerule to expressions in<template>.
New Options:
- #714 added
registeredComponentsOnlyoption tovue/component-name-in-template-casingrule to ignore unknown elements.
Other changes in Rules:
- #786 modified
vue/order-in-componentsrule to recognize Nuxt-specific members.
🐛 Bug Fixes
- #738 fixed
vue/multiline-html-element-content-newlinerule andvue/singleline-html-element-content-newlinerule to ignore inline elements by default. - #745 fixed
vue/no-async-in-computed-propertiesrule to allow await expression in nested scopes. - #750 fixed
vue/use-v-on-exactrule about false positives. - #754 fixed multiple bugs via updating
vue-eslint-parser.- it fixed the parser to parse anonymous functions in
v-ondirective correctly. - it fixed the parser to parse multiple parameters in
slot-scopeattribute correctly. - it fixed the parser to not parse expressions in the elements which have
v-predirective.
- it fixed the parser to parse anonymous functions in
- #790 fixed
vue/no-unused-componentsrule to process computed properties properly. - #791 fixed
vue/require-default-proprule andvue/require-valid-default-proprule to process computed properties properly. - #793 fixed
vue/no-unused-componentsrule to process empty:isdirectives properly.
All commits: v5.1.0...v5.2.0
v5.1.0
🐛 Bug Fixes
- #703 removed
vue/component-name-in-template-casingrule fromvue/strongly-recommendedpreset. - #718 fixed a wrong behavior in
vue/order-in-componentsrule, on Node.js 11. - #730 fixed false positives in
vue/html-indentrule.
All commits: v5.0.0...v5.1.0