Showing
1 changed file
with
37 additions
and
0 deletions
.overcommit.yml
0 → 100644
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/master/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/master/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 | +#PreCommit: | |
19 | +# RuboCop: | |
20 | +# enabled: true | |
21 | +# on_warn: fail # Treat all warnings as failures | |
22 | +# | |
23 | +# TrailingWhitespace: | |
24 | +# enabled: true | |
25 | +# exclude: | |
26 | +# - '**/db/structure.sql' # Ignore trailing whitespace in generated files | |
27 | +# | |
28 | +#PostCheckout: | |
29 | +# ALL: # Special hook name that customizes all hooks of this type | |
30 | +# quiet: true # Change all post-checkout hooks to only display output on failure | |
31 | +# | |
32 | +# IndexTags: | |
33 | +# enabled: true # Generate a tags file with `ctags` each time HEAD changes | |
34 | + | |
35 | +PreCommit: | |
36 | + RuboCop: | |
37 | + enabled: true | |
\ No newline at end of file | ... | ... |