Update eslint configuration to latest format/rules.

This commit is contained in:
David Anson 2016-07-05 00:06:48 -07:00
parent b17dcb2ed9
commit c668c7c6a9
3 changed files with 224 additions and 208 deletions

View file

@ -861,8 +861,8 @@ module.exports = [
errors.push(child.lineNumber);
}
lastChildRightSpaceLineNumber =
(child.content.trimRight().length !== child.content.length) ?
child.lineNumber : 0;
(child.content.trimRight().length === child.content.length) ?
0 : child.lineNumber;
index++;
}
});