From 6934792eb34c75c16ac810951d0abadfe96238a9 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Sun, 4 Feb 2018 13:38:18 -0600 Subject: lint: move eslint to new plugin system PR-URL: https://github.com/nodejs/node/pull/18566 Reviewed-By: Joyee Cheung Reviewed-By: Roman Reiss --- benchmark/buffers/buffer-base64-decode-wrapped.js | 2 +- benchmark/buffers/buffer-base64-decode.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmark/buffers') diff --git a/benchmark/buffers/buffer-base64-decode-wrapped.js b/benchmark/buffers/buffer-base64-decode-wrapped.js index 61e3bb654e..1e6f1fde0a 100644 --- a/benchmark/buffers/buffer-base64-decode-wrapped.js +++ b/benchmark/buffers/buffer-base64-decode-wrapped.js @@ -13,7 +13,7 @@ function main({ n }) { const line = `${'abcd'.repeat(charsPerLine / 4)}\n`; const data = line.repeat(linesCount); - // eslint-disable-next-line no-unescaped-regexp-dot + // eslint-disable-next-line node-core/no-unescaped-regexp-dot data.match(/./); // Flatten the string const buffer = Buffer.alloc(bytesCount, line, 'base64'); diff --git a/benchmark/buffers/buffer-base64-decode.js b/benchmark/buffers/buffer-base64-decode.js index 492922fb2b..1631ed4f08 100644 --- a/benchmark/buffers/buffer-base64-decode.js +++ b/benchmark/buffers/buffer-base64-decode.js @@ -8,7 +8,7 @@ const bench = common.createBenchmark(main, { function main({ n }) { const s = 'abcd'.repeat(8 << 20); - // eslint-disable-next-line no-unescaped-regexp-dot + // eslint-disable-next-line node-core/no-unescaped-regexp-dot s.match(/./); // Flatten string. assert.strictEqual(s.length % 4, 0); const b = Buffer.allocUnsafe(s.length / 4 * 3); -- cgit v1.2.3