-
Notifications
You must be signed in to change notification settings - Fork 11
/
.overcommit.yml
56 lines (52 loc) · 1.24 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
# ShinyCMS ~ https://shinycms.org
#
# Copyright 2009-2020 Denny de la Haye ~ https://denny.me
#
# ShinyCMS is free software; you can redistribute it and/or modify it under the terms of the GPL (version 2 or later)
# Use this file to configure the Overcommit hooks you wish to use.
# This will extend the default configuration defined in:
# https://github.com/sds/overcommit/blob/master/config/default.yml
#
# For a complete list of hooks, see:
# https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
#
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/sds/overcommit#configuration
PreCommit:
CaseConflicts:
enabled: false
Brakeman:
enabled: true
quiet: false
RuboCop:
enabled: true
quiet: false
on_warn: fail
TextWidth:
enabled: true
quiet: false
max_subject_width: 72
min_subject_width: 3
TrailingWhitespace:
enabled: true
quiet: false
exclude:
- '**/*.md'
PrePush:
RailsSchemaUpToDate:
enabled: true
quiet: false
RSpec:
enabled: true
quiet: false
BundleAudit:
enabled: true
quiet: false
Fasterer:
enabled: false
quiet: false
PostMerge:
RuboCop:
enabled: true
quiet: false
on_warn: fail