Has anyone figured out a way to get Cursor/Claude to reliably fix lint errors / IDE problems as it goes?
I used basedpyright, which surfaces problems in the Cursor IDE “Problems” UI, and it seems like
The only way Claude 4.0/4.5 can interact with basedpyright is the command line (rather than MCP, which is what I’d expect from the “Auto-Fix Lints” feature?)
I have to remind it constantly to fix the IDE problems
In every project, at the root, I ask Agent to write a PowerShell script that will run linters and output their results. I tried to synthesize my approach in Agent Enforcer, but so far it’s broken and nobody needs it.
It does seem like Cursor should make your approach not be required
Linting turns coding further into a verifiable domain, so it’s nuts that Cursor can’t reliably use linter errors as part of its completion verification loop.