From d2005ce8d39eb24c7ab923aac88de1e7b32c1b50 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Thu, 14 Nov 2024 13:22:44 +1300 Subject: [PATCH] fix(javascript): replace `no-new-object` with `no-object-constructor` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c14dc4ce..dc67c9dd 100644 --- a/index.js +++ b/index.js @@ -86,8 +86,8 @@ const generateConfig = () => { 'no-nested-ternary': 'error', 'no-new': 'error', 'no-new-func': 'error', - 'no-new-object': 'error', 'no-new-wrappers': 'error', + 'no-object-constructor': 'error', 'no-octal-escape': 'error', 'no-param-reassign': 'error', 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],