no-useless-promise-resolve Disallow Promise.resolve calls that preserve the same Promise Promise.resolve returns its argument unchanged when that argument is already a Promise. Instead, you SHOULD use the existing Promise directly. - Category: suspicious - Level: warning - Fix: automatic - Scope: module Reported import { Promise } from "destack:async"; function retain(value: Promise): Promise { return Promise.resolve(value); } Accepted import { Promise } from "destack:async"; function retain(value: Promise): Promise { return value; } Prior art - eslint-plugin-unicorn ยท no-useless-promise-resolve-reject language/linter/src/rules/suspicious/nouselesspromiseresolve.rs:8