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

fix: permit appropriate computed member expressions and prototype access #535

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

brettz9
Copy link
Member

@brettz9 brettz9 commented Aug 7, 2024

What is the purpose of this pull request?

  • 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.

@brettz9 brettz9 requested a review from voxpelli August 7, 2024 12:08
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

rules/spec-only.js Outdated Show resolved Hide resolved
@brettz9 brettz9 force-pushed the static-access branch 2 times, most recently from 380e467 to 65a8b7d Compare August 7, 2024 12:36
__tests__/spec-only.js Show resolved Hide resolved
rules/spec-only.js Outdated Show resolved Hide resolved
Copy link
Contributor

@scagood scagood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💪

@brettz9 brettz9 requested a review from a team October 16, 2024 22:27
@brettz9 brettz9 merged commit 4de9d43 into eslint-community:main Oct 26, 2024
11 checks passed
@brettz9 brettz9 deleted the static-access branch October 26, 2024 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants