summaryrefslogtreecommitdiff
path: root/test/parallel/test-tcp-wrap-listen.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2017-02-19 13:45:30 +0100
committerMichaël Zasso <targos@protonmail.com>2017-02-21 12:53:19 +0100
commit193468667b84b416cd5c5a9f42bc34deedae858e (patch)
tree73fd5e7e8a82f3f0cc010d5e228a0418a589dde9 /test/parallel/test-tcp-wrap-listen.js
parenta4c3e31ac7c1d3092c7cd7fa306ce3f3382dc5fc (diff)
downloadandroid-node-v8-193468667b84b416cd5c5a9f42bc34deedae858e.tar.gz
android-node-v8-193468667b84b416cd5c5a9f42bc34deedae858e.tar.bz2
android-node-v8-193468667b84b416cd5c5a9f42bc34deedae858e.zip
tools: enable one-var-declaration-per-line ESLint rule
This rule enforces new lines around variable declarations. It is configured to spot only variables that are initialized. PR-URL: https://github.com/nodejs/node/pull/11462 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-tcp-wrap-listen.js')
-rw-r--r--test/parallel/test-tcp-wrap-listen.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-tcp-wrap-listen.js b/test/parallel/test-tcp-wrap-listen.js
index 7200dac59f..9b9f3a84f1 100644
--- a/test/parallel/test-tcp-wrap-listen.js
+++ b/test/parallel/test-tcp-wrap-listen.js
@@ -15,7 +15,8 @@ port = port.port;
server.listen(128);
-let sliceCount = 0, eofCount = 0;
+let sliceCount = 0;
+let eofCount = 0;
let writeCount = 0;
let recvCount = 0;