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: remove unnecessary example #3185

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

lanker
Copy link
Contributor

@lanker lanker commented Jun 12, 2024

The two examples given only differed on how the div element was closed (self-closing vs non-self-closing), which is not relevant to the rule at hand. To avoid confusing the reader, let's keep only one of the examples.

The non-self-closing case is tested explicitly in the dedicated test cases for useKeyWithClickEvents, so we don't loose any test coverage with this change.

Moved here from biomejs/website#591

The two examples given only differed on how the div element was closed
(self-closing vs non-self-closing), which is not relevant to the rule at
hand. To avoid confusing the reader, let's keep only one of the
examples.

The non-self-closing case is tested explicitly in the dedicated test
cases for useKeyWithClickEvents, so we don't loose any test coverage
with this change.
@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Jun 12, 2024
Copy link
Member

@Sec-ant Sec-ant left a comment

Choose a reason for hiding this comment

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

Thank you

@Sec-ant Sec-ant merged commit a4b050b into biomejs:main Jun 12, 2024
12 checks passed
Copy link

codspeed-hq bot commented Jun 12, 2024

CodSpeed Performance Report

Merging #3185 will not alter performance

Comparing lanker:lanker/dupe.example (e903115) with main (0d9b60a)

Summary

✅ 90 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants