only lint the git diff

This commit is contained in:
yenda 2020-05-07 10:44:41 +02:00
parent aad907ce77
commit b011d27c84
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ lint: export TARGET := clojure
lint: ##@test Run code style checks
yarn clj-kondo --confg .clj-kondo/config.edn --lint src && \
clojure -Sdeps '{:deps {cljfmt {:mvn/version "0.6.7"}}}' \
-m cljfmt.main check src \
-m cljfmt.main check src/status_im/core.cljs $(git diff --diff-filter=d --cached --name-only src) \
--indents indentation.edn
lint-fix: export TARGET := clojure