diff --git a/src/index.test.ts b/src/index.test.ts index 9f289607..106cd025 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -83,6 +83,7 @@ test('export', (t): void => { 'space-infix-ops': 'off', '@typescript-eslint/adjacent-overload-signatures': 'error', '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], + '@typescript-eslint/await-thenable': 'error', '@typescript-eslint/brace-style': ['error', '1tbs', { allowSingleLine: true }], '@typescript-eslint/comma-dangle': ['error', { arrays: 'never', @@ -362,7 +363,6 @@ test('all plugin rules are considered', (t) => { // This serves as a todo list and should ideally eventually end up empty // and then fail upon plugin upgrades where new rules are released. const notYetConsideredRules: string[] = [ - 'await-thenable', 'ban-ts-comment', 'ban-tslint-comment', 'ban-types', diff --git a/src/index.ts b/src/index.ts index ddd82c88..8b34bfa3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,6 +72,7 @@ const config: Linter.Config = { // Rules exclusive to Standard TypeScript: '@typescript-eslint/adjacent-overload-signatures': 'error', '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], + '@typescript-eslint/await-thenable': 'error', '@typescript-eslint/comma-dangle': ['error', { arrays: 'never', objects: 'never',