Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update oxlint to 0.2.12 #17

Merged
merged 1 commit into from Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.2.8",
"version": "0.2.4",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"packageManager": "pnpm@8.13.1",
Expand Down
24 changes: 19 additions & 5 deletions rules.cjs
Expand Up @@ -44,6 +44,8 @@ const eslintRules = {
"no-loss-of-precision": "off",
"no-mixed-operators": "off",
"no-new-symbol": "off",
"no-new-wrappers": "off",
"no-nonoctal-decimal-escape": "off",
"no-obj-calls": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
Expand Down Expand Up @@ -74,6 +76,7 @@ const typescriptRules = {
"@typescript-eslint/adjacent-overload-signatures": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-tslint-comment": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-duplicate-enum-values": "off",
"@typescript-eslint/no-empty-interface": "off",
Expand All @@ -87,6 +90,8 @@ const typescriptRules = {
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/prefer-ts-expect-error": "off",
"@typescript-eslint/triple-slash-reference": "off"
}

Expand Down Expand Up @@ -114,7 +119,9 @@ const jestRules = {
"jest/no-test-prefixes": "off",
"jest/no-test-return-statement": "off",
"jest/prefer-called-with": "off",
"jest/prefer-equality-matcher": "off",
"jest/prefer-todo": "off",
"jest/require-to-throw-message": "off",
"jest/valid-describe-callback": "off",
"jest/valid-expect": "off",
"jest/valid-title": "off"
Expand Down Expand Up @@ -147,6 +154,7 @@ const unicornRules = {
"unicorn/no-new-buffer": "off",
"unicorn/no-null": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-static-only-class": "off",
"unicorn/no-thenable": "off",
"unicorn/no-this-assignment": "off",
Expand Down Expand Up @@ -219,7 +227,8 @@ const reactRules = {
"react/no-unescaped-entities": "off",
"react/no-is-mounted": "off",
"react/no-unknown-property": "off",
"react/require-render-return": "off"
"react/require-render-return": "off",
"react/void-dom-elements-no-children": "off"
}


Expand All @@ -233,13 +242,18 @@ const reactPerfRules = {

const importRules = {
"import/default": "off",
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"import/export": "off",
"import/named": "off",
"import/namespace": "off",
"import/no-amd": "off",
"import/no-cycle": "off",
"import/no-deprecated": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "off",
"import/no-amd": "off",
"import/export": "off"
"import/no-unresolved": "off",
"import/no-unused-modules": "off",
"import/no-duplicates": "off"
}


Expand Down
24 changes: 19 additions & 5 deletions rules.js
Expand Up @@ -44,6 +44,8 @@ const eslintRules = {
"no-loss-of-precision": "off",
"no-mixed-operators": "off",
"no-new-symbol": "off",
"no-new-wrappers": "off",
"no-nonoctal-decimal-escape": "off",
"no-obj-calls": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
Expand Down Expand Up @@ -74,6 +76,7 @@ const typescriptRules = {
"@typescript-eslint/adjacent-overload-signatures": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-tslint-comment": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-duplicate-enum-values": "off",
"@typescript-eslint/no-empty-interface": "off",
Expand All @@ -87,6 +90,8 @@ const typescriptRules = {
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/prefer-ts-expect-error": "off",
"@typescript-eslint/triple-slash-reference": "off"
}

Expand Down Expand Up @@ -114,7 +119,9 @@ const jestRules = {
"jest/no-test-prefixes": "off",
"jest/no-test-return-statement": "off",
"jest/prefer-called-with": "off",
"jest/prefer-equality-matcher": "off",
"jest/prefer-todo": "off",
"jest/require-to-throw-message": "off",
"jest/valid-describe-callback": "off",
"jest/valid-expect": "off",
"jest/valid-title": "off"
Expand Down Expand Up @@ -147,6 +154,7 @@ const unicornRules = {
"unicorn/no-new-buffer": "off",
"unicorn/no-null": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-static-only-class": "off",
"unicorn/no-thenable": "off",
"unicorn/no-this-assignment": "off",
Expand Down Expand Up @@ -219,7 +227,8 @@ const reactRules = {
"react/no-unescaped-entities": "off",
"react/no-is-mounted": "off",
"react/no-unknown-property": "off",
"react/require-render-return": "off"
"react/require-render-return": "off",
"react/void-dom-elements-no-children": "off"
}


Expand All @@ -233,13 +242,18 @@ const reactPerfRules = {

const importRules = {
"import/default": "off",
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"import/export": "off",
"import/named": "off",
"import/namespace": "off",
"import/no-amd": "off",
"import/no-cycle": "off",
"import/no-deprecated": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "off",
"import/no-amd": "off",
"import/export": "off"
"import/no-unresolved": "off",
"import/no-unused-modules": "off",
"import/no-duplicates": "off"
}


Expand Down