src,test,tools: modify for more stringent linting

ESLint 2.1.0 is coming. Some lint rules have been tightened.

PR-URL: https://github.com/nodejs/node/pull/5214
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
Rich Trott committed 2016-02-18 10:11:26 -08:00
1 parent 7d1d3a6621
commit 32f6098eef
11 files changed
+29 -33

No files matched your search

@@ -56,9 +56,9 @@ if (process.argv[2] === 'child') {
let disconnected = 0;
server.on('listening', function() {
let j = count, client;
let j = count;
while (j--) {
client = net.connect(common.PORT, '127.0.0.1');
const client = net.connect(common.PORT, '127.0.0.1');
client.on('close', function() {
disconnected += 1;
});