Skip to content

fix: remove unnecessary example#3185

Merged
Sec-ant merged 1 commit intobiomejs:mainfrom
lanker:lanker/dupe.example
Jun 12, 2024
Merged

fix: remove unnecessary example#3185
Sec-ant merged 1 commit intobiomejs:mainfrom
lanker:lanker/dupe.example

Conversation

@lanker
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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
@codspeed-hq
Copy link
Copy Markdown

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