ESlint no-plusplus

and no-empty, space-unary-ops
This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:12:18 -07:00
parent d1101a7fb4
commit 3361a72725
81 changed files with 167 additions and 162 deletions

View File

@@ -39,7 +39,7 @@ pluginsController.get = function (req, res, next) {
}),
upgradeCount: payload.compatible.reduce(function (count, current) {
if (current.installed && current.outdated) {
++count;
count += 1;
}
return count;
}, 0),