# vue/static-class-names-order
enforce static class names order
- 🔧 The
--fix
option on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule aims to enforce the order of static class names.
<template>
<!-- ✓ GOOD -->
<div class="a b"></div>
<!-- ✗ BAD -->
<div class="b a"></div>
</template>
# 🔧 Options
Nothing.
# 🚀 Version
This rule was introduced in eslint-plugin-vue v6.1.0