Skip to content

Releases: vuejs/eslint-plugin-vue

v6.1.2

30 Dec 17:34
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #1023 Fixed: list semver as dependencies

All commits: v6.1.1 -> v6.1.2

v6.1.1

27 Dec 09:29
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #1019 Fixed crashes in no-reserved-component-names, match-component-file-name and component-definition-name-casing rules

All commits: v6.1.0 -> v6.1.1

v6.1.0

27 Dec 06:28
Compare
Choose a tag to compare

✨ 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 on v-bind directives is valid.
  • #839 Added vue/no-deprecated-slot-attribute rule that disallows slot attribute.
  • #840 Added vue/no-deprecated-slot-scope-attribute rule that disallows slot-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 inline style 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

  • #1015 Fixed wrong indentation.
  • #1016 Fixed "ignores" option of html-indent does not work

All commits: v6.0.2 -> v6.1.0

v6.0.2

26 Dec 02:25
Compare
Choose a tag to compare

🐛 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

13 Nov 15:31
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #984 Fixed an issue where the message "requires a peer of eslint@^5.0.0" was reported when installing the eslint-plugin-vue.

v6.0.0

07 Nov 01:06
Compare
Choose a tag to compare

💥 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 of vue/order-in-components.
  • #895 #807 Upgrade to vue-eslint-parser@6.0.4

✨ Enhancements

Core:

  • #807 Support new syntax in Vue.js 2.6.
  • #979 Added support for ESLint 6.x.

New Rules:

  • #798 Added vue/no-empty-pattern rule applies no-empty-pattern rule to expressions in <template>.
  • #794 Added vue/dot-location rule applies dot-location rule to expressions in <template>.
  • #795 Added vue/keyword-spacing rule applies keyword-spacing rule to expressions in <template>.
  • #838 Added vue/no-deprecated-scope-attribute rule that reports deprecated scope attribute in Vue.js v2.5.0+.
  • #837 Added vue/valid-v-slot rule that checks whether every v-slot directive is valid.
  • #836 Added vue/v-slot-style rule that enforces v-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

24 Jun 12:22
v5.2.3
1064f10
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 082c03d fixed a crash bug on ESLint 6.0.0.

v5.2.2

18 Feb 11:44
v5.2.2
4ff3c8a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #821 fixed vue/no-boolean-default rule to not crash if the option is default-false and no default property.

v5.2.1

14 Feb 09:19
v5.2.1
1447bab
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #816 fixed vue/no-async-in-computed-properties to not crash on return statements that have no value.

v5.2.0

14 Feb 08:54
v5.2.0
04b3c38
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #481 added vue/v-on-function-call rule that enforces or forbids parentheses after method calls without arguments in v-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 applies eqeqeq rule to expressions in <template>.
  • #680 added vue/key-spacing rule that applies key-spacing rule to expressions in <template>.
  • #680 added vue/object-curly-spacing rule that applies object-curly-spacing rule to expressions in <template>.
  • #680 added vue/space-infix-ops rule that applies space-infix-ops rule to expressions in <template>.
  • #680 added vue/space-unary-ops rule that applies space-unary-ops rule to expressions in <template>.
  • #758 added vue/no-restricted-syntax rule that applies no-restricted-syntax rule to expressions in <template>.
  • #767 added vue/arrow-spacing rule that applies arrow-spacing rule to expressions in <template>.
  • #770 added vue/block-spacing rule that applies block-spacing rule to expressions in <template>.
  • #771 added vue/brace-style rule that applies brace-style rule to expressions in <template>.
  • #772 added vue/camelcase rule that applies camelcase rule to expressions in <template>.
  • #773 added vue/comma-dangle rule that applies comma-dangle rule to expressions in <template>.

New Options:

  • #714 added registeredComponentsOnly option to vue/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 and vue/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.
  • #790 fixed vue/no-unused-components rule to process computed properties properly.
  • #791 fixed vue/require-default-prop rule and vue/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