From d91b2a25385c81ce915a41bc7556be88f38f26db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Wed, 18 Oct 2023 13:04:31 +0200 Subject: [PATCH] feat: replace `no-new-object` (deprecated) rule with `no-object-constructor` --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index a759027..0c86534 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -112,7 +112,7 @@ ], "no-multi-str": "error", "no-new-func": "error", - "no-new-object": "error", + "no-object-constructor": "error", "no-octal": "error", "no-octal-escape": "error", "no-proto": "error",