Closed jsumners closed 8 years ago
This sounds like a custom rule to me, would be confusing otherwise
@markelog You closed both the issues, but I'm not really sure why. In ES6, "function*" IS INDEED a keyword. This is not a "custom rule" or whatever, it's a basic syntaxe of the language, and it's supposed to be written like this. What is the advised way to configure jscs so generators are accepted ?
(I meant : while still using requireSpaceAfterKeywords 'function' for all the other cases)
In my actual rule list I also have:
It'd be great if an exception could be made such that "function*" is recognized as a keyword (even though it isn't really).