From cf8a868b217c8bc97bfb65d4dea518cb061874cc Mon Sep 17 00:00:00 2001 From: Mikhail Baev Date: Thu, 16 Jul 2026 21:17:52 +0500 Subject: [PATCH] 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 --- tasks/lint_rules/src/unsupported-rules.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/lint_rules/src/unsupported-rules.json b/tasks/lint_rules/src/unsupported-rules.json index 2caff2317e..fea7758ef7 100644 --- a/tasks/lint_rules/src/unsupported-rules.json +++ b/tasks/lint_rules/src/unsupported-rules.json @@ -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`.",