mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 16:37:54 -05:00
Remove misleading reference to one-var eslint rule
This eslint rule does not enforce this style guide rule. I believe that referencing it here will cause people to believe that this is enforced via linting when it is not. As far as I know, there is no rule that currently enforces this, but it would be nice to add one.
This commit is contained in:
@@ -1418,7 +1418,7 @@ Other Style Guides
|
||||
}
|
||||
```
|
||||
<a name="variables--no-chain-assignment"></a><a name="13.5"></a>
|
||||
- [13.5](#variables--no-chain-assignment) Don't chain variable assignments. eslint: [`one-var`](http://eslint.org/docs/rules/one-var.html)
|
||||
- [13.5](#variables--no-chain-assignment) Don't chain variable assignments.
|
||||
|
||||
> Why? Chaining variable assignments creates implicit global variables.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user