diff --git a/src/test/_intentionally-unused-rules.ts b/src/test/_intentionally-unused-rules.ts index 77b52c82..0082c0e0 100644 --- a/src/test/_intentionally-unused-rules.ts +++ b/src/test/_intentionally-unused-rules.ts @@ -60,6 +60,9 @@ export const intentionallyUnusedRules: string[] = [ // Covered by `@typescript-eslint/only-throw-error` 'no-throw-literal', + // Covered by TypeScript + 'promise/always-return', + ...[ ...new TSESLint.Linter({ configType: 'eslintrc' }).getRules().keys(), ].filter((name) => Object.hasOwn(tseslintUsage.rules, name)), diff --git a/src/test/_rules_to_consider.ts b/src/test/_rules_to_consider.ts index 152065c1..bc7c3ed2 100644 --- a/src/test/_rules_to_consider.ts +++ b/src/test/_rules_to_consider.ts @@ -146,7 +146,6 @@ export const rulesToConsider: Record = { 'n/prefer-promises/fs', ], promise: [ - 'promise/always-return', 'promise/avoid-new', 'promise/catch-or-return', 'promise/no-callback-in-promise',