eslint-plugin-oxlint
Advanced tools
Comparing version 0.13.2 to 0.14.0
@@ -130,2 +130,3 @@ declare const configByCategory: { | ||
readonly '@typescript-eslint/no-require-imports': "off"; | ||
readonly '@typescript-eslint/no-unused-expressions': "off"; | ||
readonly '@typescript-eslint/no-var-requires': "off"; | ||
@@ -167,6 +168,7 @@ readonly '@typescript-eslint/prefer-literal-enum-member': "off"; | ||
readonly 'prefer-object-has-own': "off"; | ||
readonly 'prefer-spread': "off"; | ||
readonly 'sort-imports': "off"; | ||
readonly 'sort-keys': "off"; | ||
readonly 'import/first': "off"; | ||
readonly 'import/import-no-namespace': "off"; | ||
readonly 'import/no-namespace': "off"; | ||
readonly 'jest/consistent-test-it': "off"; | ||
@@ -221,2 +223,3 @@ readonly 'jest/max-expects': "off"; | ||
readonly '@typescript-eslint/ban-tslint-comment': "off"; | ||
readonly '@typescript-eslint/consistent-generic-constructors': "off"; | ||
readonly '@typescript-eslint/consistent-indexed-object-style': "off"; | ||
@@ -227,2 +230,3 @@ readonly '@typescript-eslint/consistent-type-definitions': "off"; | ||
readonly '@typescript-eslint/no-empty-interface': "off"; | ||
readonly '@typescript-eslint/no-inferrable-types': "off"; | ||
readonly '@typescript-eslint/no-magic-numbers': "off"; | ||
@@ -252,3 +256,2 @@ readonly '@typescript-eslint/prefer-for-of': "off"; | ||
readonly 'unicorn/prefer-reflect-apply': "off"; | ||
readonly 'unicorn/prefer-spread': "off"; | ||
readonly 'unicorn/prefer-string-raw': "off"; | ||
@@ -255,0 +258,0 @@ readonly 'unicorn/prefer-string-trim-start-end': "off"; |
@@ -107,2 +107,3 @@ declare const configByScope: { | ||
readonly 'prefer-object-has-own': "off"; | ||
readonly 'prefer-spread': "off"; | ||
readonly radix: "off"; | ||
@@ -125,3 +126,2 @@ readonly 'require-await': "off"; | ||
readonly 'import/first': "off"; | ||
readonly 'import/import-no-namespace': "off"; | ||
readonly 'import/max-dependencies': "off"; | ||
@@ -138,2 +138,3 @@ readonly 'import/named': "off"; | ||
readonly 'import/no-named-as-default-member': "off"; | ||
readonly 'import/no-namespace': "off"; | ||
readonly 'import/no-self-import': "off"; | ||
@@ -352,2 +353,3 @@ readonly 'import/no-webpack-loader-syntax': "off"; | ||
readonly '@typescript-eslint/ban-types': "off"; | ||
readonly '@typescript-eslint/consistent-generic-constructors': "off"; | ||
readonly '@typescript-eslint/consistent-indexed-object-style': "off"; | ||
@@ -370,2 +372,3 @@ readonly '@typescript-eslint/consistent-type-definitions': "off"; | ||
readonly '@typescript-eslint/no-import-type-side-effects': "off"; | ||
readonly '@typescript-eslint/no-inferrable-types': "off"; | ||
readonly '@typescript-eslint/no-loss-of-precision': "off"; | ||
@@ -384,2 +387,3 @@ readonly '@typescript-eslint/no-magic-numbers': "off"; | ||
readonly '@typescript-eslint/no-unsafe-function-type': "off"; | ||
readonly '@typescript-eslint/no-unused-expressions': "off"; | ||
readonly '@typescript-eslint/no-unused-vars': "off"; | ||
@@ -482,3 +486,2 @@ readonly '@typescript-eslint/no-useless-constructor': "off"; | ||
readonly 'unicorn/prefer-set-size': "off"; | ||
readonly 'unicorn/prefer-spread': "off"; | ||
readonly 'unicorn/prefer-string-raw': "off"; | ||
@@ -485,0 +488,0 @@ readonly 'unicorn/prefer-string-replace-all': "off"; |
@@ -124,2 +124,3 @@ declare const pedanticRules: { | ||
readonly '@typescript-eslint/no-require-imports': "off"; | ||
readonly '@typescript-eslint/no-unused-expressions': "off"; | ||
readonly '@typescript-eslint/no-var-requires': "off"; | ||
@@ -158,6 +159,7 @@ readonly '@typescript-eslint/prefer-literal-enum-member': "off"; | ||
readonly 'prefer-object-has-own': "off"; | ||
readonly 'prefer-spread': "off"; | ||
readonly 'sort-imports': "off"; | ||
readonly 'sort-keys': "off"; | ||
readonly 'import/first': "off"; | ||
readonly 'import/import-no-namespace': "off"; | ||
readonly 'import/no-namespace': "off"; | ||
readonly 'jest/consistent-test-it': "off"; | ||
@@ -212,2 +214,3 @@ readonly 'jest/max-expects': "off"; | ||
readonly '@typescript-eslint/ban-tslint-comment': "off"; | ||
readonly '@typescript-eslint/consistent-generic-constructors': "off"; | ||
readonly '@typescript-eslint/consistent-indexed-object-style': "off"; | ||
@@ -218,2 +221,3 @@ readonly '@typescript-eslint/consistent-type-definitions': "off"; | ||
readonly '@typescript-eslint/no-empty-interface': "off"; | ||
readonly '@typescript-eslint/no-inferrable-types': "off"; | ||
readonly '@typescript-eslint/no-magic-numbers': "off"; | ||
@@ -243,3 +247,2 @@ readonly '@typescript-eslint/prefer-for-of': "off"; | ||
readonly 'unicorn/prefer-reflect-apply': "off"; | ||
readonly 'unicorn/prefer-spread': "off"; | ||
readonly 'unicorn/prefer-string-raw': "off"; | ||
@@ -246,0 +249,0 @@ readonly 'unicorn/prefer-string-trim-start-end': "off"; |
@@ -104,2 +104,3 @@ declare const eslintRules: { | ||
readonly 'prefer-object-has-own': "off"; | ||
readonly 'prefer-spread': "off"; | ||
readonly radix: "off"; | ||
@@ -119,3 +120,2 @@ readonly 'require-await': "off"; | ||
readonly 'import/first': "off"; | ||
readonly 'import/import-no-namespace': "off"; | ||
readonly 'import/max-dependencies': "off"; | ||
@@ -132,2 +132,3 @@ readonly 'import/named': "off"; | ||
readonly 'import/no-named-as-default-member': "off"; | ||
readonly 'import/no-namespace': "off"; | ||
readonly 'import/no-self-import': "off"; | ||
@@ -319,2 +320,3 @@ readonly 'import/no-webpack-loader-syntax': "off"; | ||
readonly '@typescript-eslint/ban-types': "off"; | ||
readonly '@typescript-eslint/consistent-generic-constructors': "off"; | ||
readonly '@typescript-eslint/consistent-indexed-object-style': "off"; | ||
@@ -337,2 +339,3 @@ readonly '@typescript-eslint/consistent-type-definitions': "off"; | ||
readonly '@typescript-eslint/no-import-type-side-effects': "off"; | ||
readonly '@typescript-eslint/no-inferrable-types': "off"; | ||
readonly '@typescript-eslint/no-loss-of-precision': "off"; | ||
@@ -351,2 +354,3 @@ readonly '@typescript-eslint/no-magic-numbers': "off"; | ||
readonly '@typescript-eslint/no-unsafe-function-type': "off"; | ||
readonly '@typescript-eslint/no-unused-expressions': "off"; | ||
readonly '@typescript-eslint/no-unused-vars': "off"; | ||
@@ -446,3 +450,2 @@ readonly '@typescript-eslint/no-useless-constructor': "off"; | ||
readonly 'unicorn/prefer-set-size': "off"; | ||
readonly 'unicorn/prefer-spread': "off"; | ||
readonly 'unicorn/prefer-string-raw': "off"; | ||
@@ -449,0 +452,0 @@ readonly 'unicorn/prefer-string-replace-all': "off"; |
{ | ||
"name": "eslint-plugin-oxlint", | ||
"version": "0.13.2", | ||
"version": "0.14.0", | ||
"description": "Turn off all rules already supported by oxlint", | ||
@@ -44,4 +44,5 @@ "type": "module", | ||
"build": "vite build", | ||
"lint": "npx oxlint --config=oxlint.json --tsconfig=tsconfig.json && npx eslint --flag unstable_ts_config", | ||
"lint": "npx oxlint --tsconfig=tsconfig.json && npx eslint --flag unstable_ts_config", | ||
"format": "npx prettier --write .", | ||
"type-check": "tsc --noEmit", | ||
"test": "vitest --reporter=verbose" | ||
@@ -58,2 +59,3 @@ }, | ||
"@oxc-node/core": "^0.0.15", | ||
"@types/eslint-config-prettier": "^6.11.3", | ||
"@types/node": "^22.7.7", | ||
@@ -69,3 +71,3 @@ "@types/shelljs": "^0.8.15", | ||
"memfs": "^4.14.0", | ||
"oxlint": "^0.13.2", | ||
"oxlint": "^0.14.0", | ||
"prettier": "^3.3.3", | ||
@@ -72,0 +74,0 @@ "scule": "^1.3.0", |
@@ -5,3 +5,3 @@ import { describe, expect, it } from 'vitest'; | ||
buildFromOxlintConfigFile, | ||
} from './build-from-oxlint-config.js'; | ||
} from './build-from-oxlint-config/index.js'; | ||
import fs from 'node:fs'; | ||
@@ -8,0 +8,0 @@ import { execSync } from 'node:child_process'; |
@@ -127,2 +127,3 @@ // These rules are automatically generated by scripts/generate-rules.ts | ||
'@typescript-eslint/no-require-imports': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
@@ -162,6 +163,7 @@ '@typescript-eslint/prefer-literal-enum-member': 'off', | ||
'prefer-object-has-own': 'off', | ||
'prefer-spread': 'off', | ||
'sort-imports': 'off', | ||
'sort-keys': 'off', | ||
'import/first': 'off', | ||
'import/import-no-namespace': 'off', | ||
'import/no-namespace': 'off', | ||
'jest/consistent-test-it': 'off', | ||
@@ -216,2 +218,3 @@ 'jest/max-expects': 'off', | ||
'@typescript-eslint/ban-tslint-comment': 'off', | ||
'@typescript-eslint/consistent-generic-constructors': 'off', | ||
'@typescript-eslint/consistent-indexed-object-style': 'off', | ||
@@ -222,2 +225,3 @@ '@typescript-eslint/consistent-type-definitions': 'off', | ||
'@typescript-eslint/no-empty-interface': 'off', | ||
'@typescript-eslint/no-inferrable-types': 'off', | ||
'@typescript-eslint/no-magic-numbers': 'off', | ||
@@ -247,3 +251,2 @@ '@typescript-eslint/prefer-for-of': 'off', | ||
'unicorn/prefer-reflect-apply': 'off', | ||
'unicorn/prefer-spread': 'off', | ||
'unicorn/prefer-string-raw': 'off', | ||
@@ -250,0 +253,0 @@ 'unicorn/prefer-string-trim-start-end': 'off', |
@@ -106,2 +106,3 @@ // These rules are automatically generated by scripts/generate-rules.ts | ||
'prefer-object-has-own': 'off', | ||
'prefer-spread': 'off', | ||
radix: 'off', | ||
@@ -122,3 +123,2 @@ 'require-await': 'off', | ||
'import/first': 'off', | ||
'import/import-no-namespace': 'off', | ||
'import/max-dependencies': 'off', | ||
@@ -135,2 +135,3 @@ 'import/named': 'off', | ||
'import/no-named-as-default-member': 'off', | ||
'import/no-namespace': 'off', | ||
'import/no-self-import': 'off', | ||
@@ -331,2 +332,3 @@ 'import/no-webpack-loader-syntax': 'off', | ||
'@typescript-eslint/ban-types': 'off', | ||
'@typescript-eslint/consistent-generic-constructors': 'off', | ||
'@typescript-eslint/consistent-indexed-object-style': 'off', | ||
@@ -349,2 +351,3 @@ '@typescript-eslint/consistent-type-definitions': 'off', | ||
'@typescript-eslint/no-import-type-side-effects': 'off', | ||
'@typescript-eslint/no-inferrable-types': 'off', | ||
'@typescript-eslint/no-loss-of-precision': 'off', | ||
@@ -363,2 +366,3 @@ '@typescript-eslint/no-magic-numbers': 'off', | ||
'@typescript-eslint/no-unsafe-function-type': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
'@typescript-eslint/no-unused-vars': 'off', | ||
@@ -459,3 +463,2 @@ '@typescript-eslint/no-useless-constructor': 'off', | ||
'unicorn/prefer-set-size': 'off', | ||
'unicorn/prefer-spread': 'off', | ||
'unicorn/prefer-string-raw': 'off', | ||
@@ -462,0 +465,0 @@ 'unicorn/prefer-string-replace-all': 'off', |
@@ -5,3 +5,3 @@ import configs from './configs.js'; | ||
buildFromOxlintConfigFile, | ||
} from './build-from-oxlint-config.js'; | ||
} from './build-from-oxlint-config/index.js'; | ||
@@ -8,0 +8,0 @@ export default { |
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
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
536953
57
10713
22