Skip to content
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

How to configure (missing link in README file)? #46

Closed
matronator opened this issue Sep 9, 2016 · 4 comments
Closed

How to configure (missing link in README file)? #46

matronator opened this issue Sep 9, 2016 · 4 comments
Labels

Comments

@matronator
Copy link

So I have everything installed in brackets but only error it shows is when I put single (unclosed) curly bracket somewhere in the code. Otherwise it always shows green check mark even when there are errors. So I guess I must configure it somehow but I can't find clear instructions and the link to sample file in README.md is dead. How should the config file look, where do I put it and is there anything else that needs to be done in order for Brackets to be able to get all the files it needs?

@zaggino
Copy link
Member

zaggino commented Sep 9, 2016

You configure it the same way you'd configure eslint without Brackets. Just place .eslintrc file in your project like you can see for example here: https://github.com/adobe/brackets

Read more here: http://eslint.org/docs/user-guide/configuring

@zaggino
Copy link
Member

zaggino commented Sep 9, 2016

Extension should provide you the same results/checks that you get when you run eslint . from the command line/terminal of your project directory.

@zaggino
Copy link
Member

zaggino commented Sep 9, 2016

Tip: go to your project folder and run:

npm install -g eslint
eslint --init

That will create a configuration file for you.

@matronator
Copy link
Author

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants