Remove "prefer spread" option in ESLint.

This removes the “prefer spread” option which prefers
the (…args) syntax over using Array.prototype.apply. This
however is part of ES6 syntax and is incompatible with
IE*, Opera*, < Safari 8; and old Chrome, FF versions.
This commit is contained in:
Brock Whittaker 2017-02-14 17:01:32 -08:00
parent 1cda0a346f
commit a2e9572200
1 changed files with 0 additions and 1 deletions

View File

@ -135,7 +135,6 @@
"no-new-func": "error",
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"no-param-reassign": 0,
"prefer-spread": "error",
"arrow-spacing": ["error", { "before": true, "after": true }],
"no-alert": 2,
"no-array-constructor": 2,