trippingtarballs / next-typescript

Starter template for a clean Next.js + TypeScript + ESLint project

Home Page:https://paulintrognon.fr/blog/post/typescript-prettier-eslint-next-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js with TypeScript and ESLint

Starter code for a clean Next.js + TypeScript + ESLint project.

More info here: https://paulintrognon.fr/blog/post/typescript-prettier-eslint-next-js

Get started

# Install dependencies
yarn install

# Enable husky
yarn husky install

# Start dev server
yarn dev

Features

  • ESLint and Prettier are integrated with VSCode to fix and format code on save (you need eslint and prettier VSCode plugins)
  • lint-staged: linting will only happen on staged files, not all file
  • Latest Husky
  • TypeScript types are checked before each commit
  • You can build it yourself by reading the blog post :-)

About

Starter template for a clean Next.js + TypeScript + ESLint project

https://paulintrognon.fr/blog/post/typescript-prettier-eslint-next-js


Languages

Language:TypeScript 52.1%Language:CSS 36.9%Language:JavaScript 9.9%Language:Shell 1.1%