Skip to content

Commit df3bb52

Browse files
authored
misc: add .cursorignore (vercel#74763)
This PR added a `.cursorignore` file to ignore **27,500 files** for Cursor to index. ```.gitignore # The reverse pattern did not work. * !packages/** ``` ### Before ![CleanShot 2025-01-11 at 03 47 56](https://github.com/user-attachments/assets/21ebf15b-301f-4238-b500-1e21529130cf) ### After ![CleanShot 2025-01-11 at 03 58 50](https://github.com/user-attachments/assets/f3842039-c6e5-43e0-924b-ac1c24ebd281)
1 parent ff2e354 commit df3bb52

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.cursorignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Add directories or file patterns to ignore during indexing (e.g. foo/ or *.csv)
2+
.config/
3+
.github/
4+
.husky/
5+
.vscode/
6+
bench/
7+
crates/**/tests/
8+
docs/
9+
errors/
10+
examples/
11+
packages/create-next-app/templates/
12+
packages/next/src/compiled/
13+
packages/next-codemod/bin/__testfixtures__/
14+
packages/next-codemod/transforms/__testfixtures__/
15+
packages/next-codemod/transforms/__tests__/
16+
scripts/
17+
test/
18+
turbo/
19+
turbopack/**/tests/
20+
21+
**/*.test.*
22+
**/*.md
23+
**/*.toml
24+
**/*.txt
25+
**/*.yaml
26+
**/*.yml
27+
.*

0 commit comments

Comments
 (0)