Consider adding prettier to a pre commit hook
In a frontend team call it was mentioned we could add prettier to a pre-commit hook to save us time with eslint errors.
Prettier - https://prettier.io - formats the code automatically to match with the eslint defined preset: https://prettier.io/docs/en/eslint.html
We can use prettier manually through CLI: https://prettier.io/docs/en/cli.html or we can add this to a pre-commit hook: https://prettier.io/docs/en/precommit.html
There are 4 different options on how to add a pre-commit hook with prettier.
/cc @timzallmann