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.
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 addpint
and some other Laravel specific tools but it looks likepre-commit
currently supports basically every language but PHP because I imagine the PHP tooling community is pretty insular. Some quick searching shows thatpint
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 andpint
requires an execution environment with composer installed, I'm going to leave this out until we've better defined our other goals and scope.