summaryrefslogtreecommitdiff
path: root/.overcommit.yml.example
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 09:08:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 09:08:11 +0000
commit5064bf8c5647d4c4430cbb4d097cf1592416de29 (patch)
treed051bf2abe2cc7061b3a7facb6669a56ccb9cf54 /.overcommit.yml.example
parent9c83aadd2604e7e6cb1f84683f951e6b12872618 (diff)
downloadgitlab-ce-5064bf8c5647d4c4430cbb4d097cf1592416de29.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.overcommit.yml.example')
-rw-r--r--.overcommit.yml.example4
1 files changed, 3 insertions, 1 deletions
diff --git a/.overcommit.yml.example b/.overcommit.yml.example
index 4e6d084a95d..2cca4c0b488 100644
--- a/.overcommit.yml.example
+++ b/.overcommit.yml.example
@@ -28,7 +28,9 @@ PreCommit:
EsLint:
enabled: true
# https://github.com/sds/overcommit/issues/338
- command: './node_modules/eslint/bin/eslint.js'
+ required_executable: 'yarn'
+ command: ['yarn', 'eslint']
+ flags: []
HamlLint:
enabled: true
MergeConflicts: