We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm run watch
1 parent ada56fe commit de40c22Copy full SHA for de40c22
resources/watch.js
@@ -145,7 +145,7 @@ function lintFiles(filepaths) {
145
return filepaths.reduce((prev, filepath) => prev.then(prevSuccess => {
146
if (isJS(filepath)) {
147
process.stdout.write(' ' + filepath + ' ...');
148
- return exec('eslint', [srcPath(filepath)])
+ return exec('eslint', ['--rulesdir', './resources/lint', srcPath(filepath)])
149
.catch(() => false)
150
.then(success => {
151
console.log(CLEARLINE + ' ' + (success ? CHECK : X)
0 commit comments