Closed indexzero closed 8 years ago
Note: even more interesting is when autofix
is enabled which leads to the fixer resolving this ambiguous rule ... well ambiguously as @DullReferenceException noted here
(...) the autofixer will add a space in one run, then remove it in the next.
So the take away here is that we needed allexcept: shorthand
. I'm going to leave this issue open to see if there might be a better way to explain these types of inherent conflicts to users without having to figure out the correct config incantation yourself https://github.com/jscs-dev/node-jscs/pull/2162#issuecomment-194422173
At this point only major and CST related bugs will be fixed.
EDIT: updated to reflect
disallowSpacesInNamedFunctionExpression.beforeOpeningRoundBrace
EDIT: updated BACK to reflectrequireSpacesInAnonymousFunctionExpression.beforeOpeningRoundBrace
based on #2162The following config:
when evaluating the following ES6 code leads to an ambiguous resolution: