diff --git a/package.json b/package.json index 964950b..555fedf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-oxlint", - "version": "0.8.0", + "version": "0.9.0", "description": "Turn off all rules already supported by oxlint", "type": "module", "packageManager": "pnpm@9.8.0", diff --git a/src/rules-by-category.ts b/src/rules-by-category.ts index a714d86..38b3786 100644 --- a/src/rules-by-category.ts +++ b/src/rules-by-category.ts @@ -16,6 +16,7 @@ const pedanticRules = { 'require-await': 'off', 'symbol-description': 'off', 'import/max-dependencies': 'off', + 'jest/no-conditional-in-test': 'off', 'jsdoc/require-param': 'off', 'jsdoc/require-param-description': 'off', 'jsdoc/require-param-name': 'off', @@ -307,6 +308,8 @@ const correctnessRules = { 'unicorn/no-new-array': 'off', 'unicorn/no-thenable': 'off', 'unicorn/no-useless-length-check': 'off', + 'vitest/no-conditional-tests': 'off', + 'vitest/require-local-test-context-for-concurrent-snapshots': 'off', }; const perfRules = { @@ -353,6 +356,7 @@ const fixRules = { '@typescript-eslint/consistent-type-definitions': 'off', '@typescript-eslint/no-import-type-side-effects': 'off', '@typescript-eslint/no-useless-empty-export': 'off', + '@typescript-eslint/no-wrapper-object-types': 'off', '@typescript-eslint/prefer-namespace-keyword': 'off', '@typescript-eslint/prefer-ts-expect-error': 'off', 'unicorn/empty-brace-spaces': 'off', @@ -392,6 +396,7 @@ const pendingRules = { 'jsx-a11y/scope': 'off', 'jsx-a11y/tabindex-no-positive': 'off', 'react/jsx-props-no-spread-multi': 'off', + 'unicorn/consistent-function-scoping': 'off', 'unicorn/prefer-array-flat': 'off', 'unicorn/prefer-array-some': 'off', 'unicorn/prefer-date-now': 'off', diff --git a/src/rules-by-scope.ts b/src/rules-by-scope.ts index 35dca61..307db16 100644 --- a/src/rules-by-scope.ts +++ b/src/rules-by-scope.ts @@ -130,6 +130,7 @@ const jestRules = { 'jest/no-alias-methods': 'off', 'jest/no-commented-out-tests': 'off', 'jest/no-conditional-expect': 'off', + 'jest/no-conditional-in-test': 'off', 'jest/no-confusing-set-timeout': 'off', 'jest/no-deprecated-functions': 'off', 'jest/no-disabled-tests': 'off', @@ -322,6 +323,7 @@ const typescriptRules = { '@typescript-eslint/no-unsafe-declaration-merging': 'off', '@typescript-eslint/no-useless-empty-export': 'off', '@typescript-eslint/no-var-requires': 'off', + '@typescript-eslint/no-wrapper-object-types': 'off', '@typescript-eslint/prefer-as-const': 'off', '@typescript-eslint/prefer-enum-initializers': 'off', '@typescript-eslint/prefer-for-of': 'off', @@ -334,6 +336,7 @@ const typescriptRules = { const unicornRules = { 'unicorn/catch-error-name': 'off', + 'unicorn/consistent-function-scoping': 'off', 'unicorn/empty-brace-spaces': 'off', 'unicorn/error-message': 'off', 'unicorn/escape-case': 'off', @@ -420,9 +423,11 @@ const unicornRules = { }; const vitestRules = { + 'vitest/no-conditional-tests': 'off', 'vitest/no-import-node-test': 'off', 'vitest/prefer-to-be-falsy': 'off', 'vitest/prefer-to-be-truthy': 'off', + 'vitest/require-local-test-context-for-concurrent-snapshots': 'off', }; export {