github vuejs/eslint-plugin-vue v7.5.0

✨ Enhancements

New Rules:

  • #1401 Added vue/no-constant-condition rule applies no-constant-condition rule to expressions in <template>, v-if, v-show and v-else-if.
  • #1400 Added vue/next-tick-style rule that enforces whether the callback version or Promise version should be used in Vue.nextTick and this.$nextTick.
  • #1404 Added vue/valid-next-tick rule that enforce valid nextTick function calls.

Other changes in Rules:

  • #1396 Make vue/no-ref-as-operand rule fixable.

🐛 Bug Fixes

  • #1398 Added computed() support to vue/no-async-in-computed-properties rule.
  • #1406 Added computed() support to vue/return-in-computed-property rule.
  • #1407 Added computed() support to vue/no-side-effects-in-computed-properties rule.
  • #1419 Fixed false positives for mixin() in vue/one-component-per-file and vue/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

  • #1392 Refactor vue/attributes-order rule.
  • #1405 Refactor vue/no-async-in-computed-properties rule.

All commits: v7.4.1 -> v7.5.0

latest releases: v7.11.1, v7.11.0, v7.10.0...
4 months ago