disallow rest/spread properties (es/no-rest-spread-properties)
This rule reports ES2018 rest/spread properties as errors.
Examples
⛔ Examples of incorrect code for this rule:
/*eslint es/no-rest-spread-properties: error */
let obj = {...obj0}
let {a, ...rest} = obj
;({a, ...rest} = obj)
function f({a, ...rest}) {}