Next.js Discord

Discord Forum

Make `next lint` work with an external eslint config

Unanswered
Spinge Bib Sqorpnts posted this in #help-forum
Open in Discord
Hey all! I have a monorepo where there's a root eslint.config.mjs (flat config), and I've set settings.next.rootDir to './apps/*/', but when I run next lint, it does not pickup the config file. What am I doing wrong?

1 Reply

Opened a related github ticket https://github.com/vercel/next.js/issues/67596