ESLint Config NextJS
Kienle Holdings NextJS ESLint Config
Installation
With pnpm (recommended)
pnpm install typescript eslint prettier @kienleholdings/prettier-config -D
pnpm install @kienleholdings/eslint-config-nextjs -D
With yarn
yarn add typescript eslint prettier @kienleholdings/prettier-config -D
yarn add @kienleholdings/eslint-config-nextjs -D
With npm
npm install typescript eslint prettier @kienleholdings/prettier-config -D
npm install @kienleholdings/eslint-config-nextjs -D
Usage
- Create a file named
.eslintrc.js
- Add the following:
module.exports = {
extends: [
'@kienleholdings/nextjs',
],
};