Skip to content

Instantly share code, notes, and snippets.

@xavhan
Last active August 29, 2015 14:21
Show Gist options
  • Save xavhan/b743dbb665e80f1f0db9 to your computer and use it in GitHub Desktop.
Save xavhan/b743dbb665e80f1f0db9 to your computer and use it in GitHub Desktop.
jscs counter
jscs ./ --config=.jscsrc | cut -d " " -f1 | uniq -c | sort [ | wc -l]
jscs ./ --config=.jscsrc #get jscs results
| cut -d " " -f1 #keep only the file path
| uniq -c #group by file path and count
| sort #sort asc
#################################
| wc #get the number of files to change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment