Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 984 Bytes

static-class-names-order.md

File metadata and controls

37 lines (26 loc) · 984 Bytes
pageClass sidebarDepth title description
rule-details
0
vue/static-class-names-order
enforce static class names order

vue/static-class-names-order

enforce static class names order

  • 🔧 The --fix option on the command line 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.

🔍 Implementation