I’m new to Cursor and I’m figuring out a few Auto Attached rules to set some basic context that I always want for certain file types when developing a specific application.
Using globs in a positive way (e.g. to include packages/**/*.ts) is clear to me.
But what if I want the following?
- a rule applied to packages/**/*.test.ts
- a different rule applied to packages/**/*.ts (but not .test.ts)
I searched the forum and the internet without luck. Is there a known way to do this?