Replace next lint with the ESLint CLI

Proprietary

Next.js 16 removed next lint. Rewrites next lint in package.json scripts to eslint . for projects that declare eslint, keeping portable arguments such as --fix. Scripts with arguments that ESLint does not know are left alone.

io.moderne.nextjs.16.next-lint-to-eslint
mod run . --recipe=io.moderne.nextjs.16.next-lint-to-eslint

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.