Линтинг только измененного
FILES_COMMITED=$( git log --oneline --name-only --no-merges --pretty=format:"" --after="$(git log --oneline --merges -1 --pretty=format:"%ad")" | grep ".[tj]s" )
FILES_UNCOMMITED=$( git diff HEAD --name-only )
LINTABLE=$(echo $FILES_COMMITED $FILES_UNCOMMITED)
./node_modules/.bin/tslint $LINTABLE