Lint errors not working

As you can see in this photo, I have a lint warning on the first line of the file on the right but in my prompt to cursor agent I tagged the linter errors but the AI agent clearly can not see any lint issues in my file.

Mac OS on cursor version 0.48.x

I implemented a 200 line limit for cursor agent to keep the code readable since the agent has a tendency to just add code to the same file and making it ultra large. This will greatly improve the coding experience if it is fixed. Plus lint detection is a big deal generally to write good code.

1 Like

Can you turn the warning into an error and try if the agent sees it then? For me that helped with C++ warnings from clangd extension