πYAML Linting
Quick Start
Install Task (if not already installed)
# On macOS
brew install go-task/tap/go-task
# On Linux
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin
# Or download from https://github.com/go-task/task/releasesSetup Development Environment
# Install dependencies (including yamllint)
task setupYAML Linting Commands
Using Task (Recommended)
Using the Scripts Directly
Using VS Code Tasks
Configuration
yamllint Configuration (.yamllint.yml)
.yamllint.yml)Supported Files
Integration
GitHub Actions
Pre-commit Integration
Common YAML Issues and Fixes
1. Line Length
2. Indentation
3. Truthy Values
Troubleshooting
yamllint Not Found
Permission Denied
Custom Rules
Available Task Commands
Last updated
Was this helpful?