From 61ebfa8d1fcb468cb95fdf3742e1672e48672b32 Mon Sep 17 00:00:00 2001 From: Brian White Date: Mon, 13 Mar 2017 14:50:57 -0400 Subject: tools: add unescaped regexp dot rule to linter PR-URL: https://github.com/nodejs/node/pull/11834 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Teddy Katz Reviewed-By: Franziska Hinkelmann --- benchmark/child_process/child-process-exec-stdout.js | 1 + 1 file changed, 1 insertion(+) (limited to 'benchmark/child_process') 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); -- cgit v1.2.3