diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-19 22:11:55 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-19 22:11:55 +0000 |
commit | 5a8431feceba47fd8e1804d9aa1b1730606b71d5 (patch) | |
tree | e5df8e0ceee60f4af8093f5c4c2f934b8abced05 /.overcommit.yml.example | |
parent | 4d477238500c347c6553d335d920bedfc5a46869 (diff) | |
download | gitlab-ce-5a8431feceba47fd8e1804d9aa1b1730606b71d5.tar.gz |
Add latest changes from gitlab-org/gitlab@12-5-stable-ee
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 |