Skip to content

Commit 7973510

Browse files
solar05bbatsov
authored andcommitted
Add clj-kondo
1 parent cd29bd7 commit 7973510

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ commands:
5858
name: Install make
5959
command: |
6060
sudo apt-get install make
61+
- run:
62+
name: Install clj-kondo
63+
command: |
64+
sudo curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo && sudo chmod +x install-clj-kondo && sudo ./install-clj-kondo
6165
- run:
6266
name: Generate Cache Checksum
6367
command: |
@@ -181,3 +185,7 @@ workflows:
181185
name: Running cljfmt
182186
command: |
183187
make cljfmt
188+
- run:
189+
name: Running clj-kondo
190+
command: |
191+
make kondo

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ eastwood:
2424
cljfmt:
2525
lein with-profile +$(CLOJURE_VERSION),+cljfmt cljfmt check
2626

27+
kondo:
28+
clj-kondo --lint src
29+
2730
cloverage:
2831
lein with-profile +$(CLOJURE_VERSION),+cloverage cloverage
2932

0 commit comments

Comments
 (0)