Locate tab characters that may break parsing.
Section: Linting and safe edits
Find tabs in YAML files
bash
bash
grep -nP '\t' config.yamlExplanation
YAML should use spaces, not tabs, for indentation.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Linting and safe edits
Reveal hidden whitespace
Print tabs and line endings to spot indentation issues.
Format YAML with Prettier
Normalize indentation and layout automatically.
Mixed indentation example
Illustrate a broken file caused by inconsistent nesting.