git ls-files --exclude-standard -- ':!:**/*.[pjs][npv]g' ':!:**/*.ai' ':!:.idea' ':!:**/*.eslintrc' ':!:package-lock.json' | xargs wc -l
':!:**/*.[pjs][npv]g'
excludes all png, jpg and svg files.
':!:**/*.ai'
excludes .ai
files.
':!:.idea'
excludes the .idea
(WebStorm anyone?) folder.
':!:**/*.eslintrc'
excludes .eslint
files.
':!:package-lock.json'
excludes the biggest offender of all, the package-lock.json.