forked from pink-gorilla/notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclj-kondo.edn
64 lines (49 loc) · 1.83 KB
/
clj-kondo.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{:linters
{; see here for all options
;https://github.com/clj-kondo/clj-kondo/blob/master/src/clj_kondo/impl/config.clj
;:lint-as
;{org.httpkit.server/with-channel clj-kondo.lint-as/def-catch-all}
:unused-namespace
; namespaces in this list are those we get for side-effects.
; it is also possible to do regex search here:
; https://github.com/borkdude/clj-kondo/blob/master/doc/config.md
{:level :info
:exclude [clojure.core.async
cljs.core.async
cljs.core.async.macros
]}
:unused-referred-var
{:level :info
:exclude {taoensso.timbre [trace tracef ; dont be strict in referring to logging functions
debug debugf
info infof
warn warnf
error errorf]
clojure.core.async [<! <!! >! >!! put! chan go go-loop]
cljs.core.async [<! <!! >! >!! put! chan go go-loop]
cljs.core.async.macros [go go-loop]
re-frame.core [reg-event-db dispatch]
}
}
:unused-binding
{:level :info}
:unused-private-var
{:level :info}
:unresolved-symbol
{:level :info
;:creates-vars {org.httpkit.server/with-channel [con]}
;:exclude [; needed for: pinkgorilla/routes.cljs app-routes
;(secretary.core/defroute [query-params projects-path renderer-path])
; (org.httpkit.server/with-channel [con])
; (pinkgorilla.nrepl.ws.httpkit-ws-relay [con])
; ]
}
;:redundant-let
;{:level :info
; :exclude [pinkgorilla.events/kernel [kernel]]}
:redundant-do
{:level :info ; because the line below does not work, at least make them not ci breaking
:exclude [pinkgorilla.nrepl.ws.relay/process-message-mem] ; TODO: this does not work
}
; linters end
}}