- Use git ls-files instead of grep -r for ~5x speedup - Only scans tracked files, respects .gitignore automatically - Add USE_GIT_LS_FILES=1 flag (default enabled) - Filter out *.standalone.js and *.min.js from checks - Fallback to grep -r for non-git directories Before: ~5-10 seconds scanning all files on disk After: ~1-2 seconds scanning only tracked files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
22 KiB
Executable File
22 KiB
Executable File