BenoitZugmeyer / eslint-plugin-html

An ESLint plugin to extract and lint scripts from HTML files.
ISC License
430 stars 51 forks source link

Changes spread operator to using f.apply() #72

Closed hlapp closed 7 years ago

hlapp commented 7 years ago

The spread operator isn't supported yet in nodejs 4.x, so this restores compatibility with nodejs 4.x.

Fixes #71.

hlapp commented 7 years ago

It's worth noting that the Travis CI configuration for this repo doesn't actually test nodejs 4.x, so the tests passing on Travis right now only signify that the change doesn't break any tests under later nodejs versions that didn't have the issue to begin with.

BenoitZugmeyer commented 7 years ago

Thank you!