summaryrefslogtreecommitdiff
path: root/lefthook.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-16 12:09:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-16 12:09:30 +0000
commite3748b81ca29b24197276767e245158d8f84fda3 (patch)
tree02b2dbe099f8e09e9e85dc71cce1bd8e858be7ac /lefthook.yml
parent4e1af5260dc9187ca0637fcfcf56b450f6443192 (diff)
downloadgitlab-ce-e3748b81ca29b24197276767e245158d8f84fda3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lefthook.yml')
-rw-r--r--lefthook.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lefthook.yml b/lefthook.yml
index 03542a437e3..dc2c0b70c6f 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -54,7 +54,7 @@ pre-push:
glob: 'doc/*.md'
run: 'if [ $VALE_WARNINGS ]; then minWarnings=warning; else minWarnings=error; fi; if command -v vale > /dev/null 2>&1; then if ! vale --config .vale.ini --minAlertLevel $minWarnings {files}; then echo "ERROR: Fix any linting errors and make sure you are using the latest version of Vale."; exit 1; fi; else echo "ERROR: Vale not found. For more information, see https://docs.errata.ai/vale/install."; exit 1; fi'
gettext:
- skip: true # This is disabled by default. You can enable this check by adding skip: false in lefhook-local.yml https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md#skipping-commands
+ skip: true # This is disabled by default. You can enable this check by adding skip: false in lefhook-local.yml https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md#skip
tags: backend frontend view haml
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD | while read file;do git diff --unified=1 $(git merge-base origin/master HEAD)..HEAD $file | grep -Fqe '_(' && echo $file;done; true
glob: "*.{haml,rb,js,vue}"