[Sprint/ModestMonkey](chore): Added linting to pre-commit hook #1807
Closes #1807 (closed)
To Test
Pull the branch locally, install the new packages, try commit a) unlinted code. b) fit/describes. c) build errors should be caught on push.
Package Justification
I did do some research before this and found Husky (https://github.com/typicode/husky/) suggested as a way to get hooks to run simply cross-platform, nicely. Looking at their project it seems to be robust, actively maintained and used quite widely.
The other package I wanted to use is https://github.com/azz/pretty-quick which seemed the best to quickly lint, without overkilling things. There are packages that support multiple linters, but with Husky this is not needed.
added MR::Awaiting Review Squad::Green scoped labels
approved this merge request
approved this merge request
added 1 commit
- d5a49019 - Added pattern match for file extensions to prettier check
added 16 commits
- 45319a80...e6c32aca - 15 commits from branch
master
- a4b78f3c - Update
- 45319a80...e6c32aca - 15 commits from branch
approved this merge request
merged
mentioned in commit dfcf7e79