YAML Validator
The YAML Validator parses YAML and reports indentation or mapping mistakes before they break a deploy or pipeline.
Key Features
- Syntax check
- Clear error location
- Handles anchors
- Local only
Use Cases
- Validate a CI config
- Check a compose file
- Teach YAML
- Prep a deploy
How to Use
- Paste the YAML
- Validate
- Fix the flagged lines
Practical Tips
- Use spaces, never tabs
- Align keys in a map
- Quote strings with colons
FAQ
- Common error?
- Inconsistent indentation.
- Anchors?
- Reuse values with & and *.