Skip to content

Instantly share code, notes, and snippets.

@littleli
Created February 4, 2020 14:41
Show Gist options
  • Save littleli/1a22829118cef1cfc69048568f1d6b73 to your computer and use it in GitHub Desktop.
Save littleli/1a22829118cef1cfc69048568f1d6b73 to your computer and use it in GitHub Desktop.
# Check your changes compared to master with clj-kondo:
git diff `git merge-base origin/master HEAD` --name-only |grep -e '.clj$' | (cd `git root`; xargs clj-kondo --lint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment