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
|
lint: ##@test Run code style checks
|
||||||
yarn clj-kondo --confg .clj-kondo/config.edn --lint src && \
|
yarn clj-kondo --confg .clj-kondo/config.edn --lint src && \
|
||||||
clojure -Sdeps '{:deps {cljfmt {:mvn/version "0.6.7"}}}' \
|
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
|
--indents indentation.edn
|
||||||
|
|
||||||
lint-fix: export TARGET := clojure
|
lint-fix: export TARGET := clojure
|
||||||
|
|
Loading…
Reference in New Issue