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

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

What's Changed

Features

Read eslint JSON configuration (experimental)

Added the configuration flag -c .eslintrc.json.

Oxlint will override all the enabled rules to what's specified in rules, e.g.

{
    "rules": {
        "eqeqeq": "off",
        "curly": "error",
        "quotes": ["error", "double"]
    }
}

New Rules

  • eslint-plugin-jsx-a11y: no-access-key (correctness) by @yoshi2no in #1708
  • eslint-plugin-jsx-a11y: tabindex-no-positive (correctness) by @yoshi2no in #1677
  • eslint-plugin-import: export rule (nursery) by @mysteryven in #1654
  • eslint-plugin-unicorn: no-null (style) by @Ken-HH24 in #1705
  • eslint-plugin-unicorn: prefer-dom-node-text-content (style) by @Ken-HH24 in #1658
  • eslint-plugin-unicorn: prefer-prototype-methods (pedantic) by @haocheng6 in #1660

vscode

Fixes

  • fix(parser): false postive for "Missing initializer in const declaration" in declare + namespace by @Boshen in #1724
  • convert catch error name to a warning by @camc314 in #1700
  • Don't check for multiple bits at once. by @AndyA in #1688
  • Fix false positives in prefer string start, ends with, port more test cases by @camc314 in #1689
  • Panic in prefer string starts, ends with by @camc314 in #1684
  • excape_case by @RiESAEX in #1673
  • false positive in jsx key by @camc314 in #1686
  • improve diagnostic for no useless spread by @camc314 in #1698
  • perf(linter): find class node by symbols in get_parent_es6_component by @Dunqing in #1657
  • refactor(linter): make some jest rules report more detailed by @mysteryven in #1666

New Contributors

Full Changelog: oxlint_v0.0.20...oxlint_v0.0.21

Don't miss a new oxc release

NewReleases is sending notifications on new releases.