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 causing issue when ESLint isn't used #665
I have a project that uses pnpm and biome as linter.
RTK seems to insist rewrite pnpm lint to rtk lint, which is then dependent on ESLint that I do not use.
This causes the agent to get into a re-try loop. Despite several notes I provided in Agents.MD, the confusion seems big enough that the agents kept tripping over this. Sometimes it'd eventually figure out what to do.
Proof -
# Test RTK rewrite of pnpm lint
$ rtk rewrite "pnpm lint"
rtk lint
Reacted by Thomas Orgeval, Dmitry Kulikov, Cody Brouwers, Walid Mostefaoui and Dimitar Nizamov
I’m taking this issue. I’ll adjust rewrite behavior so pnpm lint is routed through rtk pnpm lint (not rtk lint) to avoid ESLint-specific loops, with tests, in a focused PR against develop.
pnpm lint is unconditionally rewritten to rtk lint (which assumes ESLint), breaking projects that use alternative linters like biome; PR #678 is already in progress.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
Triaged automatically by wshm · This is an automated analysis, not a human review.
Closing as a duplicate of #3117, which reports the same rewrite of pnpm lint and biome invocations to the ESLint-only rtk lint filter and adds detail on how the resulting failure gets masked. Please follow up there.
Activity
timothyclin commentedon Mar 17, 2026
my current workaround is to use pnpm run lint, which rtk doesn't rewrite.
TechWizard9999 commentedon Mar 18, 2026
I’m taking this issue. I’ll adjust rewrite behavior so
pnpm lintis routed throughrtk pnpm lint(notrtk lint) to avoid ESLint-specific loops, with tests, in a focused PR against develop.TechWizard9999 commentedon Mar 18, 2026
I’ve submitted a PR to address this issue: #678
Changes include:
pnpm linttortk pnpm lintinstead of forcingrtk lintpnpm lintarguments in rewrite outputpnpm lintrewritesValidation run:
cargo fmt --all --checkrtk cargo clippy --all-targetsrtk cargo test./target/debug/rtk rewrite "pnpm lint"=>rtk pnpm lintPlease review when you get a chance.
pszymkowiak commentedon Mar 20, 2026
🔍 Automated Triage
bugmediumSummary
pnpm lint is unconditionally rewritten to rtk lint (which assumes ESLint), breaking projects that use alternative linters like biome; PR #678 is already in progress.
Triaged automatically by wshm · This is an automated analysis, not a human review.
fix(rtk): guard Biome rewrite collisions
fix(rtk): guard all biome invocations from RTK rewrite, including cd-…
fix(rtk-rewrite): passthrough all pnpm commands to avoid subcommand c…
fix(rtk-rewrite): passthrough all pnpm commands to avoid subcommand c…
dimitur2204 commentedon Jun 24, 2026
Would be great to have it, it is quite annoying right now. I worked around by changing to running
pnpm run lintPeterCardenas commentedon Jul 20, 2026
seems like there's config for this, fixed as of #1398. so i think can be closed?
KuSh commentedon Sep 13, 2026
Closing as a duplicate of #3117, which reports the same rewrite of
pnpm lintand biome invocations to the ESLint-onlyrtk lintfilter and adds detail on how the resulting failure gets masked. Please follow up there.