From a7a7cab504576b32157edaf92c8d4613fc235c54 Mon Sep 17 00:00:00 2001 From: Song Xie Date: Wed, 21 Feb 2018 14:44:58 -0800 Subject: [PATCH] [guide] Add an anchor for rule 13.7 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b299c9be10..881eb01490 100644 --- a/README.md +++ b/README.md @@ -1701,6 +1701,7 @@ Other Style Guides const truthyCount = array.filter(Boolean).length; ``` + - [13.7](#variables--linebreak) Avoid linebreaks before or after `=` in an assignment. If your assignment violates [`max-len`](https://eslint.org/docs/rules/max-len.html), surround the value in parens. eslint [`operator-linebreak`](https://eslint.org/docs/rules/operator-linebreak.html). > Why? Linebreaks surrounding `=` can obfuscate the value of an assignment.