Hacker News new | ask | show | jobs
by nothrabannosir 284 days ago
But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules
2 comments

For others who didn't know, the -u flag in the OP's command makes it so ripgrep _will_ search files even if they're gitignored
-u searches through ignored files

-uu searches through ignored and hidden files (eg dotfiles)

-uuu searches through ignored, hidden, and binary files (ie everything)

Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.