From 39d5559b9a75c818c529d7f5265b8651b96b875a Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Thu, 18 Aug 2016 10:35:23 -0700 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 350aece0..4223bf4f 100644 --- a/README.md +++ b/README.md @@ -1418,7 +1418,7 @@ Other Style Guides } ``` - - [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.