Skip to content

vue/prefer-separate-static-class

require static class names in template to be in a separate class attribute

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

📖 Rule Details

This rule reports static class names in dynamic class attributes.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-vue v8.2.0

🔍 Implementation