-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
41 lines (37 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
40
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v1.3.0
hooks:
- id: check-added-large-files
args: [--maxkb=5000]
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: mixed-line-ending
args: [--fix=lf]
- id: pretty-format-json
args: [--autofix, --indent=2, --no-ensure-ascii]
- id: trailing-whitespace
- repo: https://github.com/getcloudnative/pre-commit-terraform
sha: v1.8.1
hooks:
- id: terraform_fmt
- id: terraform_docs
args: [--args=--with-aggregate-type-defaults]
- repo: local
hooks:
- id: test
name: make test
description: Run integration tests.
entry: make test
language: system
files: (\.tf|\.rb)$
verbose: true