Demo, all content is generated
Question

Rules in .cursor/rules seem to be ignored in agent mode

Open · 65 views · asked by kaito · edited

I have .cursor/rules/style.mdc with "always use named exports" and "no default exports". In agent mode it still writes export default function every time. When I @ mention the rule file it follows it.

Top of the file:

---
description: code style
globs:
alwaysApply: false
---
What I’ve tried

Restarted Cursor, moved the text to the older .cursorrules file which also didn't seem to change anything.

Comment
Not an answer but: what happens if you set alwaysApply to true? With false and no globs I think it only gets pulled in when the model decides the description is relevant. clara_w · edited

Activity

21 helpers notified