eslint-config-nextjs-ts
This package provides Kickstage's ESLint NextJS TypeScript shareable config.
Usage
-
Install the required packages:
npm install --save-dev eslint eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-config-next @typescript-eslint/eslint-plugin @typescript-eslint/parser @kickstage/eslint-config-nextjs-ts
-
Extend your ESLint config:
{ "extends": "@kickstage/eslint-config-nextjs-ts", "overrides": [ { "files": ["*.ts", "*.tsx"], "parserOptions": { "project": ["./tsconfig.json"] } } ], "parser": "@typescript-eslint/parser" }
License
The MIT License
Credits
Maintained by Kickstage.