Skip to content

Commit 7982931

Browse files
committedMay 2, 2023
[readme] Updates ESLint rule in section 12.3 (exponentiation-operator)
The change itself has already been made in f3d3a07 (tracked in/acording to #2421 (comment)). #2421 Remove Math.pow from `no-restricted-properties` and use `prefer-exponentiation-operator` instead.
1 parent 69fc1bf commit 7982931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ Other Style Guides
16211621
```
16221622
16231623
<a name="es2016-properties--exponentiation-operator"></a>
1624-
- [12.3](#es2016-properties--exponentiation-operator) Use exponentiation operator `**` when calculating exponentiations. eslint: [`no-restricted-properties`](https://eslint.org/docs/rules/no-restricted-properties).
1624+
- [12.3](#es2016-properties--exponentiation-operator) Use exponentiation operator `**` when calculating exponentiations. eslint: [`prefer-exponentiation-operator`](https://eslint.org/docs/rules/prefer-exponentiation-operator).
16251625
16261626
```javascript
16271627
// bad

0 commit comments

Comments
 (0)
Failed to load comments.