# yml/indent

enforce consistent indentation

  • ⚙️ This rule is included in "plugin:yml/standard".
  • 🔧 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 reports enforces a consistent indentation style. The default style is 2 spaces.

Now loading...

# 🔧 Options

yml/indent:
  - error
  - 2

Specify the number of indents.

# 🚀 Version

This rule was introduced in eslint-plugin-yml v0.1.0

# 🔍 Implementation

Last Updated: 8/10/2022, 10:02:31 AM