Install yamllint by entering the following commands in the terminal:
sudo apt update sudo apt install yamllint
Description:
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.
Homepage: https://github.com/adrienverge/yamllint
Version: 1.10.0-1
Section: universe/devel