From 1a8e733617754c4cfb0e36fb8110c734051040f8 Mon Sep 17 00:00:00 2001 From: Victor Widell Date: Tue, 25 Oct 2022 09:33:39 +0200 Subject: [PATCH] Resolve #3 Math.pow is not a bad practice. --- src/rules/core/best-practices.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/rules/core/best-practices.js b/src/rules/core/best-practices.js index 00d0015..7ac5acd 100644 --- a/src/rules/core/best-practices.js +++ b/src/rules/core/best-practices.js @@ -117,11 +117,6 @@ module.exports = { property: "__defineSetter__", message: "Please use Object.defineProperty instead.", }, - { - object: "Math", - property: "pow", - message: "Use the exponentiation operator (**) instead.", - }, ], "no-return-assign": ["off", "always"], // TODO: Enable this? "no-return-await": "error",