Add ESlint
See this commit for packages needed to lint this gatsby project.
I would typically also include typescript.
Add Prettier (optional)
See the commit above for prettier integrations as well.
Add Build Validation
With prettier integrated into eslint, you can run a single npm run lint task to validate code during PRs.