Commit 2286c278 authored by Doug Stull's avatar Doug Stull Committed by Stan Hu

Add real world config to overcommit example

- it would be nice to have a working file in here as an
  example file.
- this brings us one step closer to hopefully utilizing
  overcommit in CI and/or at least on each dev's machine
- next step would be for gdk install to copy it over,
  drop the extension and install it
- or drop the .example on this file and make it the default,
  and users will merely have to run a `overcommit -i` after
  installing overcommit gem
parent 7d75225e
......@@ -16,10 +16,25 @@
# Uncomment the following lines to make the configuration take effect.
PreCommit:
AuthorName:
enabled: false
EsLint:
enabled: true
# https://github.com/sds/overcommit/issues/338
command: './node_modules/eslint/bin/eslint.js'
HamlLint:
enabled: true
MergeConflicts:
enabled: true
exclude:
- '**/conflict/file_spec.rb'
- '**/git/conflict/parser_spec.rb'
# prettier? https://github.com/sds/overcommit/issues/614 https://github.com/sds/overcommit/issues/390#issuecomment-495703284
RuboCop:
enabled: true
# on_warn: fail # Treat all warnings as failures
#
ScssLint:
enabled: true
#PostCheckout:
# ALL: # Special hook name that customizes all hooks of this type
# quiet: true # Change all post-checkout hooks to only display output on failure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment