Skip to content

oxlint v0.0.18

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Nov 07:16

Try it out!

oxlint has 78 correctness rules turned on by default, with 164 rules in total.

What's Changed

Features

If you wish to fail CI with exit code 1, pin oxlint to a version and use the --deny-warnings flag:

npx oxlint@0.0.18 --deny-warnings
image

Notice $? prints 1.

New Rules

Correctness

Pedantic

  • eslint-plugin-unicorn: no lonely if by @camc314 in #1252
  • eslint-plugin-unicorn: no negated condition by @camc314 in #1253
  • eslint-plugin-unicorn: no this assignment by @camc314 in #1250
  • eslint-plugin-unicorn: no typeof undefined by @camc314 in #1251
  • eslint-plugin-unicorn: no useless promise resolve reject by @camc314 in #1254
  • eslint-plugin-unicorn: prefer array some by @camc314 in #1467
  • eslint-plugin-unicorn: prefer dom node append by @camc314 in #1256
  • eslint-plugin-unicorn: prefer dom node dataset by @camc314 in #1257
  • eslint-plugin-unicorn: prefer dom node remove by @camc314 in #1472
  • eslint-plugin-unicorn: prefer event target by @camc314 in #1465
  • eslint-plugin-unicorn: prefer math trunc by @camc314 in #1466
  • eslint-plugin-unicorn: prefer string replace all by @camc314 in #1248
  • eslint-plugin-unicorn: no useless switch case by @camc314 in #1463
  • eslint-plugin-unicorn: no-hex-escape by @RiESAEX in #1410

Restriction

Style

Fixes

Misc

New Contributors

Full Changelog: oxlint_v0.0.17...oxlint_v0.0.18