You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pnpm lint rewrite path reports "No issues found" while silently dropping ESLint warnings #2832
When a pnpm <script> that runs ESLint is intercepted by the Claude Code hook (rtk hook claude), the summarized output reports "ESLint: No issues found" with exit code 0 even though ESLint actually emitted warnings. The warnings are silently dropped. Running rtk lint directly on the same args reports them correctly, so the two code paths disagree.
The project has 5 max-lines-per-functionwarnings (0 errors).
$ pnpm lint # rewritten by the hook
ESLint: No issues found
exit code: 0
$ rtk lint assets/scripts build-templates --ext .ts,.js
ESLint: 0 errors, 5 warnings in 4 files
Top rules:
max-lines-per-function (5x)
...
Expected
The pnpm-script path should surface warnings just like rtk lint does, or at minimum not claim "No issues found" when warnings exist.
Impact
Workflows that require zero warnings (e.g. a "lint must be clean before commit" rule) are silently defeated — the summary hides real warnings and the exit code stays 0, so both humans and LLM agents believe the code is clean.
The pnpm-script rewrite path's ESLint summarizer disagrees with rtk lint's direct path, silently reporting 'No issues found'/exit 0 despite real warnings, defeating lint-clean gates; fix the pnpm rewrite's ESLint output parser to surface warning counts like the direct path.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/rewrite/pnpm.rs
src/summarize/eslint.rs
Triaged automatically by wshm · This is an automated analysis, not a human review.
Closing as a duplicate of #2094, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.
Activity
pszymkowiak commentedon Jul 5, 2026
🔍 Automated Triage
bughighSummary
The pnpm-script rewrite path's ESLint summarizer disagrees with
rtk lint's direct path, silently reporting 'No issues found'/exit 0 despite real warnings, defeating lint-clean gates; fix the pnpm rewrite's ESLint output parser to surface warning counts like the direct path.📁 Relevant files
src/rewrite/pnpm.rssrc/summarize/eslint.rsTriaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Sep 5, 2026
Closing as a duplicate of #2094, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.