@mysticatea mysticatea released this Feb 18, 2019

🐛 Bug Fixes

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

@mysticatea mysticatea released this Feb 14, 2019 · 2 commits to master since this release

🐛 Bug Fixes

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

@mysticatea mysticatea released this Feb 14, 2019 · 4 commits to master since this release

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

Assets 2

@mysticatea mysticatea released this Feb 14, 2019 · 37 commits to master since this release

🐛 Bug Fixes

  • #703 removed vue/component-name-in-template-casing rule from vue/strongly-recommended preset.
  • #718 fixed a wrong behavior in vue/order-in-components rule, on Node.js 11.
  • #730 fixed false positives in vue/html-indent rule.

All commits: v5.0.0...v5.1.0

Assets 2

@mysticatea mysticatea released this Feb 14, 2019 · 50 commits to master since this release

💥 Breaking Changes

  • #421 changed the order options of vue/attribute-order rule. "BINDING" was removed and "TWO_WAY_BINDING" and "OTHER_DIRECTIVES" were added.
  • #532 dropped support for Node.js 4.x, ESLint 3.x and 4.x.
  • #533, #651, #654, and #695 updated recommended presets.
  • #539 changed the default behavior of vue/html-closing-bracket-newline rule.

Enhancements

Core:

  • #532 added support for ESLint 5.x.
  • #532 added support for slot-scope attribute.
  • #673 added support for new --fix-type option of ESLint.

New Rules:

  • #158 added vue/no-template-shadow rule.
  • #397 added vue/component-name-in-template-casing rule.
  • #542 added vue/no-spaces-around-equal-signs-in-attribute rule.
  • #545 added vue/no-unused-components rule.
  • #546 added vue/require-prop-type-constructor rule.
  • #551 added vue/multiline-html-element-content-newline rule.
  • #552 added vue/singleline-html-element-content-newline rule.
  • #602 added vue/use-v-on-exact rule.

New Options:

  • #471 enhanced the order option of vue/attribute-order rule to allow multiple categories on the same order.
  • #558 added ignoreWhenBindingPresent option to vue/no-unused-components rule to prevent false positive by dynamic bindings.
  • #579 added modifiers option to vue/valid-v-on rule to support custom modifiers.
  • #591 added ignoreProperties option to vue/no-multi-spaces rule to use vertical alignment style.
  • #678 added baseIndent option to vue/html-indent rule.

Other changes in Rules:

  • #544 changed vue/script-indent rule to not work on other than .vue files.
  • #642 improved the error message of vue/valid-v-on rule.
  • #643 improved the error message of vue/max-attributes-per-line rule.

🐛 Bug Fixes

  • #503 fixed vue/script-indent rule to make correct indentations.
  • #532 fixed several bugs:
    • fixed v-on directive without that argument to be parsed correctly.
    • fixed mustaches to allow empty content. (fixes #398)
    • fixed the list of tag names to be according to the spec. (fixes #423)
  • #529 fixed vue/require-default-prop rule to ignore boolean properties.
  • #555 fixed an autofix bug in the confliction of vue/html-self-closing and vue/component-name-in-template-casing.
  • #569 fixed an autofix bug in vue/order-in-components rule.
  • #613 fixed bugs with TypeScript in multiple rules.
  • #632 fixed bugs in multiple rules.
  • #638 fixed false positives in vue/valid-v-model rule.
  • #649 fixed wrong error message in vue/valid-v-model rule.
  • #655 fixed bugs in vue/require-render-return rule and vue/return-in-computed-property rule.
  • #659 fixed bugs about <pre> elements in vue/html-indent rule.
  • #675 fixed bugs about flatten ternary expressions in vue/script-indent rule.
  • #676 fixed bugs about comment indentations in vue/html-indent rule.
  • #681 fixed bugs about <textarea> elements in vue/html-indent rule.
  • #692 fixed bugs about filters syntax.

All commits: v4.7.1...v5.0.0

Assets 2
Pre-release

@michalsnik michalsnik released this Dec 3, 2018 · 52 commits to master since this release

Diff: v5.0.0-beta.5 -> v5.0.0-beta.6

🐛 Bug fixes

  • 0e51839 #675 Fix indentation for Conditional Types (e.g. ternary operator)
  • 78bd936 #659 Ignore preformatted tokens in vue/html-indent
  • 925190f #676 Improve comment indentation
  • 6ef20aa #681 Don't indent contents of <textarea> elements

⭐️ Enhancements

  • 147c765 #678 Add baseIndent option to vue/html-indent
  • bd995fd #684 Add ignoreWhenEmpty option to vue/[single|multiline]-element-content-newline

⚙️ Chores / Updates

Assets 2
Pre-release

@armano2 armano2 released this Dec 3, 2018 · 68 commits to master since this release

Diff: v5.0.0-beta.4 -> v5.0.0-beta.5

🐛 Bug fixes

⚙️ Chores / Updates

Assets 2
Pre-release

@armano2 armano2 released this Nov 18, 2018 · 81 commits to master since this release

Diff: v5.0.0-beta.3 -> v5.0.0-beta.4

⭐️ Features

🐛 Bug fixes

⚙️ Chores / Updates

Assets 2
Pre-release

@michalsnik michalsnik released this Aug 4, 2018 · 125 commits to master since this release

Diff: v5.0.0-beta.1 -> v5.0.0-beta.2

⭐️ Features

⚙️ Chores / Updates

  • 1c410d8 #544 ❗️Ignore indent rules on files other than .vue (built in indent rules are not recommended to be used on other files than .vue, native eslint rule should be used instead)
  • 6a117c2 #539 Change default settings in vue/html-closing-bracket-newline
  • 766b637 #529 Ignore Boolean props in vue/require-default-prop rule
  • 8d20409 Update vue/no-use-v-if-v-for category to essential
  • 74f7dc6 Update Readme & Configs
Assets 2