Skip to content

Conversation

@brettz9
Copy link
Member

@brettz9 brettz9 commented Jul 25, 2024

What is the purpose of this pull request?

  • Changes an existing rule

What changes did you make? (Give an overview)

For no-promise-in-callback, add an exemptDeclarations option to prevent reporting when the promise is within function declarations.

Fixes #445

@codecov
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bbcfcbf) to head (9293950).
Report is 89 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #513    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           25        29     +4     
  Lines          649       812   +163     
  Branches       250       318    +68     
==========================================
+ Hits           649       812   +163     

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

@brettz9 brettz9 requested a review from a team July 25, 2024 03:25
@brettz9 brettz9 force-pushed the exemptDeclarations branch 2 times, most recently from 7ec440a to 57df46a Compare July 30, 2024 03:02
@brettz9 brettz9 force-pushed the exemptDeclarations branch 2 times, most recently from 13fa1d5 to 1948aed Compare October 16, 2024 20:12
@brettz9 brettz9 force-pushed the exemptDeclarations branch from 1948aed to 9293950 Compare October 26, 2024 04:03
@aladdin-add aladdin-add merged commit 550524f into eslint-community:main Dec 17, 2024
11 checks passed
@brettz9 brettz9 deleted the exemptDeclarations branch December 17, 2024 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positive of isInsideCallback for functions with first arg named err/error

3 participants