Labels / Complexity: DX, good first issue · Trivial — 2 points
Summary
package.json defines "lint": "next lint", which is deprecated and will be removed in Next.js 16; the warning prints on every run. The project's actual ESLint config is the flat config eslint.config.mjs, so the script should invoke the ESLint CLI directly.
Proposal
- Change the
lint script to eslint . (or eslint src) so it reads eslint.config.mjs.
- Keep the same lint surface (no new rules) and confirm the existing
@typescript-eslint and no-console rules still apply.
- Update
README.md if it documents the lint command.
Acceptance criteria
Getting started
Files: package.json, eslint.config.mjs, README.md. Verify with npm run lint.
Good first files to read: package.json and eslint.config.mjs.
Labels / Complexity: DX, good first issue · Trivial — 2 points
Summary
package.jsondefines"lint": "next lint", which is deprecated and will be removed in Next.js 16; the warning prints on every run. The project's actual ESLint config is the flat configeslint.config.mjs, so the script should invoke the ESLint CLI directly.Proposal
lintscript toeslint .(oreslint src) so it readseslint.config.mjs.@typescript-eslintandno-consolerules still apply.README.mdif it documents the lint command.Acceptance criteria
npm run lintruns the ESLint CLI and exits 0 on a clean tree.npm run lint.next lintdeprecation warning no longer appears.npm run typecheckstill passes.Getting started
Files:
package.json,eslint.config.mjs,README.md. Verify withnpm run lint.Good first files to read:
package.jsonandeslint.config.mjs.