1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00
eoli3n-dotfiles/.pre-commit-config.yaml

20 lines
503 B
YAML
Raw Normal View History

2022-10-30 01:22:54 +02:00
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