yarn eslint-plugin-vue 7.0.0-alpha.3

latest releases: 10.0.0, 9.33.0, 9.32.0...
4 years ago

💥 Breaking Changes

  • Updated presets configs.
    • Changed plugin:vue/vue3-essential config.
    • Changed plugin:vue/vue3-strongly-recommended config.
    • Changed plugin:vue/vue3-recommended config.
      • #1129 Added vue/return-in-emits-validator rule.
      • #1130 Added vue/no-deprecated-v-on-native-modifier rule.
      • #1133 Added vue/no-deprecated-dollar-listeners-api rule.
  • #1120 Added the support of descriptions in directive comments.
  • #1120 Added the support for block-level directive comments.

✨ Enhancements

Core:

  • #1120 Added the support of descriptions in directive HTML comments.
  • #1120 Added the support for block-level directive HTML comments.

New Rules:

  • #1114 Added vue/no-unregistered-components rule that disallow using components that are not registered inside templates.
  • #1124 Added vue/require-explicit-emits rule that reports event triggers not declared with the emits option. RFC0030
  • #1129 Added vue/return-in-emits-validator rule enforces that a return statement is present in emits validators. RFC0030
  • #1130 Added vue/no-deprecated-v-on-native-modifier rule that reports use of deprecated .native modifier on v-on directive. RFC0031
  • #1133 Added vue/no-deprecated-dollar-listeners-api rule that reports use of deprecated $listeners. RFC0031
  • #755 Added vue/html-comment-indent rule that enforce consistent indentation in HTML comments.
  • #755 Added vue/html-comment-content-newline rule that enforce unified line brake in HTML comments.
  • #755 Added vue/html-comment-content-spacing rule that enforce unified spacing in HTML comments.

🐛 Bug Fixes

  • #1125 Fixed wrong autofix in vue/no-deprecated-v-on-number-modifiers rule.

All commits: v7.0.0-alpha.2 -> v7.0.0-alpha.3

Don't miss a new eslint-plugin-vue release

NewReleases is sending notifications on new releases.