Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2017-03-13 21:50:57 +0300
committerFranziska Hinkelmann <franzih@chromium.org>2017-03-29 11:53:28 +0300
commit61ebfa8d1fcb468cb95fdf3742e1672e48672b32 (patch)
treed27fc28ee4734f50b8afd8cce2ec7fa28992982d /benchmark/child_process
parent678480e328c1fdd152973695e978e0f02b489770 (diff)
tools: add unescaped regexp dot rule to linter
PR-URL: https://github.com/nodejs/node/pull/11834 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'benchmark/child_process')
-rw-r--r--benchmark/child_process/child-process-exec-stdout.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/child_process/child-process-exec-stdout.js b/benchmark/child_process/child-process-exec-stdout.js
index 7b93aacff85..6b9bebf347c 100644
--- a/benchmark/child_process/child-process-exec-stdout.js
+++ b/benchmark/child_process/child-process-exec-stdout.js
@@ -18,6 +18,7 @@ function main(conf) {
const len = +conf.len;
const msg = `"${'.'.repeat(len)}"`;
+ // eslint-disable-next-line no-unescaped-regexp-dot
msg.match(/./);
const options = {'stdio': ['ignore', 'pipe', 'ignore']};
const child = exec(`yes ${msg}`, options);