mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 03:57:57 -05:00
[guide] Fix a numeration typo in README.md
- also remove legacy numbered link
This commit is contained in:
committed by
Jordan Harband
parent
8161f32f1f
commit
dbd69346bd
@@ -1943,8 +1943,8 @@ Other Style Guides
|
||||
const baz = !c;
|
||||
```
|
||||
|
||||
<a name="comparison--no-mixed-operators"></a><a name="15.8"></a>
|
||||
- [15.7](#comparison--no-mixed-operators) Enclose operators in parentheses when they are mixed in a statement. When mixing arithmetic operators, do not mix `**` and `%` with themselves or with `+`, `-`, `*`, & `/`. eslint: [`no-mixed-operators`](http://eslint.org/docs/rules/no-mixed-operators.html)
|
||||
<a name="comparison--no-mixed-operators"></a>
|
||||
- [15.8](#comparison--no-mixed-operators) Enclose operators in parentheses when they are mixed in a statement. When mixing arithmetic operators, do not mix `**` and `%` with themselves or with `+`, `-`, `*`, & `/`. eslint: [`no-mixed-operators`](http://eslint.org/docs/rules/no-mixed-operators.html)
|
||||
|
||||
> Why? This improves readability and clarifies the developer’s intention.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user