mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-08-16 15:50:35 +03:00
fix: fix 'no-use-before-declare' requires type information lint warning (#2679)
This commit is contained in:
parent
dc3059b809
commit
405c78421d
@ -32,7 +32,12 @@ gulp.task('compile', function() {
|
||||
gulp.task('tslint', function() {
|
||||
return gulp
|
||||
.src(['**/*.ts', '!node_modules/**', '!typings/**'])
|
||||
.pipe(tslint({ formatter: 'prose' }))
|
||||
.pipe(
|
||||
tslint({
|
||||
formatter: 'prose',
|
||||
program: require('tslint').Linter.createProgram('./tsconfig.json'),
|
||||
})
|
||||
)
|
||||
.pipe(tslint.report({ summarizeFailureOutput: true }));
|
||||
});
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
"no-switch-case-fall-through": true,
|
||||
"no-trailing-whitespace": true,
|
||||
"no-unused-expression": true,
|
||||
"no-use-before-declare": true,
|
||||
"no-use-before-declare": false,
|
||||
"no-var-keyword": false,
|
||||
"no-var-requires": false,
|
||||
"object-literal-sort-keys": false,
|
||||
|
Loading…
Reference in New Issue
Block a user