summaryrefslogtreecommitdiff
path: root/benchmark/child_process/child-process-exec-stdout.js
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2017-03-13 14:50:57 -0400
committerFranziska Hinkelmann <franzih@chromium.org>2017-03-29 10:53:28 +0200
commit61ebfa8d1fcb468cb95fdf3742e1672e48672b32 (patch)
treed27fc28ee4734f50b8afd8cce2ec7fa28992982d /benchmark/child_process/child-process-exec-stdout.js
parent678480e328c1fdd152973695e978e0f02b489770 (diff)
downloadandroid-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.tar.gz
android-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.tar.bz2
android-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.zip
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/child-process-exec-stdout.js')
-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 7b93aacff8..6b9bebf347 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);