Commit cd33b34e authored by Albert Salim's avatar Albert Salim

Merge branch 'pl-doc-lefthook-reveal-rubocop-todo' into 'master'

Lefthook: Do not reveal RuboCop TODOs in pre-push hook

See merge request gitlab-org/gitlab!56851
parents fbfeff74 4294fa5d
...@@ -32,7 +32,7 @@ pre-push: ...@@ -32,7 +32,7 @@ pre-push:
tags: backend style tags: backend style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: '*.rb' glob: '*.rb'
run: bundle exec rubocop --parallel --force-exclusion {files} run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --parallel --force-exclusion {files}
vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters
tags: documentation style tags: documentation style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
......
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