Update README: Document corresponding jscs rules

This commit is contained in:
Maks Sadowsky
2016-03-06 11:01:01 +02:00
parent 0ece94f5bf
commit 8b6abf8cda

View File

@@ -436,7 +436,7 @@ Other Style Guides
const [first, second] = arr;
```
- [5.3](#5.3) <a name='5.3'></a> Use object destructuring for multiple return values, not array destructuring.
- [5.3](#5.3) <a name='5.3'></a> Use object destructuring for multiple return values, not array destructuring. jscs: [`disallowArrayDestructuringReturn`](http://jscs.info/rule/disallowArrayDestructuringReturn)
> Why? You can add new properties over time or change the order of things without breaking call sites.