Skip to content

v7.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ota-meshi ota-meshi released this 14 Mar 09:28
· 856 commits to master since this release

💥 Breaking Changes

  • #1036 Updated presets configs.
    • Changed plugin:vue/essential config
      • Added vue/valid-v-bind-sync rule
      • Added vue/valid-v-slot rule
      • Added vue/no-custom-modifiers-on-v-model rule
      • Added vue/no-multiple-template-root rule
      • Added vue/no-v-model-argument rule
    • Changed plugin:vue/strongly-recommended config
      • Added vue/component-definition-name-casing rule
      • Added vue/v-slot-style rule
      • Removed vue/name-property-casing rule
    • Changed plugin:vue/recommended config
      • Added vue/component-tags-order rule
  • #1036 Changed vue/name-property-casing rule to be deprecate.
  • #1038 Changed to remove a single root element check from vue/valid-template-root rule.
  • #1039 Changed vue/valid-v-model rule to allow v-model argument. RFC0011
  • #1039 Changed vue/valid-v-model rule to allow v-model custom modifiers. RFC0011

✨ Enhancements

Core:

  • #1038, #1039, 1043, #1061, #1065, #1066, #1067 and #1073 Support for Vue.js 3.x.
  • #1073 Updated the rules of this plugin to detect Vue.js 3.x components.
  • #1064 Updated the rules of this plugin to be able to analyze the arrow function component options.

New Rulesets:

  • #1061 Added plugin:vue/vue3-essential config
  • #1061 Added plugin:vue/vue3-strongly-recommended config
  • #1061 Added plugin:vue/vue3-recommended config

New Rules:

  • #1038 Added vue/no-multiple-template-root rule to template to check for a single root element. This rule has been separated from the previous vue/valid-template-root.
  • #1039 Added vue/no-v-model-argument rule that does not allow argument to v-model.
  • #1039 Added vue/no-deprecated-v-bind-sync rule that reports when deprecated .sync modifier is used on v-bind directive. RFC0005
  • #1039 Added vue/no-custom-modifiers-on-v-model rule that reports when v-model is used with custom modifiers on Vue Component.
  • #1043 Added vue/no-deprecated-filter rule that reports usage of filters syntax removed in Vue.js 3.0.0+. RFC0015
  • #1065 Added vue/no-ref-as-operand rule that reports cases where a ref is used incorrectly as an operand. RFC0013
  • #1066 Added vue/no-setup-props-destructure rule that reports the destructuring of props passed to setup causing the value to lose reactivity. RFC0013
  • #1067 Added vue/no-lifecycle-after-await rule that reports the lifecycle hooks after await expression. RFC0013

New Options:

  • #1070 Added ignorePattern option to vue/no-unsed-vars rule to disables reporting of variable names that match the regular expression.

All commits: v6.2.2 -> v7.0.0-alpha.0