This repository has been archived on 2023-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
skylab-ansible/.pre-commit-config.yaml

43 lines
880 B
YAML
Raw Normal View History

2021-08-31 02:31:23 +00:00
---
repos:
- repo: local
2021-08-31 02:31:23 +00:00
hooks:
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
2021-08-31 02:31:23 +00:00
language: system
types:
- text
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
2021-08-31 02:31:23 +00:00
language: system
types:
- text
2021-08-31 02:31:23 +00:00
- id: check-merge-conflict
name: check-merge-conflict
entry: check-merge-conflict
2021-08-31 02:31:23 +00:00
language: system
types:
- text
- id: mdformat
name: mdformat
entry: mdformat
language: system
args:
- "--number"
- "--wrap=90"
types:
- markdown
- id: terraform
name: terraform format
entry: terraform
language: system
args:
- fmt
files: ".*\\.tf$"