What version of Oxlint are you using?
1.56.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): Missing return type on function errors, one each for f and g:
type F = () => number;
export const OBJ = {
f: (() => 42) satisfies F,
};
export class Class {
g = (() => 42) satisfies F;
}
But the original @typescript-eslint/explicit-module-boundary-types rule doesn't complain since f and g are wrapped with satisfies.
What version of Oxlint are you using?
1.56.0
What command did you run?
oxlint $file.ts
What does your
.oxlintrc.json(oroxlint.config.ts) config file look like?{ "rules": { "typescript/explicit-module-boundary-types": "error" } }What happened?
The following code triggers two
typescript-eslint(explicit-module-boundary-types): Missing return type on functionerrors, one each forfandg:But the original
@typescript-eslint/explicit-module-boundary-typesrule doesn't complain sincefandgare wrapped withsatisfies.