Problem
pnpm lint fails immediately — nothing in this repo is linted today.
$ pnpm lint
$ eslint .
sh: eslint: command not found
[ELIFECYCLE] Command failed.
Cause
package.json declares the script:
but eslint was never actually wired up:
- not in
dependencies or devDependencies
- not present in
pnpm-lock.yaml
- no
eslint binary in node_modules/.bin after a clean pnpm install --frozen-lockfile
- no flat config (
eslint.config.*) or legacy config (.eslintrc.*) anywhere in the repo
git log -S '"lint"' -- package.json traces the script back to 1c7a7d3 ("Initial commit from v0") — it came in with the v0 scaffold and the tooling behind it was never added. Note that Next.js 16 also removed the built-in next lint command, so there is no fallback path.
Impact
CI and contributors get no lint feedback at all. Anyone running the documented pnpm lint hits a confusing command not found rather than a lint result.
Suggested fix
Either:
- Wire it up — add
eslint, eslint-config-next, and @eslint/eslintrc/typescript-eslint as devDependencies and add an eslint.config.mjs flat config; or
- Remove the script if linting is intentionally out of scope, so the failure isn't misleading.
Option 1 seems right given the repo already ships TypeScript and a Next app.
Found while working on #(logo asset cleanup) — unrelated to that change, this is pre-existing on v3.
Problem
pnpm lintfails immediately — nothing in this repo is linted today.Cause
package.jsondeclares the script:but eslint was never actually wired up:
dependenciesordevDependenciespnpm-lock.yamleslintbinary innode_modules/.binafter a cleanpnpm install --frozen-lockfileeslint.config.*) or legacy config (.eslintrc.*) anywhere in the repogit log -S '"lint"' -- package.jsontraces the script back to1c7a7d3("Initial commit from v0") — it came in with the v0 scaffold and the tooling behind it was never added. Note that Next.js 16 also removed the built-innext lintcommand, so there is no fallback path.Impact
CI and contributors get no lint feedback at all. Anyone running the documented
pnpm linthits a confusingcommand not foundrather than a lint result.Suggested fix
Either:
eslint,eslint-config-next, and@eslint/eslintrc/typescript-eslintas devDependencies and add aneslint.config.mjsflat config; orOption 1 seems right given the repo already ships TypeScript and a Next app.
Found while working on #(logo asset cleanup) — unrelated to that change, this is pre-existing on
v3.