What version of Oxlint are you using?
1.23.0
What command did you run?
oxlint -c .oxlintrc.json --type-aware
What does your .oxlintrc.json config file look like?
What happened?
Here, oxlint correctly identifies a missing return type:
export function App() {
return 42;
}
But here it doesn't:
function App() {
return 42;
}
export default App
ESLint reports a warning in both cases.
{ "$schema": "./node_modules/oxlint/configuration_schema.json", "rules": { "@typescript-eslint/explicit-module-boundary-types": "warn" } }