Closed steveoh closed 8 years ago
http://jscs.info/rule/requireSpaceBeforeKeywords http://jscs.info/rule/disallowSpacesInNamedFunctionExpression http://jscs.info/rule/disallowSpacesInFunctionDeclaration
given .jscs
.jscs
"requireSpaceAfterKeywords": [ "function" ],
created
"space-before-function-paren": [ 2, "never" ],
When I think it should be
{ "anonymous": "always", "named": "never" }
instead of never
never
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
might be throwing it off?
I tried it here and actually it generates:
{ "rules": { "space-after-keywords": [ 2, "always" ] } }
I'll reopen on another example
http://jscs.info/rule/requireSpaceBeforeKeywords http://jscs.info/rule/disallowSpacesInNamedFunctionExpression http://jscs.info/rule/disallowSpacesInFunctionDeclaration
given
.jscs
created
When I think it should be
instead of
never
might be throwing it off?