Skip to content

ericmil87/Prettier-esLint-NextJS-Quick-Install

Repository files navigation

Prettier-esLint-NextJS

Easy way to configure nextjs eslint and prettier for vscode

Getting started

Copy all contents here into main project folder (where package.json is located) then run:

npm i --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier prettier eslint

You can now run

prettier --write .

The command above will run prettier in all supported files on your project

That's it :)