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
× eslint(no-unused-vars): Type alias 'a' is declared but never used. Unused type aliases should start with a '_'.
╭─[src\bad.ts:1:7]
1 │ const a = {
· ┬
· ╰── 'a' is declared here
2 │ hello: "world",
╰────
help: Consider removing this declaration.
It seems that oxlint cannot correctly handle the situation where the variable and type with the same name. but this code can pass in eslint. so I think it's a bug
The text was updated successfully, but these errors were encountered:
What version of Oxlint are you using?
0.15.5
What command did you run?
oxlint
What does your
.oxlint.json
config file look like?without config file
What happened?
with typescript file:
it shows error when i run oxlint
But when I rewrite type a to type b
no error will show
It seems that oxlint cannot correctly handle the situation where the variable and type with the same name. but this code can pass in eslint. so I think it's a bug
The text was updated successfully, but these errors were encountered: