mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
20 lines
503 B
YAML
20 lines
503 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: trailing-whitespace
|
|
args: [--markdown-linebreak-ext=md]
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.7.2.1
|
|
hooks:
|
|
- id: shellcheck
|
|
- repo: local
|
|
hooks:
|
|
- id: ansible-syntax-check
|
|
name: Ansible syntax check
|
|
entry: "ansible-playbook --syntax-check install.yml"
|
|
pass_filenames: no
|
|
types_or: [yaml, jinja]
|
|
language: system
|