-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pre-commit-config.yaml
39 lines (34 loc) · 969 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
# For use with pre-commit.
# See usage instructions at http://pre-commit.com
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: master
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: detect-aws-credentials
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
# - id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/ansible/ansible-lint.git
rev: v4.2.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/adrienverge/yamllint.git
rev: master
hooks:
- id: yamllint
files: \.(yaml|yml)$
- repo: https://github.com/markdownlint/markdownlint.git
rev: master
hooks:
- id: markdownlint
files: \.(md|MD)$