yamllint-rs¶
yamllint-rs is a fast, high-performance YAML linter written in Rust, designed as a drop-in replacement for the Python-based yamllint.
Installation¶
You can install yamllint-rs using Cargo, or run it via Docker.
Config¶
yamllint-rs is compatible with the standard yamllint configuration format. It automatically discovers and uses .yamllint files in the project root.
Usage¶
CLI Commands¶
1. Lint a specific file or folder
2. Lint all YAML files recursively in the current directory
3. Automatically fix autofixable violations