-
Notifications
You must be signed in to change notification settings - Fork 4
/
.overcommit.yml
58 lines (45 loc) · 989 Bytes
/
.overcommit.yml
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
51
52
53
54
55
56
57
58
verify_signatures: false
PreCommit:
BundleCheck:
enabled: true
CapitalizedSubject:
enabled: false
ExecutePermissions:
enabled: true
exclude:
- bin/*
- .aws/**/*
- .cloud66/*
- .github/*
- scripts/**/*
LocalPathsInGemfile:
enabled: true
RuboCop:
command: ['bundle', 'exec', 'rubocop', '--force-exclusion']
enabled: true
on_warn: fail
exclude:
- db/migrate/*
ShellCheck:
enabled: true
exclude:
- node_modules/**/*
TrailingWhitespace:
enabled: true
YamlSyntax:
enabled: true
Linters:
enabled: true
description: Js/Scss linters
command: [ 'yarn', 'lint' ]
PostCheckout:
ALL:
quiet: true # Change all post-checkout hooks to only display output on failure
IndexTags:
enabled: true # Generate a tags file with `ctags` each time HEAD changes
PrePush:
Brakeman:
enabled: true
RSpec:
command: ['bundle', 'exe', 'rspec']
enabled: true