forked from ajgon/opsworks_ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.overcommit.yml
63 lines (63 loc) · 1.12 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
57
58
59
60
61
62
63
---
PreCommit:
ALL:
on_warn: fail # Treat all warnings as failures
exclude:
- test/integration/repos/**/*
BrokenSymlinks:
enabled: true
BundleAudit:
enabled: true
BundleCheck:
enabled: true
CaseConflicts:
enabled: true
Fasterer:
enabled: true
FixMe:
enabled: true
exclude:
- RELEASING.md
Foodcritic:
enabled: true
HardTabs:
enabled: true
exclude:
- docs/Makefile
- test/integration/repos/**/*
JsonSyntax:
enabled: true
LocalPathsInGemfile:
enabled: true
Mdl:
enabled: true
exclude:
- CHANGELOG.md
MergeConflicts:
enabled: true
RuboCop:
enabled: true
flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
ShellCheck:
enabled: true
TrailingWhitespace:
enabled: true
TravisLint:
enabled: true
XmlLint:
enabled: true
XmlSyntax:
enabled: true
YamlLint:
enabled: true
YamlSyntax:
enabled: true
CommitMsg:
ALL:
on_warn: fail
CapitalizedSubject:
enabled: false
TextWidth:
enabled: true
max_subject_width: 100
max_body_width: 100