New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-oxlint

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-oxlint - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

index.js

@@ -9,2 +9,8 @@ import * as ruleMaps from './rules.js'

rules,
configs: {
recommended: {
plugins: ["oxlint"],
rules,
},
},
};

2

package.json
{
"name": "eslint-plugin-oxlint",
"version": "0.2.1",
"version": "0.2.2",
"description": "Turn off all rules already supported by oxlint",

@@ -5,0 +5,0 @@ "type": "module",

@@ -17,13 +17,32 @@ # eslint-plugin-oxlint

This is a flat config usage.
### Flat config
This plugin is optimized for flat config usage (eslint >= 9.0). See [here](https://eslint.org/docs/latest/use/configure/configuration-files-new) for more details. Use it like this:
```js
// eslint.config.js
import oxlint from "eslint-plugin-oxlint"
import oxlint from "eslint-plugin-oxlint";
export default [
... // other plugins
...// other plugins
oxlint, // oxlint should be the last one
]
];
```
### Legacy config
If you are using legacy configuration (eslint < 9.0), you can use the following config:
```js
// .eslintrc.js
module.exports = {
... // other config
presets: [
... // other presets
"plugin:oxlint/recommended",
],
}
```
### Run it before eslint
And then you can add the following script to your `package.json`:

@@ -44,2 +63,3 @@

## License
[MIT](https://github.com/Dunqing/eslint-plugin-oxlint/blob/main/LICENSE)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc