opensoldat / launcher

Launcher for OpenSoldat
MIT License
11 stars 3 forks source link

Prettier support #13

Closed Shoozza closed 1 year ago

Shoozza commented 1 year ago

Adds prettier support

rzaba0 commented 1 year ago

I tweaked the setup a little bit. I removed eslint-plugin-prettier from the dependencies, as it wasn't configured properly anyway, and according to the docs, the eslint-config-prettier package is enough for our needs.

This could be further improved in the future, for example by adding a new GitHub Action to verify the formatting (it would just run npx prettier --check .), or by running Prettier as a pre-commit hook.

Thanks for contributing!