Skip to content

Files

Latest commit

 

History

History
31 lines (23 loc) · 434 Bytes

indent.md

File metadata and controls

31 lines (23 loc) · 434 Bytes

Pattern: Inconsistent indentation

Issue: -

Description

This rule reports enforces a consistent indentation style. The default style is 2 spaces.

# eslint yml/indent: 'error'

#  GOOD
- a:
    b
  c:
    - d
    - e: f
      g: h

#  BAD
- a:
   b
  c:
   - d
   -  e: f
      g: h

Further Reading