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(linter): fix guard_for_in span error #2755

Merged
merged 8 commits into from
Mar 19, 2024

Conversation

JoSeBu1
Copy link
Contributor

@JoSeBu1 JoSeBu1 commented Mar 18, 2024

As talked here #2746 (comment) errors in guard_for_in could be improved so I attempted to improve it.

If anyone have a suggestion for the span element positions say me!

@github-actions github-actions bot added the A-linter Area - Linter label Mar 18, 2024
j.buendia and others added 4 commits March 18, 2024 16:40
# Conflicts:
#	crates/oxc_linter/src/rules/eslint/guard_for_in.rs
#	crates/oxc_linter/src/snapshots/guard_for_in.snap
Copy link

codspeed-hq bot commented Mar 18, 2024

CodSpeed Performance Report

Merging #2755 will not alter performance

Comparing JoSeBu1:feat/guard_for_in (876a192) with main (5edd196)

Summary

✅ 29 untouched benchmarks

Copy link
Member

@mysteryven mysteryven left a comment

Choose a reason for hiding this comment

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

It's a nice way!

@mysteryven mysteryven merged commit a671d75 into oxc-project:main Mar 19, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants