Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding custom rules to standard #1016
Comments
This comment has been minimized.
This comment has been minimized.
|
Part of the philosophy of
That being said, there are a few ways to do what you're trying to do. One way to do it while maintaining really great support in IDEs/editors is to switch to using Here is how to do it:
npm install --save-dev eslint@3 eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
"eslintConfig": {
"extends": "standard"
}
"eslintConfig": {
"extends": "standard",
"rules": {
"quotes": ["error", "double"]
}
}Its also possible to put config elsewhere (like I hope this info helps! I'm closing this issue now, but feel free to comment! P.S. adding |
Flet
closed this
Nov 13, 2017
This comment has been minimized.
This comment has been minimized.
|
Thanks @Flet for your answer! I want to point out that I'm ok with how |
sebasgarcep commentedNov 13, 2017
Is there a way to add custom rules to standard through the
package.jsonconfig without usingstandardx. I'm using the standard extension on visual studio code and I want something that works out of the box even if I change computers.