Migrate lint to ESLint CLI and align CLAUDE.md with PostgreSQL#9
Merged
Merged
Conversation
- Replace deprecated next lint with eslint . and keep FlatCompat + next/core-web-vitals - Re-add @eslint/eslintrc for the compat layer; ignore generated/ and cli/node_modules - Update CLAUDE.md for PostgreSQL, db:push/studio, and lint script; trim AGENTS.md stale note Co-authored-by: Will Felker <gndclouds@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gndclouds
marked this pull request as ready for review
May 13, 2026 02:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This addresses two follow-ups from a recent codebase review: moving off deprecated
next lint, and makingCLAUDE.mdmatch the real PostgreSQL + Prisma setup (already documented inAGENTS.md).Changes
package.json:lintnow runseslint .instead ofnext lint.eslint.config.mjs: KeepsFlatCompatwithnext/core-web-vitals(same rule set as before). The@next/codemodflat imports foreslint-config-nextdo not work with the published package layout here, so the compat layer was restored. Added ignores forgenerated/**andcli/node_modules/**.package.json: Restored@eslint/eslintrcas a direct devDependency (required forFlatCompat).CLAUDE.md: PostgreSQL commands,npm run db:push, Prisma Studio example URL, architecture line, and a short note onnpx next devvsnpm run dev.AGENTS.md: Removed the obsolete gotcha that saidCLAUDE.mdstill referenced SQLite.Verification
npm run lintpasses locally.npm run buildwas not run to completion in the agent environment becauseDIRECT_URLis unset (existing Prisma config requirement), not because of these edits.