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 #681
Comments
This comment has been minimized.
This comment has been minimized.
dcousens
closed this
Nov 11, 2016
dcousens
added
the
question
label
Nov 11, 2016
This comment has been minimized.
This comment has been minimized.
|
"Can you make rule X configurable" section says nothing about adding rules. Configure (edit/override) is not add. In my case I just can't use Standard because it is missing a single rule - |
This comment has been minimized.
This comment has been minimized.
...
...
...
{
"extends": "standard"
}Example {
"extends": "standard",
"rules": {
"react/prop-types": ["error", "always"]
}
}Hope that helps |
This comment has been minimized.
This comment has been minimized.
chuyik
commented
Jan 12, 2017
|
@yantakus Hi I just write a repo to make it happen, if that's really what you want: https://github.com/o2team/standard-own |
yantakus commentedNov 10, 2016
If I want to add a rule, I can't do this right? There's no
rulesandextendsconfiguration options.So if I just want to add a single rule which is very important for my team (
react/prop-types), I have to use eslint instead. Or I overlooked something?