Closed Skywalker13 closed 8 years ago
In the case of a jscsrc config file with :
{ "requireSpaceAfterKeywords": true, "disallowSpacesInGenerator": { "beforeStar": true } }
function* foobar() {}
Then requireSpaceAfterKeywords returns an error.
requireSpaceAfterKeywords
But IMHO function* should be considered as a keyword and not only function.
function*
function
Duplicate of https://github.com/jscs-dev/node-jscs/issues/2168
In the case of a jscsrc config file with :
Then
requireSpaceAfterKeywords
returns an error.But IMHO
function*
should be considered as a keyword and not onlyfunction
.