valid-character-before-token-start
Overview
This rule belongs to the yaml-syntax-validation
ruleset and states that:
A YAML token must be indented with spaces. Any other character used before the YAML token like tabs ' ', etc. is not allowed
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | While scanning for the next token, a character that cannot start any token was found. |
Code | YAMLSYNTAX_V100 |
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
- Replace all tabs with spaces as YAML does not allow tab indentation.