-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
import/no-unresolved
should find json
files
#333
Comments
Weird. Assuming resolve supports it, I think it should. Sounds like a bug. |
Later edit: I had a similar issue and fixed it myself. The culprit was the Somehow, I still don't understand what exactly is going on, but when eslint is invoked with a different cwd (other than project's root), |
@jfmengels I just added tests but they are passing. Can you take a look? If you can construct a failing test, I can patch it, but I'm not sure what the issue is. Maybe something with your config? |
Hmm... Yeah, I'll try to take a look at it tonight. |
No rush, speed is up to you. AFAICT it's working. (also, sorry it took so long for me to look at this!) |
No worries, in fact, I had actually forgotten I had created this issue... Ok, so the problem is not when you try to do Adding I've created test cases in my "fork" of |
Ah, yeah, so for this, I think that should resolve it. See note in README about making |
Also, I'm confused why you don't have push rights to a branch, I thought you could push anywhere in the repo? |
Fixed it, my bad. Didn't configure my git remote stuff well. Just pushed my And the |
Ah, wild. This is actually an "issue" with I just need to add |
😄 |
Just published with node resolver v0.2.1 |
I'm trying to add the plugin to a repo I'm working on, and I'm getting false positives with
no-unresolved
when importing JSON files.I'm not aware of it being incorrect to
import
a JSON file, but please let me know if that's the case.The text was updated successfully, but these errors were encountered: