-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.overcommit.yml
56 lines (45 loc) · 1022 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
CommitMsg:
CapitalizedSubject:
enabled: false
EmptyMessage:
enabled: false
TrailingPeriod:
enabled: true
TextWidth:
enabled: false
PreCommit:
ALL:
on_warn: fail
AuthorEmail:
enabled: true
AuthorName:
enabled: true
MergeConflicts:
enabled: true
BundleCheck:
enabled: true
BundleAudit:
enabled: true
Reek:
enabled: true
description: 'Analyze with Reek'
required_executable: 'reek'
command: ['bundle', 'exec', 'reek']
install_command: 'gem install reek'
include: &1
- '**/*.gemspec'
- 'app/**/*.rb'
- 'config/**/*.rb'
- 'spec/**/*.rb'
- 'lib/**/*.rb'
- 'lib/**/*.rake'
- '**/Gemfile'
- '**/Rakefile'
RuboCop:
enabled: true
description: 'Analyze with RuboCop'
required_executable: 'rubocop'
command: ['bundle', 'exec', 'rubocop']
flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
install_command: 'gem install rubocop'
include: *1