-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.pre-commit-config.yaml
48 lines (44 loc) · 1.28 KB
/
.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
40
41
42
43
44
45
46
47
48
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
args:
- --fix=lf
- id: trailing-whitespace
- repo: https://github.com/sirosen/texthooks
rev: 0.5.0
hooks:
- id: fix-smartquotes
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.22
hooks:
- id: shellcheck
name: Shellcheck
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
hooks:
- id: markdownlint
name: Markdownlint
- repo: local
hooks:
- id: vagrant-validate
name: Validate Vagrantfile
description: Runs vagrant validate to validate Vagrantfiles
language: system
files: "Vagrantfile"
entry: vagrant validate
- id: packer-fmt
name: Packer format
description: Format all Packer configuration files to a canonical format
language: script
entry: hooks/packer-fmt.sh
files: (\.pkr\.hcl|\.pkrvars\.hcl)$
- id: packer-validate
name: Packer validate
description: Validates all Packer configuration files
language: script
entry: hooks/packer-validate.sh
files: (\.pkr\.(hcl|json)|\.pkrvars\.hcl)$