-
Notifications
You must be signed in to change notification settings - Fork 6
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
Nothing happens, don't know how to use. #2
Comments
Are you using windows? Could you try to run it from the command line like /usr/bin/eslint --config /some/path/.eslintrc --format compact . in a project that have some errors and give me the output. |
Will try to test more on windows. are you using the full path like C:\Users\xxx\AppData\Roaming\eslint use double back slashes |
Have to test it later. Will give you feedback soon. joakim-eriksson [email protected] schrieb:
|
Hi @joakim-eriksson |
Had no time yet, sry. Will help you to give you the info, what you need @joakim-eriksson |
You need to use the cmd file. On my friends computer it looks like this. So please try to run it from the command line first. |
This is the property: C:\Users\chrl\AppData\Roaming\npm\eslint.cmd So everything is fine. Yes I will try from the command line. Will give you feedback later. |
@joakim-eriksson |
Great news! Please let me know if you are missing any functionality or want to change any behavior. |
I created a comment there: walmartlabs/eslint-config-defaults#43 there you can read what happend, when I call:
from the command line. |
Ok I fixed that, the problem was this inside my .eslintrc.json file:
thx. After changing a file and saving this file, eslint will execute. Will be good, I think as it is. For other things, I will create other tickets. |
Ok thanks I will try to make the problem easier to debug. |
I installed the package via npm -g install eslint. I added the .cmd file and a config but nothing happens. I don't know how to use it :/. Can you give an example please?
The text was updated successfully, but these errors were encountered: