-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (43 loc) · 1.39 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (43 loc) · 1.39 KB
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
49
50
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [feat, fix, chore, docs, style, refactor, test, build, ci, perf, revert]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
exclude: ^sts-mock/sts\.yaml$
- id: end-of-file-fixer
exclude: ^sts-mock/sts\.yaml$
- id: mixed-line-ending
exclude: ^sts-mock/sts\.yaml$
- id: trailing-whitespace
exclude: ^sts-mock/sts\.yaml$
- repo: https://github.com/bridgecrewio/checkov.git
rev: 3.2.529
hooks:
- id: checkov
verbose: true
files: ^sts-mock/template\.yaml$
- id: checkov
verbose: true
files: ^txma-mock/template\.yaml$
- repo: https://github.com/aws-cloudformation/cfn-lint
rev: v1.51.0
hooks:
- id: cfn-lint-rc
files: ^sts-mock/template\.yaml$
- id: cfn-lint-rc
files: ^txma-mock/template\.yaml$
- repo: https://github.com/aws-cloudformation/rain
rev: v1.24.4
hooks:
- id: rain-format
files: ^sts-mock/template\.yaml$
- id: rain-format
files: ^txma-mock/template\.yaml$