Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-11-21 18:55:00 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2020-11-23 21:31:59 +0300
commit267a6e6b2a513493239e7465722398f8059b7ef6 (patch)
treedf2fea21ae0efb72c2cc5bab4db6377dc0cd3604 /.eslintrc.js
parent3811473c2777d37278d5249e7c62219a95ed1349 (diff)
tools: enable no-nonoctal-decimal-escape lint rule
This rule is new in ESLint 7.14.0. PR-URL: https://github.com/nodejs/node/pull/36217 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 99f7196ffc8..51b6b6f27fa 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -150,6 +150,7 @@ module.exports = {
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0, maxBOF: 0 }],
'no-new-require': 'error',
'no-new-symbol': 'error',
+ 'no-nonoctal-decimal-escape': 'error',
'no-obj-calls': 'error',
'no-octal': 'error',
'no-path-concat': 'error',