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