nkholski / phaser3-es6-webpack

Generic platformer and Phaser 3 bootstrap project
http://metroid.niklasberg.se/phaser3platformer/
702 stars 141 forks source link

npm test fails #5

Closed kfern closed 7 years ago

kfern commented 7 years ago

Game works fine, but npm test list 88 problems (88 errors, 0 warnings)

nkholski commented 7 years ago

It's me not following the styling rules set by eslint. I might setup .editorconfig but it's no priority since this are not real errors, just for readability. It's mostly missing spaces.

However, I fixed that Phaser was undefined.

kfern commented 7 years ago

From https://phaser.io/phaser3/contributing

  1. ESLint

There is an ESLint configuration and an Editor Configuration in the v3 folder. Please adhere to them! Although not enforced in the build process yet, I will be adding that at a later point. There are lots of tools you can install so your editor of choice will check the ESLint config during development.