Enforce styling across the repo
I'm noticing that we are having some different auto-formatting styles in some of the PRs. I'm thinking we should have an opinionated styling formatting for contributors going forward so we don't have large style changes going forward.
Proposal
This might be two pronged:
- Include an opinionated
.prettierrcfile so people's autoformat follows the team's standard consistently - Add a pre-commit hook for linting and standardizing styles
What do you think @NataliaTepluhina @phanan @sdras?
@bencodezen up for both options 👍🏻
I'd vote for a pre-commit hook. Husky and lint-staged work pretty well for me.
Agree with @phanan :)
Is this still on the to-do list? If so, is someone working on this or can the community contribute this? Thanks.
@schalkneethling Community contributions would certainly be welcome!