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

@@ -76,7 +76,7 @@
var ports = nconf.get('mongo:port').toString().split(',');
var servers = [];
for (var i = 0; i < hosts.length; i++) {
for (var i = 0; i < hosts.length; i += 1) {
servers.push(hosts[i] + ':' + ports[i]);
}