From 807c20195592bd3c92b6d4ae38be0ad373f5881f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 18 Jul 2023 22:02:15 +0200 Subject: [PATCH] feat: add `unicorn/prefer-number-properties` BREAKING CHANGE: New rule introduced --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index cc43227..1520bfd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -198,7 +198,8 @@ "unicorn/prefer-node-protocol": "error", "unicorn/throw-new-error": "error", "unicorn/no-typeof-undefined": "error", - "unicorn/require-array-join-separator": "error" + "unicorn/require-array-join-separator": "error", + "unicorn/prefer-number-properties": "error" }, "overrides": [ {