JSPM

  • Created
  • Published
  • Downloads 86537
  • Score
    100M100P100Q164327F
  • License MIT

Turn off all rules already supported by oxlint

Package Exports

  • eslint-plugin-oxlint
  • eslint-plugin-oxlint/rules

Readme

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 should be the last one
  oxlint,
]

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