summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 233828e..8f30d7e 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -340,6 +340,14 @@
"no-proto": [
"error"
],
+ "no-restricted-properties": [
+ "error",
+ {
+ "message": "Use the exponentiation operator (**) instead of Math.pow()",
+ "object": "Math",
+ "property": "pow"
+ }
+ ],
"no-return-await": [
"error"
],