Skip to content

Commit

Permalink
Update prefer-exponentiation-operator.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 30, 2019
1 parent 09c93d4 commit 5679076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-exponentiation-operator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Prefer the exponentiation operator over `Math.pow()`

**This rule have been deprecated, please use [`prefer-exponentiation-operator`](https://eslint.org/docs/rules/prefer-exponentiation-operator) instead.**
**This rule is deprecated. Use [`prefer-exponentiation-operator`](https://eslint.org/docs/rules/prefer-exponentiation-operator) instead.**

Enforces the use of the [exponentiation operator](http://2ality.com/2016/02/exponentiation-operator.html) over [`Math.pow()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow).

Expand Down

0 comments on commit 5679076

Please sign in to comment.