提交 dc84c712 编写于 作者: J Johannes Rieken

update 'gulp eslint' and 'gulp hygiene' so that eslint also seens TS files

上级 f16368c2
......@@ -185,7 +185,7 @@ const copyrightHeaderLines = [
gulp.task('eslint', () => {
return vfs.src(all, { base: '.', follow: true, allowEmpty: true })
.pipe(filter(eslintFilter))
.pipe(filter(eslintFilter.concat(tslintHygieneFilter)))
.pipe(gulpeslint({
configFile: '.eslintrc.json',
rulePaths: ['./build/lib/eslint']
......@@ -361,7 +361,7 @@ function hygiene(some) {
}
const javascript = result
.pipe(filter(eslintFilter))
.pipe(filter(eslintFilter.concat(tslintHygieneFilter)))
.pipe(gulpeslint({
configFile: '.eslintrc.json',
rulePaths: ['./build/lib/eslint']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册