File tree Expand file tree Collapse file tree 5 files changed +20
-6
lines changed Expand file tree Collapse file tree 5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,10 @@ now manifest in emacs.
202
202
203
203
If something mysterious is happening, you may find it helpful to look at the
204
204
` *nrepl-messages... ` buffers, where CIDER silently logs all traffic between EMACS
205
- and Clojure. Among other things, you'll find here the Clojure expressions that
205
+ and Clojure. Note, per the [ cider docs] ( https://cider.readthedocs.io/en/latest/troubleshooting/ )
206
+ that you must have such logging turned on, either by setting ` nrepl-log-messages ` to true or running
207
+ ` nrepl-toggle-message-logging ` .
208
+ Among other things, you'll find here the Clojure expressions that
206
209
were evaluated to initiate the checking, e.g.
207
210
208
211
~~~
Original file line number Diff line number Diff line change @@ -200,7 +200,9 @@ If injecting the dependencies is not preferred set `flycheck-clojure-inject-depe
200
200
(when (and flycheck-clojure-inject-dependencies-at-jack-in
201
201
(boundp 'cider-jack-in-dependencies ))
202
202
(cider-add-to-alist 'cider-jack-in-dependencies " acyclic/squiggly-clojure" flycheck-clojure-dep-version)
203
- (cider-add-to-alist 'cider-jack-in-dependencies-exclusions " acyclic/squiggly-clojure" '(" org.clojure/tools.reader" ))))
203
+ ; ; reader is needed by kibit and no longer provided via cider
204
+ ; ;(cider-add-to-alist 'cider-jack-in-dependencies-exclusions "acyclic/squiggly-clojure" '("org.clojure/tools.reader"))
205
+ ))
204
206
205
207
;;;### autoload
206
208
(defun flycheck-clojure-setup ()
Original file line number Diff line number Diff line change 5
5
:url " http://www.eclipse.org/legal/epl-v10.html" }
6
6
:dependencies [[org.clojure/clojure " 1.9.0" ]
7
7
[environ " 1.1.0" ]
8
+ [org.clojure/tools.reader " 1.3.2" ]
8
9
[org.clojure/core.typed " 0.5.3" :exclusions [org.clojure/clojure] :classifier " slim" ]
9
10
[org.clojure/data.json " 0.2.6" ]
10
11
[jonase/eastwood " 0.2.8" :exclusions [org.clojure/clojure]]
Original file line number Diff line number Diff line change 4
4
:license {:name " Eclipse Public License"
5
5
:url " http://www.eclipse.org/legal/epl-v10.html" }
6
6
:dependencies [[org.clojure/clojure " 1.9.0" ]
7
- [org.clojure/core.typed " 0.5.3" :classifier " slim" ]]
7
+ ; ; Uncomment to enable core.typed annotations
8
+ [org.clojure/core.typed " 0.5.3" :classifier " slim" ]
9
+ ]
8
10
9
11
; ; Use lein-environ plugin if you want to set checker configuration in profile.
10
12
:plugins [[lein-environ " 1.1.0" ]]
11
13
12
14
; ; Configuration here may be overridden by namespace metadata.
13
- :profiles {:dev {:env {:squiggly {:checkers [:eastwood :typed ]
15
+ :profiles {:dev {:env {:squiggly {:checkers [:eastwood
16
+ ; ; Uncomment to include type-checking
17
+ ; ; :typed
18
+ ]
14
19
:eastwood-exclude-linters [:unlimited-use ]
15
20
:eastwood-options {; ; :builtin-config-files ["myconfigfile.clj"]
16
21
Original file line number Diff line number Diff line change 1
1
(ns sample-project.core
2
- {:squiggly {:checkers [:kibit :eastwood :typed ]
2
+ {:squiggly {:checkers [:kibit :eastwood
3
+ ; ; Uncomment to include type checking
4
+ ; ; :typed
5
+ ]
3
6
:eastwood-exclude-linters [:unlimited-use ]
4
7
:eastwood-options {:not-a-real-option " foo" }}
5
8
:lang :core.typed }
6
- (:require [clojure.core.typed :as t])
9
+ ; (:require [clojure.core.typed :as t])
7
10
; ; (:use [clojure.stacktrace]) ;; warning suppressed by :eastwood-exclude-linters
8
11
)
9
12
You can’t perform that action at this time.
0 commit comments