Created
February 6, 2023 19:13
-
-
Save jonchurch/c4ab048c81b0c0caba2cca4f0cefbf52 to your computer and use it in GitHub Desktop.
Get unique filenames from eslint output
This file contains 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
# input looks like | |
# ~/proj/src/some/file/path.tsx(60,9): error jest/no-conditional-expect : Avoid calling `expect` conditionally` | |
npm run lint -- --quiet | awk 'BEGIN { FS="(" }; {print $1O}' | uniq -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment