Skip to content

indent_style

Every non-blank line indents with the configured style (tabs or spaces). When style: spaces, optional width enforces a multiple.

- id: yaml-2sp
kind: indent_style
paths: "**/*.yml"
style: spaces
width: 2
level: warning

Check-only: tab-width-aware reindentation is language-specific. Pair with your editor’s “reindent on save” for remediation.