no-tab-indentation
Overview
This rule belongs to the yaml-syntax-validation ruleset and states that:
A YAML token must be indented with spaces. Tab indentation using is not allowed and should be replaced with spaces.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Blocking |
| Message | While scanning a mapping, found invalid tab as indentation. |
| Code | YAMLSYNTAX_V101 |
| Type | Validation |
| Rule System | Syntax |
| Broad Category | Indentation |
| Tags | yaml data syntax preliminary checks validation yaml indentation token tabs spaces |
Suggested Fixes
- Ensure that you are not using tabs
for indentation. - Replace all tabs with spaces as YAML does not allow tab indentation.