pageClass | sidebarDepth | title | description | since |
---|---|---|---|---|
rule-details |
0 |
vue/static-class-names-order |
enforce static class names order |
v6.1.0 |
enforce static class names order
- 🔧 The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
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>
Nothing.
This rule was introduced in eslint-plugin-vue v6.1.0