Skip to content

Commit 6fe6b58

Browse files
solar05bbatsov
authored andcommitted
Add clj-kondo
1 parent a233ee6 commit 6fe6b58

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
@@ -62,6 +62,10 @@ commands:
6262
name: Install make
6363
command: |
6464
sudo apt-get install make
65+
- run:
66+
name: Install clj-kondo
67+
command: |
68+
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
6569
- run:
6670
name: Generate Cache Checksum
6771
command: |
@@ -213,6 +217,10 @@ workflows:
213217
name: Running cljfmt
214218
command: |
215219
make cljfmt
220+
- run:
221+
name: Running clj-kondo
222+
command: |
223+
make kondo
216224
# - util_job:
217225
# name: Code coverage
218226
# steps:

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ eastwood:
1919
cljfmt:
2020
lein with-profile +$(VERSION),+cljfmt cljfmt check
2121

22+
kondo:
23+
clj-kondo --lint src
24+
2225
# Cloverage can't handle some of the code in this project. For now we
2326
# must filter problematic namespaces (`-e`) and tests (`-t`) from
2427
# instrumentation. Note: this means for now coverage reporting isn't

0 commit comments

Comments
 (0)