acenturyandabit / fortknight

a mini chess battle royale
GNU General Public License v3.0
11 stars 30 forks source link

Formatting #94

Open VelialCypher opened 1 year ago

VelialCypher commented 1 year ago

Can add configs for formatting (Prettier, for example)?

You can also consider hooks for the git (Husky, for example), when, when pushing, the entire project is formatted to one style or does not allow pushing if the formatting is inappropriate.

This will improve the quality and make the code more uniform.

acenturyandabit commented 1 year ago

Hey, I think that's a nice idea - I just don't want people to have to install any dependencies for a beginner friendly project (unfortunately that means no NPM)...

I've been thinking of making a github-actions bot that will autoformat code when maintainers merge, so that we get clean code without users having to install any dependencies.