wellcomecollection / identity

Identity services for Wellcome Collection users
MIT License
0 stars 2 forks source link

Replace pre-commit with husky and lint-staged #346

Closed jamieparkinson closed 2 years ago

jamieparkinson commented 2 years ago

Was a bit of a pain to sort out the CI side of this but I got there in the end - it turns out there were a load of things in main which were not correctly prettiered (I'm not sure how this happened), so this PR also includes those autoformatting changes.

jamieparkinson commented 2 years ago

The files were added after the prettier hook was set up - my best guess is that the change is with an increased prettier version somewhere!