This is a very useful tool ! Love it ! On Tuesday, April 21, 2015 at 6:20:42 PM UTC+2, Andy Fingerhut wrote: > > Looks like a bug in kibit. I'd recommend filing an issue on Github: > > https://github.com/jonase/kibit/issues > > Andy > > On Tue, Apr 21, 2015 at 1:33 AM, Cesare <cesare.z...@gmail.com > <javascript:>> wrote: > >> Hi Daniel, >> thanks a lot for this great plugin! >> >> I've just run it on a project but I don't get this: >> >> Consider using: >> :p >> instead of: >> (fn [s] [:p s]) >> >> I'd understand it if it was (fn [s] (:p s)) >> >> can you explain it? >> Thanks again >> >> >> On Monday, April 20, 2015 at 2:26:20 PM UTC+2, Daniel Compton wrote: >>> >>> I'm incredibly excited to announce that Kibit 0.1.2 has been released. >>> Kibit is a Leiningen plugin that inspects your code and suggests more >>> idiomatic ways of expression the same thing, e.g. >>> >>> (+ 1 num) can be rewritten as (inc num) >>> >>> The headlining features of this release are: >>> * Clojurescript/Cljx support (cljc support coming soon). This just works >>> *™*, kibit will pick up your source paths from your project.clj's >>> :source-paths, [:cljsbuild :builds], and [:cljx :builds]. >>> * Non-zero exit codes. Kibit now exits non-zero when one or more >>> suggestions are made. This is particularly useful for those running checks >>> in a CI environment. >>> * You can now run kibit on any Clojure project without a project.clj >>> file. Just call `lein kibit` with any number of files and folders and it >>> will inspect the Clojure files contained within. >>> >>> There are also a number of bug fixes, and new suggestions in this >>> release. >>> >>> You can install kibit by adding [lein-kibit "0.1.2"] to your :plugins >>> vector in your :user profile. More instructions and details are available >>> at https://github.com/jonase/kibit. >>> >>> -- >>> Daniel Compton. >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.