kibit
kibit copied to clipboard
There's a function for that!
Source before: ``` (ns test_kibit.core (:require [test_kibit.data :as tkb])) (def test-value {::tkb/foo 1 ::tkb/bar 2}) (def size (-> (doto (java.util.ArrayList.) (.add (::tkb/foo test-value)) (.add (::tkb/bar test-value))) .size)) ``` After `lein...
## Overview Running kibit blows up on qualified keywords when the `:refer` statement comes before the `:as` statement in the require. ``` $ lein kibit OpenJDK 64-Bit Server VM warning:...
The reader literals for `##NaN`, `##Inf` are valid in recent Clojure versions, but these choke `lein kibit`: ``` $ lein kibit Check failed -- skipping rest of file (src/myproject/core.clj:65:null) [line...
```(defn foo [] (let [do "foo"] [do "bar"]))``` ``` Consider using: (let [do "foo"] "bar") instead of: (let [do "foo"] [do "bar"]) ``` ``` Consider using: "foo" instead of: [do...
It will replace code like this: (-> (mc/insert-batch db coll docs) (#(if (mr/acknowledged? %) ids nil)))))) with ((fn* [p1__127951#] (when (mr/acknowledged? p1__127951#) ids)) (mc/insert-batch db coll docs))))) or (dorun (map...
Trying out kibit I found out it **executes** some of my code in my projects if for instance there is a form inside my code such as > #=(println "POC")...
Hi, for building a release containing your latest commits/PRs (#222), I needed to setup and build my own version of kibit. I fixed some issues you might want to copy...
There is a faulty rule for `(not (empty? coll))`. it suggests `(seq coll)`... Am I right to say that these two expressions should be referential transparent?
Can you please release new version for https://github.com/jonase/kibit/blob/master/lein-kibit/src/leiningen/kibit.clj . This kibit.clj has new tag like `:repositories` . Did not see the same in 0.1.6 version.