-
Notifications
You must be signed in to change notification settings - Fork 15
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
eslint-config-angular support #47
Comments
Can you provide a link to your project on github? |
https://github.com/healthypets/project-base Wasn't sure if you wanted the node modules or not so I intentionally left them. Can do a clean install if necessary. ESLint in brackets throws a 'cannot find module eslint-config-angular' error when trying to lint inside of brackets for lint-test.js |
Hmm perhaps there is a difference in environment here then. Mine is showing:
I'm on Windows, though that's likely not the only env difference. |
What version of Brackets are you running? |
I recommend trying out latest 1.8 pre-release from here: https://github.com/adobe/brackets/releases or my electron build from here: https://github.com/zaggino/brackets-electron/releases Brackets before 1.8 doesn't work with eslint version 3 |
Currently running Release 1.7 so that would make sense. I'll install that release. Apparently I missed that memo, thanks! |
Let me know if the upgrade to 1.8 did work for you please. |
Updated the to latest 1.8 pre-release from Brackets. Still getting the following:
If I just have base rules in the .eslintrc.js then it seems to function fine. It just can't seem to find the module when I use: "extends": "angular" |
When you open brackets console (Debug > Show developer tools or F12), do you have anything else there? |
|
I have now tried on second windows machine with your project and |
Okay, I will look at setting this up on a clean virtual machine. An acquaintance tried this as well and had the same issue not being able to find the config module. Perhaps a clean env will be different. Thanks for your time! |
I'd be interesting to find out what the problem is. If you wan't me to provide any settings, installed apps or whatever from my windows machines, let me know. But they are quite normal, latest versions of node, npm, git, etc. |
Please also be sure to test this with https://github.com/zaggino/brackets-electron/releases too when you're at it, thanks! |
I've also released |
Updated Brackets to 1.8 and now ESLint doesn't work at all.
|
Did you install Brackets 1.8 from here? https://github.com/adobe/brackets/releases |
@guess-and-correct |
@zaggino I did (the |
This is now fixed with latest Brackets (includes node v6) |
Is it possible to get this working with eslint-config-angular?
I have been having issues with it not finding the module, even though I have tried both global and local installations.
Thanks!
The text was updated successfully, but these errors were encountered: