Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 685 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 685 Bytes

awesome-nextjs-eslint-config

Installation

  • Copy-paste .eslintrc.json and tsconfig.json into your project
  • Install packages with command in the next step

Installation command

Command using yarn

yarn add --dev @next/eslint-plugin-next @types/node @types/react @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-import eslint-plugin-prettier prettier eslint-plugin-react-hooks

Command using npm

npm install --save-dev @next/eslint-plugin-next @types/node @types/react @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-import eslint-plugin-prettier prettier eslint-plugin-react-hooks