diff --git a/.eslintrc.js b/.eslintrc.js index ecb60225..8de545e6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,6 +14,7 @@ module.exports = { }, plugins: ['jest', 'unused-imports'], rules: { + '@typescript-eslint/await-thenable': 'error', 'array-bracket-newline': ['error', 'consistent'], strict: ['error', 'safe'], 'block-scoped-var': 'error', diff --git a/tsconfig.test.json b/tsconfig.test.json index 816cd689..04dc2493 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -3,7 +3,8 @@ "include": [ "src", "test", - "jest.config.ts" + "jest.config.ts", + ".eslintrc.js", ], "compilerOptions": { "noEmit": true,