Created
March 27, 2026 03:31
-
-
Save eggplants/a8aefec250b87bbe4f4d84b5483940ef to your computer and use it in GitHub Desktop.
How to exclude ordinal ignored directories from targets of grep search in pnpm project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use rg instead of: | |
| grep -r FooBar --exclude-dir={.next,node_modules,.pnpm-store,dist,coverage} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment