npm eslint-plugin-vue 7.0.0-alpha.10

latest releases: 9.30.0, 9.29.1, 9.29.0...
4 years ago

💥 Breaking Changes

  • Updated presets configs.
    • Changed plugin:vue/vue3-essential config
      • #1239 Added vue/no-dupe-v-else-if rule.
    • Changed plugin:vue/vue3-strongly-recommended config
      • Same changes as above.
    • Changed plugin:vue/vue3-recommended config
      • Same changes as above.
      • #1238 Added vue/no-lone-template rule.
    • Changed plugin:vue/essential config
      • #1239 Added vue/no-dupe-v-else-if rule.
    • Changed plugin:vue/strongly-recommended config
      • Same changes as above.
    • Changed plugin:vue/recommended config
      • Same changes as above.
      • #1238 Added vue/no-lone-template rule.
    • #1237 Removed jsx:true from shareable configs.

✨ Enhancements

New Rules:

  • #1238 Added vue/no-lone-template rule that disallow unnecessary <template> element.
  • #1239 Added vue/no-dupe-v-else-if rule that disallow duplicate conditions in v-if / v-else-if chains.
  • #1243 Added vue/no-sparse-arrays rule that applies no-sparse-arrays rule to expressions in <template>.

Other changes in Rules:

  • #1225 Changed vue/no-ref-as-operand to also check ref of @vue/composition-api.

🐛 Bug Fixes

  • #1242 Fixed vue/no-unused-properties, vue/require-valid-default-prop, vue/require-default-prop and vue/no-multiple-objects-in-class rules crash on sparse arrays.

⚙️ Updates

  • #1237 Removed jsx:true from shareable configs.

All commits: v7.0.0-alpha.9 -> v7.0.0-alpha.10

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

NewReleases is sending notifications on new releases.