Skip to content

vue/no-duplicate-class-names

disallow duplication of class names in class attributes

  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule prevents the same class name from appearing multiple times within the same class attribute or directive.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-vue v10.6.0

🔍 Implementation