JS.VUE.STATIC.CLASS.NAMES.ORDER

Enforce static class names order

Rule Details

This rule aims to enforce the order of static class names.

{'vue/static-class-names-order': ['error']}

Copy
<template>
  <!-- GOOD -->
  <div class="a b"></div>

  <!-- BAD -->
  <div class="b a"></div>
</template>

Options

Nothing.

The content on this page is adapted from the ESLint User Guide. Copyright © OpenJS Foundation and other contributors, www.openjsf.org. All rights reserved. https://eslint.org/docs/rules/