mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 07:47:54 -05:00
Update README: Document corresponding jscs rules
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user