eslint-community / eslint-plugin-promise

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

feat: new rule `spec-only` to check for non-spec Promise methods #502

Closed brettz9 closed 1 month ago

brettz9 commented 1 month ago

What is the purpose of this pull request?

What changes did you make? (Give an overview)

Add a new rule spec-only to check for non-spec Promise methods

Fixes #46.

codecov[bot] commented 1 month 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 (854b837). Report is 25 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #502 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 25 25 Lines 649 675 +26 Branches 250 254 +4 ========================================= + Hits 649 675 +26 ```

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