ecsyjs / ecsy

Entity Component System for javascript
https://ecsyjs.github.io/ecsy/
MIT License
1.11k stars 115 forks source link

Upgrade prettier and fix linting #238

Closed robertlong closed 4 years ago

robertlong commented 4 years ago

I think vscode is using prettier 2.0 and I've been running into some issues when reformatting code. So I've upgraded us to prettier 2.0 and fixed all the linting errors.

The prettier 2.0 changelog: https://prettier.io/blog/2020/03/21/2.0.0.html

tldr; they like trailing commas and parens around single parameter arrow functions now.

fernandojsg commented 4 years ago

oh :( it was so cool to be true :D