You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oxlint will report the following false positive error:
× eslint-plugin-import(named): named import "Events" not found
╭─[jsFile.js:1:9]
1 │ import {Events} from "./enums";
· ──────
2 │
╰────
help: does "./enums" have the export "Events"?
It does not report such an error when importing an enum into a .ts file.
What version of Oxlint are you using?
0.15.13
What command did you run?
oxlint
What does your
.oxlintrc.json
config file look like?What happened?
Oxlint reports an error from
import/named
when importing ats
enum into a.js
file. eslint-plugin-import does not report this as an issue.Given
enums.ts
and
jsFile.js
Oxlint will report the following false positive error:
It does not report such an error when importing an enum into a
.ts
file.See reproduction Repo: https://github.com/MichaelGoff/oxlint-named-enum-js-bug
The text was updated successfully, but these errors were encountered: