summaryrefslogtreecommitdiff
path: root/lib/util.js
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 /lib/util.js
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 'lib/util.js')
-rw-r--r--lib/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.js b/lib/util.js
index e13f5b8b80..93729991cd 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -633,7 +633,7 @@ function formatPrimitive(fn, value, ctx) {
// 2. If none matches, non-greedy match any text up to a whitespace or
// the end of the string.
//
- // eslint-disable-next-line max-len, no-unescaped-regexp-dot
+ // eslint-disable-next-line max-len, node-core/no-unescaped-regexp-dot
readableRegExps[divisor] = new RegExp(`(.|\\n){1,${divisor}}(\\s|$)|(\\n|.)+?(\\s|$)`, 'gm');
}
const indent = ' '.repeat(ctx.indentationLvl);