chef-recipes/.pre-commit-config.yaml
Francesco Antognazza 3e63bed204 Add pre-commit hooks
2023-04-06 11:09:24 +02:00

15 lines
386 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-yaml
args:
- --allow-multiple-documents
- --unsafe
- id: end-of-file-fixer