TecKnow / muster-tools

A package for assigning players to tables at multi-table, walk-in gaming events.
GNU General Public License v3.0
0 stars 0 forks source link

Standardize project linters and formatters #36

Closed TecKnow closed 3 years ago

TecKnow commented 3 years ago

Before splitting this project into separate packages, husky commit hooks were used to apply prettier to files when they were staged. I have been applying npx prettier . --write to each of the three top level modules manually before commits, with imperfect discipline, since then.

Make the application of prettier to commits automatic again.

TecKnow commented 3 years ago

Prettier has been configured to run as a pre-commit hook using Husky at the top level of the repository. This was accomplished during the resolution of #24 . This doesn't standardize the linter configuration, but it should keep the repository uniformly formatted.