summaryrefslogtreecommitdiff
path: root/.overcommit.yml.example
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-31 21:06:28 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-31 21:06:28 +0000
commit8f210aebe1d740e8ee194f171f1f33a6e1fba313 (patch)
treef43c545801bb96fd0737f18493fb30ab92972627 /.overcommit.yml.example
parent996f700997805b3590da8d8afdd19d193989078a (diff)
downloadgitlab-ce-8f210aebe1d740e8ee194f171f1f33a6e1fba313.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.overcommit.yml.example')
-rw-r--r--.overcommit.yml.example17
1 files changed, 16 insertions, 1 deletions
diff --git a/.overcommit.yml.example b/.overcommit.yml.example
index 25823b9a8b3..9cd04825bc2 100644
--- a/.overcommit.yml.example
+++ b/.overcommit.yml.example
@@ -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