Skip to content


Yamllint is a 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 or indentation.

You can use it both with:

  • The Vim through the ALE plugin.

  • Pre-commit:

    File: .pre-commit-config.yaml

    - repo:
      rev: v1.21.0
        - id: yamllint


Last update: 2020-11-13