Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-oxlint

Package Overview
Dependencies
Maintainers
2
Versions
35
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.0.1-beta.3 to 0.0.1-beta.4

2

eslint.config.js

@@ -11,5 +11,5 @@ import oxlint from "./index.js"

eslint.configs.recommended,
oxlint,
unicorn.configs["flat/recommended"],
...compat.extends("plugin:@typescript-eslint/recommended"),
oxlint,
]

@@ -1,10 +0,9 @@

import { deepscanRules, importRules, eslintRules, typescriptRules} from './rules.js'
import * as ruleMaps from './rules.js'
// merge objects into one array
const rules = Object.values(ruleMaps).reduce((accumulator, object) => ({ ...accumulator, ...object }))
export default {
rules: {
...deepscanRules,
...importRules,
...eslintRules,
...typescriptRules
}
rules,
};
{
"name": "eslint-plugin-oxlint",
"version": "0.0.1-beta.3",
"version": "0.0.1-beta.4",
"description": "Turn off all rules already supported by oxlint",

@@ -17,2 +17,9 @@ "type": "module",

},
"author": "Dunqing <dengqing0821@gmail.com>",
"homepage": "https://github.com/oxc-project/eslint-plugin-oxlint",
"repository": {
"type": "git",
"url": "git@github.com:oxc-project/eslint-plugin-oxlint.git"
},
"license": "MIT",
"keywords": [

@@ -24,4 +31,2 @@ "oxc",

],
"author": "Dunqing <dengqing0821@gmail.com>",
"license": "MIT",
"devDependencies": {

@@ -28,0 +33,0 @@ "@eslint/eslintrc": "^3.0.0",

@@ -23,4 +23,5 @@ # eslint-plugin-oxlint

export default [
... // other plugins
// oxlint should be the last one
oxlint,
... // other plugins
]

@@ -27,0 +28,0 @@ ```

// These rules are automatically generated by scripts/generate-rules.ts
export const deepscanRules = {
"deepscan/bad-array-method-on-arguments": "off",
"deepscan/bad-bitwise-operator": "off",
"deepscan/bad-char-at-comparison": "off",
"deepscan/bad-comparison-sequence": "off",
"deepscan/bad-min-max-func": "off",
"deepscan/bad-replace-all-arg": "off",
"deepscan/missing-throw": "off",
"deepscan/number-arg-out-of-range": "off",
"deepscan/uninvoked-array-callback": "off"
}
export const eslintRules = {

@@ -180,2 +168,3 @@ "array-callback-return": "off",

"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-modern-math-apis": "off",
"unicorn/prefer-native-coercion-functions": "off",

@@ -209,2 +198,3 @@ "unicorn/no-useless-spread": "off",

"react/jsx-no-useless-fragment": "off",
"react/jsx-no-undef": "off",
"react/react-in-jsx-scope": "off",

@@ -234,2 +224,3 @@ "react/no-children-prop": "off",

"jsx-a11y/aria-props": "off",
"jsx-a11y/aria-unsupported-elements": "off",
"jsx-a11y/heading-has-content": "off",

@@ -241,8 +232,11 @@ "jsx-a11y/html-has-lang": "off",

"jsx-a11y/media-has-caption": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-access-key": "off",
"jsx-a11y/no-aria-hidden-on-focusable": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/prefer-tag-over-role": "off",
"jsx-a11y/scope": "off",
"jsx-a11y/tab-index-no-positive": "off",
"jsx-a11y/aria-role": "off",
"jsx-a11y/no-distracting-elements": "off"
}

@@ -11,3 +11,3 @@ import axios from 'axios'

const rulesMap = new Map<string, Array<string>>()
const ignoreScope = new Set(["oxc", "deepscane"])
const ignoreScope = new Set(["oxc", "deepscan"])

@@ -14,0 +14,0 @@ const scopeMaps = {

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