Skip to content
New issue

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

feat(eslint-plugin): [no-floating-promises] ignore void operator by default #2003

Merged
merged 1 commit into from May 10, 2020

Conversation

bradzacher
Copy link
Member

eslint/eslint#12613 was released in eslint v7, so it's now possible and easy to use this within the ecosystem.
I think this makes sense as a way to consume top-level promises, so changing it to true.

@bradzacher bradzacher added enhancement New feature or request breaking change This change will require a new major version to be released labels May 10, 2020
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bradzacher!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@codecov
Copy link

codecov bot commented May 10, 2020

Codecov Report

Merging #2003 into v3 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##               v3    #2003   +/-   ##
=======================================
  Coverage   93.75%   93.75%           
=======================================
  Files         176      176           
  Lines        7814     7814           
  Branches     2240     2240           
=======================================
  Hits         7326     7326           
  Misses        228      228           
  Partials      260      260           
Flag Coverage Δ
#unittest 93.75% <ø> (ø)
Impacted Files Coverage Δ
...es/eslint-plugin/src/rules/no-floating-promises.ts 100.00% <ø> (ø)

@bradzacher bradzacher changed the title feat(eslint-plugin): [no-floating-promise] ignore void operator by default feat(eslint-plugin): [no-floating-promises] ignore void operator by default May 10, 2020
@bradzacher bradzacher merged commit 4a9e392 into v3 May 10, 2020
@bradzacher bradzacher deleted the v3-no-floating-promise branch May 10, 2020 20:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change This change will require a new major version to be released enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant