diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-31 21:06:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-31 21:06:28 +0000 |
commit | 8f210aebe1d740e8ee194f171f1f33a6e1fba313 (patch) | |
tree | f43c545801bb96fd0737f18493fb30ab92972627 /.overcommit.yml.example | |
parent | 996f700997805b3590da8d8afdd19d193989078a (diff) | |
download | gitlab-ce-8f210aebe1d740e8ee194f171f1f33a6e1fba313.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.overcommit.yml.example')
-rw-r--r-- | .overcommit.yml.example | 17 |
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 |