disallowArrayDestructuringReturn

Requires object destructuring for multiple return values, not array destructuring.

Type: Boolean

Value: true

Version: ES6

Example

"disallowArrayDestructuringReturn": true
Valid
const { left, right } = processInput(input);
Invalid
const [ left, __, top ] = processInput(input);
Rule source
Test source