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 (#25124)
2 rules covered by typescript type check, 1 rule covered by oxc rule unicorn issue #684
This commit is contained in:
1 parent
8a47ff3743
commit
f9097f893d
1 file changed
+3
@@ -13,6 +13,8 @@
|
||||
"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.",
|
||||
"unicorn/no-unsafe-promise-all-settled-values": "No need to implement, TypeScript type checking reports accessing `value` on `Promise.allSettled()` results that have not been narrowed to the fulfilled variant.",
|
||||
"unicorn/no-undeclared-class-members": "No need to implement, TypeScript type checking reports accesses to undeclared class members.",
|
||||
"unicorn/no-useless-template-literals": "No need to implement. `typescript/no-unnecessary-template-expression` covers static and already-string expressions, while `eslint/no-implicit-coercion` with `disallowTemplateShorthand` covers expression-only string coercions.",
|
||||
"unicorn/prefer-explicit-viewport-units": "Not currently possible, as full support requires parsing standalone CSS files.",
|
||||
"unicorn/require-frontmatter-fields": "Not currently possible, as it requires parsing YAML frontmatter in Markdown files.",
|
||||
@@ -26,6 +28,7 @@
|
||||
"unicorn/no-misrefactored-assignment": "No need to implement, already covered by `oxc/misrefactored-assign-op`.",
|
||||
"unicorn/no-constant-zero-expression": "No need to implement, already covered by `oxc/erasing-op`.",
|
||||
"unicorn/prefer-math-constants": "No need to implement, already covered by `oxc/approx-constant`.",
|
||||
"unicorn/no-invalid-character-comparison": "No need to implement, already covered by `oxc/bad-char-at-comparison`.",
|
||||
"unicorn/require-array-sort-compare": "No need to implement, already implemented by `typescript/require-array-sort-compare` via tsgolint.",
|
||||
"eslint/no-negated-in-lhs": "Replaced by `eslint/no-unsafe-negation`, which we support.",
|
||||
"eslint/no-catch-shadow": "Replaced by `eslint/no-shadow`.",
|
||||
|
||||
Reference in new issue
Block a user