kwartzlab / kos-base

KwartzlabOS
4 stars 1 forks source link

feat(pre-commit): install a base set of pre-commit hooks to automatically maintain and sanity check repo changes #35

Closed azend closed 6 months ago

azend commented 6 months ago

This change is mainly boilerplate to install pre-commit hooks into the repo. I've installed some basic hooks as well as a super simple linting tool. I'd like to add pint and some other Laravel specific tools but it looks like pre-commit currently supports basically every language but PHP because I imagine the PHP tooling community is pretty insular. Some quick searching shows that pint is an option (it was always an option but some options take more effort than others) but, given we're still figuring out the development workflow and pint requires an execution environment with composer installed, I'm going to leave this out until we've better defined our other goals and scope.

azend commented 6 months ago

Relates to but doesn't necessarily squash #19