I wanted to know which of our copied-in UI primitives were actually used, so I wrote the obvious loop: for f in components/ui/*.tsx; do n=$(basename "$f" .tsx) echo "$n: $(grep -rl "components/ui/$n\"" --include='*.tsx' app components | wc -l)" done It told me four files had zero importers: progress, separator, tabs, textarea. Dead code, 150... Weiterlesen: I nearly deleted four live components, because my audit grep only mat…
Intelligence View
⚡ tsecurity.de Intelligence
I nearly deleted four live components, because my audit grep only matched double quotes
I wanted to know which of our copied-in UI primitives were actually used, so I wrote the obvious loop: for f in components/ui/*.tsx; do n=$(basename "$f" .tsx)…
Intelligence Digest — free The top security news daily · unsubscribe anytime