eslint-plugin-promise
eslint-plugin-promise copied to clipboard
fix: permit appropriate computed member expressions and prototype access
What is the purpose of this pull request?
- [x] Bug fix
What changes did you make? (Give an overview)
Permits appropriate computed member expressions such as Promise['all'] and suitable prototype access (e.g., Promise.prototype.catch) but errs on detectable problems (e.g., Promise.prototype.done).
Fixes #533, Fixes #534.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
bbcfcbf) to head (fd72cbc). Report is 68 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #535 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 26 +1
Lines 649 735 +86
Branches 250 290 +40
=========================================
+ Hits 649 735 +86
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.