improve tslint

This commit is contained in:
chemzqm 2019-03-05 23:54:43 +08:00
parent e68adfbe0b
commit c19953dbd8
2 changed files with 3 additions and 3 deletions

View file

@ -837,6 +837,7 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
if (this.apiVersion.gte(API.v314)) {
if (!this.servicePromise) return
this.servicePromise.then(() => {
// tslint:disable-next-line: no-floating-promises
this.execute('configurePlugin', { pluginName, configuration }, false)
})
}

View file

@ -1,10 +1,9 @@
{
"extends": "./node_modules/@chemzqm/tslint-config/tslint.json",
"rules": {
"no-floating-promises": false
},
"linterOptions": {
"exclude": [
]
"exclude": []
}
}