Commit 250af6a9 authored by Chad Woolley's avatar Chad Woolley

Fix overcommit EsLint config

The existing config did not work, it gave an error.
This new config makes it use our existing yarn task.
parent 438e0332
......@@ -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:
......
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