Last active
September 15, 2022 09:36
-
-
Save namnm/f1b827e557e50d6fd7cd076c6cb01513 to your computer and use it in GitHub Desktop.
Run eslint on changed files only
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
git status -u --porcelain | egrep -h '^[^D]{2}.*\.js$' | cut -c 4- | xargs eslint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment