eslint-plugin-oxlint
Advanced tools
Comparing version 0.2.4 to 0.2.7
{ | ||
"name": "eslint-plugin-oxlint", | ||
"version": "0.2.4", | ||
"version": "0.2.7", | ||
"description": "Turn off all rules already supported by oxlint", | ||
@@ -34,5 +34,7 @@ "type": "module", | ||
"@eslint/eslintrc": "^3.0.0", | ||
"@types/eslint": "^8.56.5", | ||
"@types/node": "^20.10.5", | ||
"@typescript-eslint/eslint-plugin": "^6.16.0", | ||
"@typescript-eslint/eslint-plugin": "^7.0.0", | ||
"@typescript-eslint/parser": "^6.16.0", | ||
"@vitest/coverage-v8": "^1.3.1", | ||
"axios": "^1.6.3", | ||
@@ -42,4 +44,4 @@ "bumpp": "^9.2.1", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-unicorn": "^50.0.1", | ||
"husky": "^8.0.3", | ||
"eslint-plugin-unicorn": "^51.0.1", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.0", | ||
@@ -49,3 +51,4 @@ "oxlint": "^0.2.8", | ||
"tsx": "^4.7.0", | ||
"typescript": "^5.3.3" | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.3.1" | ||
}, | ||
@@ -60,4 +63,5 @@ "lint-staged": { | ||
"format": "npx prettier --write .", | ||
"release": "bumpp package.json" | ||
"release": "bumpp package.json", | ||
"test": "vitest run" | ||
} | ||
} |
# eslint-plugin-oxlint | ||
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/oxc-project/eslint-plugin-oxlint/.github%2Fworkflows%2Ftest.yml?branch=main) | ||
![NPM Version](https://img.shields.io/npm/v/eslint-plugin-oxlint) ![NPM Downloads](https://img.shields.io/npm/dm/eslint-plugin-oxlint) | ||
Turn off all rules already supported by `oxlint`. The rules are extracted from [here](https://github.com/oxc-project/oxc/blob/main/crates/oxc_linter/src/rules.rs) | ||
@@ -4,0 +7,0 @@ |
27
rules.js
@@ -11,3 +11,8 @@ // These rules are automatically generated by scripts/generate-rules.ts | ||
"getter-return": "off", | ||
"guard-for-in": "off", | ||
"max-lines": "off", | ||
"max-params": "off", | ||
"no-ternary": "off", | ||
"no-this-before-super": "off", | ||
"no-template-curly-in-string": "off", | ||
"no-array-constructor": "off", | ||
@@ -25,2 +30,3 @@ "no-async-promise-executor": "off", | ||
"no-constant-condition": "off", | ||
"no-continue": "off", | ||
"no-control-regex": "off", | ||
@@ -40,2 +46,3 @@ "no-debugger": "off", | ||
"no-extra-boolean-cast": "off", | ||
"no-eq-null": "off", | ||
"no-fallthrough": "off", | ||
@@ -53,2 +60,3 @@ "no-func-assign": "off", | ||
"no-obj-calls": "off", | ||
"no-proto": "off", | ||
"no-prototype-builtins": "off", | ||
@@ -71,4 +79,6 @@ "no-redeclare": "off", | ||
"no-useless-escape": "off", | ||
"no-useless-rename": "off", | ||
"no-var": "off", | ||
"no-void": "off", | ||
"no-with": "off", | ||
"require-yield": "off", | ||
@@ -128,2 +138,8 @@ "use-isnan": "off", | ||
"jest/prefer-equality-matcher": "off", | ||
"jest/prefer-expect-resolves": "off", | ||
"jest/prefer-spy-on": "off", | ||
"jest/prefer-strict-equal": "off", | ||
"jest/prefer-to-be": "off", | ||
"jest/prefer-to-contain": "off", | ||
"jest/prefer-to-have-length": "off", | ||
"jest/prefer-todo": "off", | ||
@@ -262,3 +278,4 @@ "jest/require-to-throw-message": "off", | ||
"import/no-unused-modules": "off", | ||
"import/no-duplicates": "off" | ||
"import/no-duplicates": "off", | ||
"import/no-default-export": "off" | ||
} | ||
@@ -317,2 +334,7 @@ | ||
const treeShakingRules = { | ||
"tree-shaking/no-side-effects-in-initialization": "off" | ||
} | ||
export { | ||
@@ -327,3 +349,4 @@ eslintRules, | ||
jsxA11yRules, | ||
nextjsRules | ||
nextjsRules, | ||
treeShakingRules | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61336
24
904
67
18