Skip to content

Commit 40ae491

Browse files
committed
Add .overcommit.yml
1 parent a7dd28d commit 40ae491

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.overcommit.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
gemfile: false
2+
verify_signatures: false
3+
4+
PreCommit:
5+
BundleCheck:
6+
enabled: true
7+
8+
ErbLint:
9+
enabled: true
10+
required_executable: bundle
11+
command: ["bundle", "exec", "erblint"]
12+
include: "**/*.html.erb"
13+
14+
FixMe:
15+
enabled: true
16+
keywords: ["FIXME"]
17+
exclude:
18+
- .overcommit.yml
19+
20+
LocalPathsInGemfile:
21+
enabled: true
22+
23+
RailsSchemaUpToDate:
24+
enabled: true
25+
26+
RuboCop:
27+
enabled: true
28+
required_executable: bundle
29+
command: ["bundle", "exec", "rubocop"]
30+
on_warn: fail
31+
32+
TrailingWhitespace:
33+
enabled: true
34+
exclude:
35+
- "**/db/structure.sql"
36+
37+
PostCheckout:
38+
ALL:
39+
quiet: false

0 commit comments

Comments
 (0)