Setup a linter and [prettier](https://github.com/prettier/prettier). And add some git hooks to prevent bad commits. We could use [husky](https://github.com/typicode/husky).