Closed Pete-Robelou closed 3 years ago
@Pete-Robelou On second thoughts here, perhaps we forgo running a sitewideformat
across the codebase. Content contributions are starting to come in, so wouldn't want to create unnecessary conflicts.
Would still suggest we update Prettier and set up husky
/ lint-staged
, that way files will progressively fall into the pit of formatting success as they're subsequently re-commited over time.
Would be good to run Prettier locally all the same, to gauage how many files would be affected by a blanket reformat.
Installed latest versions of husky
and lint-staged
and also updated prettier
to the latest.
Configured lint-staged
and prettier
to look at the same files js|json|css|md|html
.
format
script to make consistent.Some references: