chore: ESLint config missing — pnpm lint is broken across the workspace #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Running
pnpm --filter @bitSpire/lnbits run lint(and presumably every other workspace package's lint script) fails immediately:There is no
eslint.config.js(or.eslintrc.*) at the workspace root, and no package-level config inpackages/*/. The script"lint": "eslint src/"therefore does nothing useful — and worse, any lint failures across the workspace are currently invisible because the runner bombs on config-missing before evaluating any rules.Why this matters
pnpm lintsee a config-error rather than rule-violation feedback.package.jsonscripts advertise functionality that doesn't exist.Fix shape
Two options:
Land a real config. Add an
eslint.config.jsat the workspace root with a sensible TypeScript + Vue setup. Minimum recipe:Plus update package devDeps to include
typescript-eslint+vue-eslint-parserif not already present.Remove the lint scripts entirely if we don't intend to use ESLint. (Probably the wrong call — TypeScript codebases this size benefit from lint enforcement.)
Discovered while
Working on
aiolabs/lamassu-next#49(reply signature verification). Ranpnpm --filter @bitSpire/lnbits run lintas a sanity check on my own patch, got the config-error.Out of scope