From 267a6e6b2a513493239e7465722398f8059b7ef6 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 21 Nov 2020 10:55:00 -0500 Subject: [PATCH] tools: enable no-nonoctal-decimal-escape lint rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This rule is new in ESLint 7.14.0. PR-URL: https://github.com/nodejs/node/pull/36217 Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Daijiro Wachi Reviewed-By: Rich Trott --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 99f7196ffc8158..51b6b6f27fa3f6 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',