diff options
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 2 |
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); |