Remove configuration parameter from tslint:test task which incorrectly attempted to add a rule but instead set only a single rule which gave false positive lint passes.
This commit is contained in:
Родитель
d619ea0f15
Коммит
f515e24b8a
|
@ -155,12 +155,7 @@ gulp.task('tslint:build', 'Run TSLint on src', function () {
|
||||||
gulp.task('tslint:test', 'Run TSLint on src and tests', function () {
|
gulp.task('tslint:test', 'Run TSLint on src and tests', function () {
|
||||||
return gulp.src(["src/**/*.ts", "test/**/*.ts"])
|
return gulp.src(["src/**/*.ts", "test/**/*.ts"])
|
||||||
.pipe(tslint({
|
.pipe(tslint({
|
||||||
formatter: "verbose",
|
formatter: "verbose"
|
||||||
configuration: {
|
|
||||||
rules: {
|
|
||||||
"no-console": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}))
|
}))
|
||||||
.pipe(tslint.report());
|
.pipe(tslint.report());
|
||||||
});
|
});
|
Загрузка…
Ссылка в новой задаче