-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
rule no-missing-require is broken with 4.2.0 #70
Comments
I've noticed the same issue. Super annoying! The path definitely exists but I'm told it's incorrect. 😕 |
Thank you for this report, and I'm sorry. |
To make sure, which is the "broken" meaning false positive or negative? |
Broken means the file exist but I have this error: |
Hmm, I could not reproduce it. |
Can you try on SublimeText with those addons installed: SublimeLinter, SublimeLinter-eslint ? |
Create two files: You need to install eslint and eslint-plugin-node with npm, then configure .eslintrc with eslint-plugin-node and the rule node/no-missing-require. |
OK, I reproduced it on Sublime Text. Thank you! |
Thank you! |
Amazing, thanks @mysticatea |
I released v4.2.1. I'm sorry for this annoying. |
Don't be. |
Thanks guys this works perfectly now! 😆 🎉 |
Since the update from 4.1.0 to 4.2.0, rule
no-missing-require
is broken for paths like '../../somefile'The text was updated successfully, but these errors were encountered: