Skip to content

fix(no-native): fix to report Promise usage in eslint v9 or later#619

Merged
ota-meshi merged 2 commits intomainfrom
fix-no-native
Apr 27, 2026
Merged

fix(no-native): fix to report Promise usage in eslint v9 or later#619
ota-meshi merged 2 commits intomainfrom
fix-no-native

Conversation

@ota-meshi
Copy link
Copy Markdown
Member

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other, please explain:

What changes did you make? (Give an overview)

In this PR, I changed the no-native rule to be tolerant of reporting global promises and undefined promises.
This change allows for compatibility with ESLint v9 and v10.

closes #611

Comment thread package-lock.json
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@ota-meshi ota-meshi requested review from a team March 2, 2026 09:58
@brettz9
Copy link
Copy Markdown
Member

brettz9 commented Apr 26, 2026

@ota-meshi : Could you just move forward with this? I think it'd be good to get the ESLint 10 issue resolved, and I think with no one objecting, it should be fine to just go forward with your changes.

@ota-meshi
Copy link
Copy Markdown
Member Author

Thanks for letting me know!
OK, I'll merge this pull request.

@ota-meshi ota-meshi merged commit 1230ced into main Apr 27, 2026
12 checks passed
@ota-meshi ota-meshi deleted the fix-no-native branch April 27, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The behavior of no-native has changed

2 participants