Here is my ESLint plugins I use for all my NextJS projects: https://github.com/ixartz/Next-js-Boilerplate/blob/main/package.json#L85-L102 There are 18 plugins. I also use ESLint plugins for testing part: Jest, Playwright, Storybook, etc. And here you can find how I configure everything: https://github.com/ixartz/Next-js-Boilerplate/blob/main/.eslintrc Answer from ixartz on reddit.com
Next.js
nextjs.org › docs › app › api-reference › config › eslint
Configuration: ESLint | Next.js
2 weeks ago - Learn how to use and configure the ESLint plugin to catch common issues and problems in a Next.js application.
How to use new "flat config" approach in Eslint?
For anyone who want try eslint 9 flat config in Nextjs. More on github.com
next.js - ESLint 9 is not working properly with Next 15 - Stack Overflow
I've recently migrated my project to Next.js 15, but ESLint isn’t functioning as expected. So far, I've installed the following packages: "eslint": "9.13.0", "eslint-config... More on stackoverflow.com
Help me improve my NextJS eslint
Why not just use the out of the box Core Web vitals with v8, and Prettier if you need code formatting? Whatever the heck you made there looks way overly complicated. NextJS eslint doesn't need any configuration at all, and covers everything important. They'll update to v9 in the near future, so no point in trying to engineer their own work. More on reddit.com
What ESLint Plugins Do You Recommend When Using NextJs?
Here is my ESLint plugins I use for all my NextJS projects: https://github.com/ixartz/Next-js-Boilerplate/blob/main/package.json#L85-L102 There are 18 plugins. I also use ESLint plugins for testing part: Jest, Playwright, Storybook, etc. And here you can find how I configure everything: https://github.com/ixartz/Next-js-Boilerplate/blob/main/.eslintrc More on reddit.com
Videos
52:05
ESLint Deep Dive with Next.js and TS | Industry Level Next.js Setup ...
29:40
Using ESLint as Formatter in Next.js | Industry Level Next.js Setup ...
05:51
🚀 Setup Eslint with Nextjs 13 Like a Pro! | Eslint Next.js 13 ...
05:40
#2 - Improving DX w/ Prettier & ESLint | Next.JS 14 Series - YouTube
07:41
React/Next.js typescript airbnb eslint code style setup guide - ...
Reddit
reddit.com › r/reactjs › what eslint plugins do you recommend when using nextjs?
r/reactjs on Reddit: What ESLint Plugins Do You Recommend When Using NextJs?
February 20, 2024 -
I've recently been looking at the Bullet Proof React repository and noticed that they use a few ESLint plugins. I've only ever used what comes with Next. What plugins do you use and recommend?
Top answer 1 of 6
15
eslint-plugin-react eslint-plugin-react-hooks eslint-config-next typescript-eslint/eslint-plugin eslint-plugin-prettier sort-imports or eslint-plugin-simple-import-sort eslint-plugin-boundaries And plugins for tests (RTL, Cypress etc.) if you want to enforce lint on your tests and you're using these libs.
2 of 6
9
Here is my ESLint plugins I use for all my NextJS projects: https://github.com/ixartz/Next-js-Boilerplate/blob/main/package.json#L85-L102 There are 18 plugins. I also use ESLint plugins for testing part: Jest, Playwright, Storybook, etc. And here you can find how I configure everything: https://github.com/ixartz/Next-js-Boilerplate/blob/main/.eslintrc
npm
npmjs.com › package › @next › eslint-plugin-next
@next/eslint-plugin-next - npm
January 27, 2026 - ESLint plugin for Next.js.. Latest version: 16.1.6, last published: a month ago. Start using @next/eslint-plugin-next in your project by running `npm i @next/eslint-plugin-next`. There are 650 other projects in the npm registry using @next/eslint-plugin-next.
» npm install @next/eslint-plugin-next
GitHub
github.com › aridanpantoja › eslint-prettier-nextjs
GitHub - aridanpantoja/eslint-prettier-nextjs: Comprehensive guide for integrating ESLint and Prettier into a Next.js project · GitHub
This repository provides a comprehensive guide for integrating ESLint and Prettier into a Next.js project with TailwindCSS.
Author aridanpantoja
Chris
chris.lu › web_development › tutorials › next-js-16-linting-setup-eslint-9-flat-config
Next.js 16 Linting setup using ESLint 9 flat config | chris.lu
The next lint command has been completely removed in Next.js 16. Instead, you should use ESLint (or Biome) directly through npm scripts.
GitHub
github.com › vercel › next.js › discussions › 49337
How to use new "flat config" approach in Eslint? · vercel/next.js · Discussion #49337
You need to install @next/eslint-plugin-next, eslint-plugin-react and eslint-plugin-react-hooks as dev dependencies.
Author vercel
Top answer 1 of 2
2
Use compatibility mode
Original:
{
"extends": [
"next/core-web-vitals",
"plugin:@tanstack/eslint-plugin-query/recommended",
"prettier"
],
"plugins": ["@tanstack/query"]
}
Flat:
import { FlatCompat } from "@eslint/eslintrc"
import path from "path"
import { fileURLToPath } from "url"
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const compat = new FlatCompat({
baseDirectory: __dirname,
})
/** @type {import('eslint').Linter.Config[]} */
const configs = [
...compat.extends("next/core-web-vitals"),
...compat.extends("next/typescript"),
...compat.extends("plugin:@tanstack/eslint-plugin-query/recommended"),
...compat.extends("prettier"),
...compat.plugins("@tanstack/query"),
]
export default configs
https://github.com/vercel/next.js/issues/71763#issuecomment-2436288395
2 of 2
1
Next.js 15 introduced changes to ESLint configuration, which can cause issues with VS Code integration. To simplify the setup and ensure ESLint and Prettier work correctly, I created a CLI that automates everything.
- NPM: https://www.npmjs.com/package/eslint-prettier-next-15
- GitHub: https://github.com/danielalves96/eslint-prettier-next-15
You can install and run it, and it will configure everything properly. Plus, you can customize the setup as needed. Hope this helps!
npm
npmjs.com › package › eslint-config-next
eslint-config-next - npm
January 27, 2026 - ESLint configuration used by Next.js.. Latest version: 16.1.6, last published: a month ago. Start using eslint-config-next in your project by running `npm i eslint-config-next`. There are 1677 other projects in the npm registry using eslint-config-next.
» npm install eslint-config-next
YouTube
youtube.com › watch
How to setup ESLint and Prettier in Next.js Projects - YouTube
Check out MiniTool MovieMaker: https://bit.ly/4hKFA9ALearn how to set up ESLint and Prettier in your Next.js projects to maintain clean and consistent code! ...
Published December 29, 2024