Skip to content

Instantly share code, notes, and snippets.

@marcodejongh
Created January 4, 2017 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcodejongh/30928b32ac92a9ef6bd886e5a364394c to your computer and use it in GitHub Desktop.
Save marcodejongh/30928b32ac92a9ef6bd886e5a364394c to your computer and use it in GitHub Desktop.
npm run lint | grep '.*/partofpath/.*' | while read -r line ; do
echo "Processing $line"
# your code goes here
lebab --replace $line --transform args-rest
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment