-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathconfig.edn
43 lines (43 loc) · 2.87 KB
/
config.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
;; `nrepl.core/code` can contain intentionally broken code in the test suite, so we silence related resolution errors:
{:lint-as {nrepl.core/code clojure.core/quote}
;; Set up :refer linter, mainly for banning the refer-ing of `refresh-dirs`. We don't want to accidentally shadow it in related code.
;; Feel free to add more :exclude entries - we're unopinionated about :refer (if anything, refactor-nrepl facilitates the usage of :refer)
:linters {:refer {:level :warning
:exclude [clojure.java.io
clojure.pprint
clojure.stacktrace
clojure.test
clojure.tools.analyzer.ast
clojure.tools.namespace.parse
;; please don't add `clojure.tools.namespace.repl` here, see comment above.
clojure.tools.nrepl.middleware
clojure.tools.nrepl.misc
nrepl.middleware
nrepl.middleware.interruptible-eval
nrepl.misc
orchard.info
refactor-nrepl.client
refactor-nrepl.config
refactor-nrepl.core
refactor-nrepl.find.find-macros
refactor-nrepl.find.find-symbol
refactor-nrepl.ns.clean-ns
refactor-nrepl.ns.libspecs
refactor-nrepl.ns.ns-parser
refactor-nrepl.ns.pprint
refactor-nrepl.ns.prune-dependencies
refactor-nrepl.ns.rebuild
refactor-nrepl.ns.resolve-missing-test
refactor-nrepl.ns.slam.hound.future
refactor-nrepl.stubs-for-interface
refactor-nrepl.unreadable-files
refactor-nrepl.util]}
:consistent-alias {:aliases {clojure.tools.namespace.dependency dep
clojure.tools.namespace.file file
;; don't alias as `repl`, because we use this ns mainly for its `refresh-dirs`
;; which has little to do with repls:
clojure.tools.namespace.repl tools.namespace.repl
clojure.tools.namespace.track tracker}}
:unresolved-symbol {:exclude [(refactor-nrepl.ns.ns-parser/with-libspecs-from [libspecs])
(refactor-nrepl.middleware/set-descriptor! [set-descriptor!])]}
:unresolved-namespace {:exclude [clojure.main]}}}