-
-
Notifications
You must be signed in to change notification settings - Fork 923
Labels
A-linterArea - LinterArea - Linter
Description
In the oxlint rule, a type like:
export type Example<T> = T extends Array<infer U> ? U : never;
T and U both get picked up if id-length is set to 2 in this case. In the original javascript rule, it skipped over generics because it's not TypeScript syntax. In oxlint, this gets linted.
I think it being linted is actually a reasonable thing, but I would like the option at the very least to turn this off 👍
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter
Type
Fields
Give feedbackPriority
None yet
Effort
None yet