forked from rubygarage/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.overcommit.yml
56 lines (45 loc) · 1.03 KB
/
.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
PreCommit:
AuthorEmail:
enabled: true
required: false
AuthorName:
enabled: false
BundleAudit:
enabled: true
Brakeman:
enabled: true
flags: ['--exit-on-warn', '--quiet', '--summary']
Fasterer:
enabled: true
include: '**/*.rb'
TrailingWhitespace:
enabled: true
exclude:
- 'db/structure.sql'
- 'public/api/docs/v1/index.html'
RailsBestPractices:
enabled: true
RailsSchemaUpToDate:
enabled: true
include:
- 'db/migrate/*.rb'
- 'db/schema.rb'
- 'db/structure.sql'
Reek:
enabled: true
flags: ['--force-exclusion']
RuboCop:
enabled: true
flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
include:
- '**/*.gemspec'
- '**/*.rake'
- '**/*.rb'
- '**/*.ru'
- '**/Gemfile'
- '**/Rakefile'
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