mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-27 00:49:39 +00:00
only lint the git diff
This commit is contained in:
parent
aad907ce77
commit
b011d27c84
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user