A platform for community discussion. Free, open, simple.
Use local eslint package via yarn in overcommit
Penar Musaraj8b0982362ae0
diff --git a/.overcommit.yml b/.overcommit.ymlindex 2de35d6df92..9bc9a591799 100644--- a/.overcommit.yml+++ b/.overcommit.yml@@ -19,5 +19,7 @@ PreCommit:command: ['bundle', 'exec', 'rubocop']EsLint:enabled: true- command: ['eslint', '--ext', '.es6', '-f', 'compact']+ required_executable: './node_modules/.bin/eslint'+ install_command: 'yarn install'+ command: ['yarn', 'eslint', '--ext', '.es6', '-f', 'compact']include: '**/*.es6'