Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 472 Bytes

Integration with other software

Integration with pre-commit

You can integrate yamllint in pre-commit tool. Here is an example, to add in your .pre-commit-config.yaml

---
# Update the sha variable with the release version that you want, from the yamllint repo
- repo: https://github.com/adrienverge/yamllint.git
  sha: v1.8.1
  hooks:
    - id: yamllint