Created
September 26, 2025 20:33
-
-
Save nijotz/6a751b7c5ac58868a270a970bccd39a7 to your computer and use it in GitHub Desktop.
See who has the most typescript errors
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
| while read FILE LINE COL; do git blame -L $LINE,$LINE $FILE | sed -re 's/.*\(([^0-9]*) [0-9].*/\1/'; done < <(npx tsc --noEmit | grep -Po '[^: ]+\([0-9]+,[0-9]+\)' | sed -re 's/\(([0-9]+),([0-9]+)\)/ \1 \2/g') | sort | uniq -c | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment