mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
update 'gulp eslint' and 'gulp hygiene' so that eslint also seens TS files
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user