Use `husky` or some other system to add precommit hooks to projects to run a linter and prettier when committing.