forked from awslabs/amazon-s3-find-and-forget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
48 lines (48 loc) · 1.16 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
fail_fast: true
repos:
- repo: local
hooks:
- id: format-cfn
name: Format CloudFormation
entry: make format-cfn
language: system
files: ^templates/
- repo: local
hooks:
- id: format-js
name: Format Javascript
entry: make format-js
language: system
files: ^frontend/
- repo: local
hooks:
- id: format-python
name: Format Python Code
entry: make format-python
language: system
files: ^backend/
- repo: local
hooks:
- id: format-docs
name: Format Markdown docs
entry: make format-docs
language: system
files: .*\.md
- repo: local
hooks:
- id: generate-api-docs
name: Generate API Docs
entry: make generate-api-docs
language: system
files: ^templates/api.yaml
- repo: https://github.com/awslabs/git-secrets
rev: 5e28df337746db4f070c84f7069d365bfd0d72a8
hooks:
- id: git-secrets
- repo: local
hooks:
- id: cfn-lint
name: Lint CloudFormation templates
entry: make lint-cfn
language: system
files: ^templates/