We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise
As an engineer, I want only one ESLint rule to target a given issue, so that I only get one finding per issue and avoid unnecessary noise.
There is only one rule for reporting unnecessary Promise wrappers.
The promise/no-return-wrap rule included from recommended config here . The unicorn/no-useless-promise-resolve-reject rule included in recommended config here seems to be an expanded and auto-fixable version of that rule - it includes finally and yield constructs.
finally
yield
The promise/no-return-wrap can be removed.
promise/no-return-wrap
default
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
User story
As an engineer, I want only one ESLint rule to target a given issue, so that I only get one finding per issue and avoid unnecessary noise.
Acceptance criteria
There is only one rule for reporting unnecessary
Promise
wrappers.Minimal reproduction of current behaviour
The promise/no-return-wrap rule included from recommended config here .
The unicorn/no-useless-promise-resolve-reject rule included in recommended config here seems to be an expanded and auto-fixable version of that rule - it includes
finally
andyield
constructs.Desired behaviour showcase
The
promise/no-return-wrap
can be removed.Which configuration is this related to?
default
ESLint version
No response
The text was updated successfully, but these errors were encountered: