npm eslint-plugin-vue 9.28.0
v9.28.0

latest releases: 9.30.0, 9.29.1, 9.29.0...
2 months ago

✨ Enhancements

New Rules

  • #2430 Added vue/max-props rule that enforce maximum number of props in Vue component.
  • #2494 Added vue/require-default-export rule that require components to be the default export.
  • #2525 Added vue/max-template-depth rule that enforce maximum depth of <template>.

New Features

  • #2501 Added option for custom macros to vue/define-macros-order rule.
  • #2537 Added additionalDirectives option to vue/require-toggle-inside-transition rule.

🐛 Bug Fixes

  • #2348 Fixed false positives/negatives for siblings in vue/v-if-else-key rule.
  • #2505 Fixed false positives for JavaScript components in vue/require-typed-object-prop rule.
  • #2533 Fixed auto-fix for vue/attribute-hyphenation rule to skip v-bind.sync.
  • #2529 Fixed auto-fix for vue/no-deprecated-slot-attribute rule to handle v-for with dynamic slot.
  • #2530 Fixed auto-fix for vue/no-deprecated-slot-attribute rule to skip dynamic components.
  • #2511 Fixed false negatives for v-model directive in vue/attribute-hyphenation rule.

⚙️ Updates

  • #2498 Renamed flat config name for inspector.

Full Changelog: v9.27.0...v9.28.0

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

NewReleases is sending notifications on new releases.