/eslint-plugin-oxlint

Turn off all rules already supported by oxlint

Primary LanguageJavaScriptMIT LicenseMIT

eslint-plugin-oxlint

Turn off all rules already supported by oxlint. The rules extracted from here

What is oxlint?

You can see https://oxc-project.github.io/blog/2023-12-12-announcing-oxlint.html

Installation

pnpm add eslint-plugin-oxlint --D

Usage

This is a flat config usage.

// eslint.config.js
import oxlint from "eslint-plugin-oxlint"
export default [
  ... // other plugins
  oxlint, // oxlint should be the last one
]

And then you can add the following script to your package.json:

{
  "scripts": {
    "lint": "npx oxlint && npx eslint"
  }
}

VSCode Support

You need to install both the oxc and eslint extensions

License

MIT