Convert await-promise to eslint

This commit is contained in:
Simon Warta 2020-02-19 08:59:59 +01:00
parent dceef6bf2b
commit e91976bfac
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ module.exports = {
"spaced-comment": ["warn", "always", { line: { markers: ["/ <reference"] } }],
"import/no-cycle": "warn",
"simple-import-sort/sort": "warn",
"@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/explicit-function-return-type": ["warn", { allowExpressions: true }],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",

View File

@ -4,7 +4,7 @@
"jsRules": {},
"rules": {
"array-type": [true, "array"],
"await-promise": true,
"await-promise": false,
"callable-types": false,
"comment-format": [true, "check-space"],
"curly": false,