From 66597bce208177d552adbf30da1c94fd6969c881 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 260f53c4672b61..52ecc233f4ec1f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -162,6 +162,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',