Skip to content

Instantly share code, notes, and snippets.

@brennop
Created February 17, 2021 21:42
Show Gist options
  • Save brennop/4e27ff82195aa66eec859c18b862cb55 to your computer and use it in GitHub Desktop.
Save brennop/4e27ff82195aa66eec859c18b862cb55 to your computer and use it in GitHub Desktop.
eslint current branch
#!/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