# Lint errors not working

**URL:** <https://forum.cursor.com/t/lint-errors-not-working/70771>\
**Category:** Bug Reports\
**Created:** [March 27, 2025, 5:06am UTC](https://forum.cursor.com/t/lint-errors-not-working/70771 "2025-03-27T05:06:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![minh](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@minh](https://forum.cursor.com/u/minh)\
**Post date:** [March 27, 2025, 5:06am UTC](https://forum.cursor.com/t/lint-errors-not-working/70771/1 "2025-03-27T05:06:48Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/5/3/5351cac9093a7a395373cb2def8ac3b15488042e.png)

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.

---

<div class="post-metadata">

**Author:** ![khx](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@khx](https://forum.cursor.com/u/khx)\
**Post date:** [April 11, 2025, 10:41am UTC](https://forum.cursor.com/t/lint-errors-not-working/70771/2 "2025-04-11T10:41:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 11, 2025, 10:42am UTC](https://forum.cursor.com/t/lint-errors-not-working/70771/3 "2025-05-11T10:42:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
