github oxc-project/oxc oxlint_v0.0.22
oxlint v0.0.22

latest releases: oxlint_v0.9.9, crates_v0.30.5, crates_v0.30.4...
9 months ago

What's Changed

New Rules

Reports errors when a comparison is redundant, or impossible.

A redundant check would be foo > 5 && foo > 10
An impossible check would be foo > 5 && foo < 5

Screenshot 2023-12-17 at 21 18 34

https://rust-lang.github.io/rust-clippy/master/index.html#/redundant_comparisons
https://rust-lang.github.io/rust-clippy/master/index.html#/impossible

https://rust-lang.github.io/rust-clippy/master/index.html#/double_comparisons

Screenshot 2023-12-17 at 22 34 06

Performance

10 - 20% faster than the previous version.

Sampling from an internal codebase (119900 files) - Before 12.8s vs 11.2s after.

Improvements

Fixes

parser

New Contributors

Full Changelog: oxlint_v0.0.21...oxlint_v0.0.22

Don't miss a new oxc release

NewReleases is sending notifications on new releases.