Print tabs and line endings to spot indentation issues.
Section: Linting and safe edits
Reveal hidden whitespace
bash
bash
sed -n 'l' config.yamlExplanation
Useful when a file looks correct but still fails because of hidden whitespace or tabs.
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
Format YAML with Prettier
Normalize indentation and layout automatically.
Mixed indentation example
Illustrate a broken file caused by inconsistent nesting.