mirror of
https://github.com/status-im/status-react.git
synced 2025-03-04 04:21:10 +00:00
check formatting only in changed files in pre-commit hook
This commit is contained in:
parent
dd37223b58
commit
08ae404980
@ -14,9 +14,9 @@
|
||||
:plugins [[lein-cljsbuild "1.1.7"]
|
||||
[lein-re-frisk "0.5.8"]
|
||||
[lein-cljfmt "0.5.7"]
|
||||
[lein-githooks "0.1.0"]]
|
||||
[rasom/lein-githooks "0.1.3"]]
|
||||
:githooks {:auto-install true
|
||||
:pre-commit ["lein cljfmt check"]}
|
||||
:pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --cached --name-only src test/cljs)"]}
|
||||
:cljfmt {:indents {letsubs [[:inner 0]]}}
|
||||
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
||||
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
||||
|
Loading…
x
Reference in New Issue
Block a user