Created
February 17, 2021 21:42
-
-
Save brennop/4e27ff82195aa66eec859c18b862cb55 to your computer and use it in GitHub Desktop.
eslint current branch
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
#!/bin/bash | |
yarn eslint --fix --no-error-on-unmatched-pattern $(git diff develop... --name-only -- "*.ts" "*.tsx" "*.js" "*.jsx") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment