yamllint
Linter for YAML files
Install
- All systems
-
curl cmd.cat/yamllint.sh
- Debian
-
apt-get install yamllint
- Ubuntu
-
apt-get install yamllint
- Arch Linux
-
pacman -S yamllint
- Kali Linux
-
apt-get install yamllint
- Fedora
-
dnf install yamllint
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install yamllint
- OS X
-
brew install yamllint
- Raspbian
-
apt-get install yamllint
- Dockerfile
- dockerfile.run/yamllint
yamllint
Linter for YAML files
yamllint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.