Hey guys!
My team is building a big monorepo with many folders, a lot of technologies and different coding languages. We weren’t sure how to integrate this properly with .cursorrules files (As we basically wanted a different nested file for each folder).
Now that we have the Project Rule feature, would you just make a rule file for each folder and provide it a glob for that folder? Would that be the best approach to handle monorepos?
Thanks in advance!
This really depends on your project specifically!
The Composer is able to pick it’s own rules (as long as the globs match) based on the description you give it - you can consider the description more like a statement for the AI to know when to use that rule.
You might use one per folder, or there may be times you want the same rules for a few folders, but I think experimentation (and help from others who have already done so) will be the best route forward here!
1 Like