Skip to content

Commit c6d5b66

Browse files
committed
add .overcommit.yml
1 parent 241ea0f commit c6d5b66

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.overcommit.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Use this file to configure the Overcommit hooks you wish to use. This will
2+
# extend the default configuration defined in:
3+
# https://github.com/sds/overcommit/blob/main/config/default.yml
4+
#
5+
# At the topmost level of this YAML file is a key representing type of hook
6+
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7+
# customize each hook, such as whether to only run it on certain files (via
8+
# `include`), whether to only display output if it fails (via `quiet`), etc.
9+
#
10+
# For a complete list of hooks, see:
11+
# https://github.com/sds/overcommit/tree/main/lib/overcommit/hook
12+
#
13+
# For a complete list of options that you can use to customize hooks, see:
14+
# https://github.com/sds/overcommit#configuration
15+
#
16+
# Uncomment the following lines to make the configuration take effect.
17+
18+
verify_signatures: false
19+
20+
PreCommit:
21+
RuboCop:
22+
enabled: true
23+
required: true
24+
command: ['bundle', 'exec', 'rubocop', '-f', 'simple']
25+
ErbLint:
26+
enabled: true
27+
required: true
28+
command: ['bundle', 'exec', 'erblint', '--lint-all']

0 commit comments

Comments
 (0)