-
-
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
Configure node resolver #506
Comments
Have you |
@benmosher yes, does not have the error if I copy file into |
Where is your eslintrc? |
@benmosher eslintrc is above. |
Well, for one thing, nested As for resolving modules in "node": {
"paths": [
"./app",
"./app/node_modules"
],
"moduleDirectory": [
"node_modules"
]
},
}, as your |
@benmosher thanks for answer, but I got same errors:
current eslintrc.js config:
|
Any update about this issue? |
@toomuchdesign thank you. I think we can close issue. |
It's still an issue. |
@binarymist then please file a new issue with repro steps |
Please help. I am stuck with node resolver configuration.
Project folder structure as the same: https://github.com/szwacz/electron-boilerplate.
In simple words:
app
folder includenode_project
folder andpackage.json
file and static js filessrc
folder include dinamic js files with import modules.Part of file example:
I get eslint errors with this file in
src
folder:How I can resolve import node packages like 'jquery' in
src
folder?I try use this eslint config, but it not work:
The text was updated successfully, but these errors were encountered: