Files
bun.sh/src/js/internal
robobun 2b7fc18092 fix(lint): resolve no-unused-expressions errors (#23127)
## Summary

Fixes all oxlint `no-unused-expressions` violations across the codebase
by:
- Adding an oxlint override to disable the rule for
`src/js/builtins/**`, where special syntax markers like `$getter`,
`$constructor`, etc. are intentionally used as standalone expressions
- Converting short-circuit expressions (`condition && fn()`) to proper
if statements for improved code clarity
- Wrapping intentional property access side effects (e.g.,
`this.stdio;`, `err.stack;`) with the `void` operator
- Converting ternary expressions used for control flow to if/else
statements

## Test plan

- [x] `bun lint` passes with no errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-30 04:45:34 -07:00
..
2025-02-14 23:30:18 -08:00
2025-04-19 05:41:34 -07:00
2024-01-15 18:54:37 -08:00
2025-05-31 16:21:08 -07:00
2025-05-02 12:55:57 -07:00
2025-05-10 21:28:31 -07:00
2024-08-18 00:12:42 -07:00
2025-09-01 16:20:13 -07:00
2025-05-05 19:40:57 -07:00
2025-09-01 16:20:13 -07:00
2025-05-28 17:04:37 -07:00
2025-08-04 19:42:40 -07:00
2025-04-19 05:41:34 -07:00
2025-09-01 16:20:13 -07:00