mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Use local eslint package via yarn in overcommit
This commit is contained in:
committed by
Gerhard Schlager
parent
0b2b617483
commit
8b0982362a
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user