Skip to content

Migrate lint to ESLint CLI and align CLAUDE.md with PostgreSQL#9

Merged
gndclouds merged 1 commit into
mainfrom
cursor/eslint-cli-and-docs-postgres-62fc
May 13, 2026
Merged

Migrate lint to ESLint CLI and align CLAUDE.md with PostgreSQL#9
gndclouds merged 1 commit into
mainfrom
cursor/eslint-cli-and-docs-postgres-62fc

Conversation

@gndclouds

Copy link
Copy Markdown
Member

Summary

This addresses two follow-ups from a recent codebase review: moving off deprecated next lint, and making CLAUDE.md match the real PostgreSQL + Prisma setup (already documented in AGENTS.md).

Changes

  • package.json: lint now runs eslint . instead of next lint.
  • eslint.config.mjs: Keeps FlatCompat with next/core-web-vitals (same rule set as before). The @next/codemod flat imports for eslint-config-next do not work with the published package layout here, so the compat layer was restored. Added ignores for generated/** and cli/node_modules/**.
  • package.json: Restored @eslint/eslintrc as a direct devDependency (required for FlatCompat).
  • CLAUDE.md: PostgreSQL commands, npm run db:push, Prisma Studio example URL, architecture line, and a short note on npx next dev vs npm run dev.
  • AGENTS.md: Removed the obsolete gotcha that said CLAUDE.md still referenced SQLite.

Verification

  • npm run lint passes locally.
  • npm run build was not run to completion in the agent environment because DIRECT_URL is unset (existing Prisma config requirement), not because of these edits.
Open in Web Open in Cursor 

- 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>
@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiny-garden Ready Ready Preview, Comment May 11, 2026 10:07pm

Request Review

@gndclouds
gndclouds marked this pull request as ready for review May 13, 2026 02:13
@gndclouds
gndclouds merged commit 586f63a into main May 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants