Skip to content

Commit

Permalink
misc: add .cursorignore (#74763)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
devjiwonchoi authored Jan 10, 2025
1 parent ff2e354 commit df3bb52
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .cursorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Add directories or file patterns to ignore during indexing (e.g. foo/ or *.csv)
.config/
.github/
.husky/
.vscode/
bench/
crates/**/tests/
docs/
errors/
examples/
packages/create-next-app/templates/
packages/next/src/compiled/
packages/next-codemod/bin/__testfixtures__/
packages/next-codemod/transforms/__testfixtures__/
packages/next-codemod/transforms/__tests__/
scripts/
test/
turbo/
turbopack/**/tests/

**/*.test.*
**/*.md
**/*.toml
**/*.txt
**/*.yaml
**/*.yml
.*

0 comments on commit df3bb52

Please sign in to comment.