Commit 2109ab64 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'cwoolley-gitlab-master-patch-45421' into 'master'

Fix overcommit EsLint config

See merge request gitlab-org/gitlab!27871
parents dbf3fa07 250af6a9
...@@ -28,7 +28,9 @@ PreCommit: ...@@ -28,7 +28,9 @@ PreCommit:
EsLint: EsLint:
enabled: true enabled: true
# https://github.com/sds/overcommit/issues/338 # https://github.com/sds/overcommit/issues/338
command: './node_modules/eslint/bin/eslint.js' required_executable: 'yarn'
command: ['yarn', 'eslint']
flags: []
HamlLint: HamlLint:
enabled: true enabled: true
MergeConflicts: MergeConflicts:
......
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