-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaseline.yaml
executable file
·40 lines (35 loc) · 963 Bytes
/
baseline.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
exclude: '^$'
default_stages: [push]
repos:
- repo: https://github.com/cat-home-experts/pre-commit-manager
rev: 1.1.3
hooks:
- id: detect-unsigned-commit
exclude: '^$'
stages: [commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-merge-conflict
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-yaml
- id: detect-private-key
- id: detect-aws-credentials
- repo: https://github.com/Yelp/detect-secrets
rev: v1.1.0
hooks:
- id: detect-secrets
exclude: '^$'
args: ['--exclude-lines', '(.*)# scan:ignore']
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.7.2
hooks:
- id: shellcheck
args: ['--severity=warning'] # Only show errors and warnings
- repo: https://github.com/milin/giticket
rev: v1.3
hooks:
- id: giticket
args: ['--mode=regex_match', '--regex=[A-Z]+-\d+', '--format={ticket} {commit_msg}']
stages: [commit-msg]