* Cursor "rules" file. Only meaningful for the project-local * location — Cursor reads `.cursor/rules/*.mdc` from the workspace * root. There is no global equivalent.
()
| 64 | * root. There is no global equivalent. |
| 65 | */ |
| 66 | function rulesPath(): string { |
| 67 | return path.join(process.cwd(), '.cursor', 'rules', 'codegraph.mdc'); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Cursor `.mdc` rules use YAML-ish frontmatter. `alwaysApply: true` |
no test coverage detected