Skip to content

Commit c4e84c2

Browse files
committedMar 5, 2020
Add clj-kondo and fix most linting warnings
1 parent c214622 commit c4e84c2

File tree

47 files changed

+178
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+178
-181
lines changed
 

‎.clj-kondo/config.edn

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{;;:skip-comments true
2+
:lint-as {potemkin/def-derived-map clojure.core/defrecord}
3+
:linters {:if {:level :off}
4+
:unused-binding {:level :off}
5+
:unused-referred-var {:exclude {clojure.test [deftest testing is are]
6+
cljs.test [deftest testing is are]}}}}

‎Justfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
help:
2+
@just --list
3+
4+
# Initializes lint
5+
init-lint:
6+
clj-kondo --lint $(lein classpath)
7+
8+
# Lints the project
9+
lint:
10+
./lint.sh

0 commit comments

Comments
 (0)
Please sign in to comment.