-
-
Notifications
You must be signed in to change notification settings - Fork 924
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.55.0
What command did you run?
oxlint $file.ts
What does your .oxlintrc.json (or oxlint.config.ts) config file look like?
What happened?
The following code triggers two typescript-eslint(explicit-module-boundary-types) errors for f: missing argument type and missing return type.
type F = (x: number) => number;
export const f = (x => x) satisfies F;But the original @typescript-eslint/explicit-module-boundary-types rule doesn't complain since f is wrapped with satisfies.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter
Type
Fields
Give feedbackPriority
None yet
Effort
None yet
{ "rules": { "typescript/explicit-module-boundary-types": "error" }, }