mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
docs(linter): mark redundant unicorn rules unsupported (#24602)
2 new unicorn rules are already covered by `typescript/*` rules, other 3 are reported by typescript type checking
This commit is contained in:
1 parent
b14d52e647
commit
cf8a868b21
1 file changed
+5
@@ -8,6 +8,11 @@
|
||||
"import/no-unresolved": "Will always contain false positives due to module resolution complexity.",
|
||||
"promise/no-native": "Handled by `eslint/no-undef`.",
|
||||
"unicorn/no-for-loop": "This rule suggests using `Array.prototype.entries` which is slow https://github.com/oxc-project/oxc/issues/11311, furthermore, `typescript/prefer-for-of` covers most cases.",
|
||||
"unicorn/no-useless-coercion": "No need to implement, already implemented by `typescript/no-unnecessary-type-conversion` via tsgolint.",
|
||||
"unicorn/no-unnecessary-boolean-comparison": "No need to implement, already implemented by `typescript/no-unnecessary-boolean-literal-compare` via tsgolint.",
|
||||
"unicorn/no-nonstandard-builtin-properties": "No need to implement, TypeScript type checking reports non-standard properties and invalid calls or constructions on built-ins.",
|
||||
"unicorn/no-boolean-sort-comparator": "No need to implement, TypeScript type checking requires array sort comparators to return numbers.",
|
||||
"unicorn/no-invalid-argument-count": "No need to implement, TypeScript type checking reports invalid argument counts for functions, constructors, and built-in APIs.",
|
||||
"eslint/no-negated-in-lhs": "Replaced by `eslint/no-unsafe-negation`, which we support.",
|
||||
"eslint/no-catch-shadow": "Replaced by `eslint/no-shadow`.",
|
||||
"eslint/id-blacklist": "Replaced by `eslint/id-denylist`.",
|
||||
|
||||
Reference in new issue
Block a user