-
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
Enabling Default Rules? #59
Comments
Hi, to configure rules, you need to put normal See more here: http://eslint.org/docs/user-guide/configuring |
I have similar problems understanding how to apply my own rules. With the post above me I can apply my own rules for one project, but how can I make the same configuration for all projects at the same time, globally for brackets? |
@tweakimp It's not a good idea to allow global configuration. First of all, ESLint doesn't support it. Second, if you configure your rules anywhere but the project itself, and upload that project to github (or anywhere else), anyone that would download that project (including you on a different machine) would have no idea what rules are supposed to be used developing that project. That's why you should always use |
I dont understand anything about ESlint,some kind of errors are down in brackets but no point on exact line,think maybe this is a bad idea. |
Hello, I read through the user-guide, and the read me, and many of the links provided, but I think I need further help activating specific default rules.
To turn on rules, all I need to do is create a "eslintrules.json" file in the "C:\Users%USERNAME%\AppData\Roaming\Brackets\extensions\user\brackets-eslint.eslintrules"
Directory? Or do I put these in the ".brackets.json" file in "C:\Users%USERNAME%\AppData\Roaming\Brackets\extensions\user\brackets-eslint" Directory?
If I do make my own file, do I just write the code like this?
or do I add these to the .brackets.json like so:
Let me know, guys! Thank you so much!
The text was updated successfully, but these errors were encountered: