Skip to content

Commit 600fded

Browse files
committed
correctly configure rule paths in hygiene task
1 parent e27d7ca commit 600fded

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build/gulpfile.hygiene.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,10 @@ function hygiene(some) {
362362

363363
const javascript = result
364364
.pipe(filter(eslintFilter))
365-
.pipe(gulpeslint('.eslintrc.json'))
365+
.pipe(gulpeslint({
366+
configFile: '.eslintrc.json',
367+
rulePaths: ['./build/lib/eslint']
368+
}))
366369
.pipe(gulpeslint.formatEach('compact'))
367370
.pipe(gulpeslint.failAfterError());
368371

0 commit comments

Comments
 (0)