Skip to content

refactor(linter): simplify implementation of eslint/no-lonely-if#11550

Merged
camc314 merged 1 commit intooxc-project:mainfrom
ulrichstark:refactor-no-lonely-if-to-shorten-code
Jun 10, 2025
Merged

refactor(linter): simplify implementation of eslint/no-lonely-if#11550
camc314 merged 1 commit intooxc-project:mainfrom
ulrichstark:refactor-no-lonely-if-to-shorten-code

Conversation

@ulrichstark
Copy link
Copy Markdown
Contributor

No description provided.

@ulrichstark ulrichstark requested a review from camc314 as a code owner June 7, 2025 19:30
@github-actions github-actions bot added A-linter Area - Linter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jun 7, 2025
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Jun 7, 2025

CodSpeed Instrumentation Performance Report

Merging #11550 will create unknown performance changes

Comparing ulrichstark:refactor-no-lonely-if-to-shorten-code (f10707b) with main (d41fb13)

Summary

🆕 38 new benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
🆕 codegen[RadixUIAdoptionSection.jsx] N/A 132.4 µs N/A
🆕 codegen[binder.ts] N/A 4.8 ms N/A
🆕 codegen[cal.com.tsx] N/A 38.9 ms N/A
🆕 codegen[react.development.js] N/A 2.2 ms N/A
🆕 formatter[RadixUIAdoptionSection.jsx] N/A 302.2 µs N/A
🆕 formatter[binder.ts] N/A 19.4 ms N/A
🆕 formatter[cal.com.tsx] N/A 150.8 ms N/A
🆕 formatter[react.development.js] N/A 9.5 ms N/A
🆕 lexer[RadixUIAdoptionSection.jsx] N/A 21 µs N/A
🆕 lexer[binder.ts] N/A 929.5 µs N/A
🆕 lexer[cal.com.tsx] N/A 5.8 ms N/A
🆕 lexer[react.development.js] N/A 383.8 µs N/A
🆕 linter[RadixUIAdoptionSection.jsx] N/A 2.6 ms N/A
🆕 linter[binder.ts] N/A 149.2 ms N/A
🆕 linter[cal.com.tsx] N/A 1.2 s N/A
🆕 linter[react.development.js] N/A 54.7 ms N/A
🆕 mangler[RadixUIAdoptionSection.jsx] N/A 14.3 µs N/A
🆕 mangler[binder.ts] N/A 807.3 µs N/A
🆕 mangler[cal.com.tsx] N/A 3.1 ms N/A
🆕 mangler[react.development.js] N/A 284.1 µs N/A
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

@ulrichstark ulrichstark changed the title refactor(linter): shorten implementation of eslint/no-lonely-if refactor(linter): simplify implementation of eslint/no-lonely-if Jun 7, 2025
Copy link
Copy Markdown
Contributor

@camc314 camc314 left a comment

Choose a reason for hiding this comment

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

looks fine, will merge after 1.0 thanks

@camc314 camc314 marked this pull request as draft June 8, 2025 10:12
@camc314 camc314 self-assigned this Jun 8, 2025
@camc314 camc314 marked this pull request as ready for review June 10, 2025 13:40
@camc314 camc314 force-pushed the refactor-no-lonely-if-to-shorten-code branch from 1b9dcc7 to f10707b Compare June 10, 2025 13:40
@camc314 camc314 merged commit d29bbb2 into oxc-project:main Jun 10, 2025
23 checks passed
@ulrichstark ulrichstark deleted the refactor-no-lonely-if-to-shorten-code branch June 10, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-linter Area - Linter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants