From 5e01d41371c824d09f44c9283d51fa87446e0431 Mon Sep 17 00:00:00 2001 From: Marcys Date: Thu, 28 Sep 2023 00:58:42 +0200 Subject: [PATCH] Update README.md Since ESLint v8.50.0 no-new-object is replaced by the no-object-constructor rule. (https://eslint.org/docs/latest/rules/no-new-object) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9681aa4b51..b8439a182e 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ Other Style Guides ## Objects - - [3.1](#objects--no-new) Use the literal syntax for object creation. eslint: [`no-new-object`](https://eslint.org/docs/rules/no-new-object) + - [3.1](#objects--no-new) Use the literal syntax for object creation. eslint: [`no-object-constructor`](https://eslint.org/docs/latest/rules/no-object-constructor) ```javascript // bad