What version of Oxlint are you using?
1.48.0
What command did you run?
oxlint
What does your .oxlintrc.json config file look like?
What happened?
I have this code:
import { memo } from 'react';
const FooBarComponent = memo(function FooBarComponent() {
return <div>Foo</div>;
});
In typescript-eslint's no-shadow rule, there is no warning/error here. In Oxlint, there is.
{ "$schema": "./node_modules/oxlint/configuration_schema.json", "plugins": [ "typescript" ], "categories": { "correctness": "off" }, "rules": { "eslint/no-shadow": "error" } }