summaryrefslogtreecommitdiff
path: root/benchmark/buffers
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-02-04 13:38:18 -0600
committerGus Caplan <me@gus.host>2018-02-20 13:13:22 -0600
commit6934792eb34c75c16ac810951d0abadfe96238a9 (patch)
tree5f3f34eb259e15dba98c5419f228eafc27616f70 /benchmark/buffers
parent7514eb3cff9f333882db0a3173247df06c0257e5 (diff)
downloadandroid-node-v8-6934792eb34c75c16ac810951d0abadfe96238a9.tar.gz
android-node-v8-6934792eb34c75c16ac810951d0abadfe96238a9.tar.bz2
android-node-v8-6934792eb34c75c16ac810951d0abadfe96238a9.zip
lint: move eslint to new plugin system
PR-URL: https://github.com/nodejs/node/pull/18566 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'benchmark/buffers')
-rw-r--r--benchmark/buffers/buffer-base64-decode-wrapped.js2
-rw-r--r--benchmark/buffers/buffer-base64-decode.js2
2 files changed, 2 insertions, 2 deletions
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);