-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Conversation
hmmm, not sure how i feel about making these rules even more strict. @petebacondarwin make the call on this one |
@hzoo - Thanks for the update.
Can we look into the causes of this before we do this update? |
Oh it got updated to only allow a single space. Actually I realize I added that change... jscs-dev/node-jscs#701. Now the rule enforces the value in quotes so it has to be exactly EDIT: made the change in jscs for a future release jscs-dev/node-jscs#950 There will need to be an option to specify > 1 space to allow the code to have aligned parameters if we want that. We can temporarily remove the And can update to remove some rules - I suggested these rules since there weren't too many changes but of course I don't want to make it too strict so it's annoying to contribute. Also we can probably remove
|
Yes, I agree that we don't these rules |
OK, so I am going to merge this - but turn off the |
Alright that sounds good - should I make the changes and rebase or you got it? I would fixup the first commit and then remove the |
I am doing it now. Thanks |
Updates jscs to latest (1.10.0) by updating grunt-jscs to 1.2.0
add rule disallowKeywordsOnNewLine: "else" ~ 10 changes
add rule disallowSpacesInCallExpression ~ 19 changes
add rule requireSpacesInForStatement ~ 1 change
add rule requireSpaceBeforeKeywords ~ 0 changes
Others that could be added:
~32 changes: "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"requireSpaceBetweenArguments": true,
"disallowMultipleLineBreaks": true
@caitp