-
-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linter: --import-plugin
checking inside node_modules
#7123
Comments
--import-plugin
checking inside node_modules
Is this file actually using flow syntax? And is it being imported (either directly or as an import of an import)? If so, this is intentional behavior. |
Which file exactly? I'm not seeing any published files with a |
The files with the Realizing now, I forgot to add that I tried to ignore errors from @DonIsaac, can you say why this would be the intended behavior? It's being imported into our code, but I was hoping I could lint our code, not node_modules. I'm sure there's a good reason why and I'm just not getting it. |
@anthonyshew try to add |
@pumano A |
What version of Oxlint are you using?
0.11.0
What command did you run?
oxlint -A all -D no-cycle --import-plugin
What does your
.oxlint.json
config file look like?Don't have one!
What happened?
We have a dependency that has
// @flow
in node_modules that throws out an error. I tried to patch-package it, but then it threw on a different error forimport { type foo } ...
.When I remove
--import-plugin
, the error stops showing up. The exact dependency in question isreact-select@4.3.1
.The text was updated successfully, but these errors were encountered: