disallowPaddingNewlinesBeforeKeywords: Keyword else should not have an empty line above it at src/templates/jscs-test.jsx :
166 |if (temp1 < 0) {
167 | temp1++;
168 |}
---------^
169 |// comments
170 |else {
If I remove the comment line and leave the else uncuddled the error goes away.
// jscs:enable disallowPaddingNewlinesBeforeKeywords if (temp1 < 0) { temp1++; } // comments else { temp1--; } // jscs:disable disallowPaddingNewlinesBeforeKeywords
disallowPaddingNewlinesBeforeKeywords: Keyword
else
should not have an empty line above it at src/templates/jscs-test.jsx : 166 |if (temp1 < 0) { 167 | temp1++; 168 |} ---------^ 169 |// comments 170 |else {If I remove the comment line and leave the else uncuddled the error goes away.
// jscs:enable disallowPaddingNewlinesBeforeKeywords if (temp1 < 0) { temp1++; } else { temp1--; } // jscs:disable disallowPaddingNewlinesBeforeKeywords