A list of useful configuration files for bootstrapping phaser projects.
If you want code suggestion for Phaserjs and other libraries, just copy the defs folder and jsconfig.json file inside your project. VSCode will automatically suggest syntax.
For styling we need to use ESLint following this tutorial steps.
- cd workspace-directory
- npm init -y
- npm i -D eslint eslint-config-airbnb-base eslint-plugin-import
- Copy
.eslintrc.jsfrom this repository intoworkspace-directory - In VS Code, Ctrl + Shift + X
- Search ESLint
- Install ESLint
- Restart VS Code