Oxlint apps_v1.57.0: What’s New

Key Changes

  • New Features: Oxlint v1.57.0 introduces vitest/prefer-strict-boolean-matchers for better test assertion practices and unicorn/custom-error-definition for 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.raw in hex-escape and escape-case rules, and false negatives for explicit-function-return-type. Memory leaks in linter plugins have been fixed, along with improved no-cycle detection 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 Uint32Array instances, 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.