jarrodwatts / code-like-google

A Next.JS Project using ESLint and Prettier to format code like Google's style guidelines.
126 stars 60 forks source link

Next.JS Style Guide: Google Edition

This project is a guide for creating new Next.JS projects using Google's TypeScript Style guidelines.


Technologies we are using:

Auto-formatting on save:

Inside /.vscode/settings.json we set prettier as the default formatter, and also set editor.codeActionsOnSave to run:

Checking standards pre-commit:

Using husky we can check all of our style standards to make sure our git commits are up to par. Check those checks out at .husky/pre-commit