-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Scoped npm packages on Windows do not seem to work #5644
Comments
Looks like regex for normalizing config names isn't doing the right thing |
Might be related to or the same as #5468. |
Also possibly related #5175 |
I think this is a bit different then those two issues. I'm thinking that way based on this line: ``Cannot find module '@strv\javascript\standard\optional.js/eslint-config'` it looks like normalized name is not formatted correctly, so I'm guessing that RegEx didn't parse it properly. |
Working on this. |
Fix: Windows scoped package configs (fixes #5644)
Hello, I just updated to the latest version (2.5.3) and it's still same. |
I don't think this is released yet, 2.5.3 went out before this was merged. I am assuming the fix for this issue will be available as 2.5.4 or 2.6. |
Yes, this fix hasn't been released yet. |
Hello,
it looks like scoped packages do not work correctly on Windows machines. Below you can see that eslint is trying to load a configuration from
@strv\javascript\standard\optional.js/eslint-config
, while the correct place to load it from would be@strv\eslint-config-javascript\standard\optional.js
.To provide more context, the file
@strv/javascript/environments/nodejs/optional.js
contains a relative reference to another configuration file viaextends
property:If it helps, the whole configuration package is publicly available here.
I wonder if this is an issue with ESLint or with the configuration package. On OS X, this configuration package works without issues.
Thank you for your help!
What version of ESLint are you using? 2.4.0
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
What actually happened? Please include the actual, raw output from ESLint.
/cc @MartinStava @dostalleos
The text was updated successfully, but these errors were encountered: