eslint-community / eslint-plugin-promise

Enforce best practices for JavaScript promises
ISC License
943 stars 91 forks source link

docs: add for `prefer-await-to-callbacks`; fixes #118 #491

Closed brettz9 closed 3 months ago

brettz9 commented 3 months ago

What is the purpose of this pull request?

What changes did you make? (Give an overview)

Added rule details for prefer-await-to-callbacks.

Fixes #118.

(Adapted from https://github.com/eslint-community/eslint-plugin-promise/pull/199 )

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (bbcfcbf) to head (605adac). Report is 19 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #491 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 25 24 -1 Lines 649 660 +11 Branches 250 246 -4 ========================================= + Hits 649 660 +11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 6.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: