Oxlint apps_v1.57.0: What’s New
Key Changes
- New Features: Oxlint v1.57.0 introduces
vitest/prefer-strict-boolean-matchersfor better test assertion practices andunicorn/custom-error-definitionfor consistent error handling. Oxfmt v0.42.0 now supports JSDoc comment formatting and HTML-in-JS substitution, improving code readability. - Bug Fixes: The update resolves several linter issues, including false positives for
String.rawinhex-escapeandescape-caserules, and false negatives forexplicit-function-return-type. Memory leaks in linter plugins have been fixed, along with improvedno-cycledetection for TypeScript configurations. Oxfmt also aligns trailing comment formatting with Prettier. - Performance Boosts: Oxlint sees substantial performance gains through optimizations in linter plugins, such as sharing
Uint32Arrayinstances, faster span-to-location conversion, and reduced allocations for tokens and comments. These changes contribute to quicker linting cycles.
Impact for QA Teams
This update enhances code quality checks, especially for Vitest users, by enforcing stricter boolean matchers. QA teams will benefit from fewer false positives in linting reports, leading to more accurate and efficient defect detection. The performance improvements can also shorten CI/CD pipeline times for linting stages.
For more details, refer to OxC’s official release notes for oxlint apps_v1.57.0.
