Eastwood, the Clojure lint tool, version 0.2.1 has been released.  See
install instructions and complete documentation at [1].

If you use Emacs+Cider or Eclipse+Counterclockwise development
environments, there are now add-ons that integrate Eastwood warnings,
thanks to the work of Peter Fraenkel, Laurent Petit, and other
contributors.  See [2].

Below are some of the changes since version 0.2.0.  A complete list is
at [3].

Go squash some bugs!

Jonas Enlund, Nicola Mometto, and Andy Fingerhut

[1] https://github.com/jonase/eastwood
[2] https://github.com/jonase/eastwood#editor-support
[3]
https://github.com/jonase/eastwood/blob/master/changes.md#changes-from-version-020-to-021



New linters, and new good warnings from existing linters:

* New linter :wrong-ns-form that warns about several kinds of wrong
  or suspicious :require or :use subforms inside ns forms.

* :suspicious-expression linter now warns about trivial uses of more
  clojure.core macros then before.

Fewer unwanted warnings, via logic enhancements or configuration
options:

* Several linters now have configuration options to disable their
  warnings based upon whether the warnings occur inside of a
  macroexpansion of a particular macro.  By default, Eastwood loads
  several config files worth of such disabling options for the linters
  :constant-test, :redefd-vars, :suspicious-expression, and
  :unused-ret-vals that prevent them from generating many unwanted
  warning messages, at least when certain macros are used, such as
  those in core.contracts, core.match, core.typed, Korma,
  Carmine, Timbre, Instaparse, and Schema.  Eastwood users may write
  their own config files to disable more warnings.

* The :wrong-arity linter now generates nearly no unwanted warnings
  when you use the java.jdbc and Hiccup libraries.  Those libraries
  modify the :arglists key in metadata of some of their functions
  and macros for documentation purposes, but in a way that fooled
  Eastwood into generating incorrect warnings.  Like the previous
  item, this is also configurable, and Eastwood users may extend these
  configurations for their own situations.

* The :unused-namespaces linter had several bugs causing it to
  report a namespace that was required or used as being unused,
  when in fact it was.

Other enhancements:

* When reflection or boxed math warnings are enabled and the Clojure
  compiler prints them during Eastwood's eval-ing of your code,
  Eastwood will recognize them and change their format to match that
  of Eastwood's own warnings, so that they may be stepped through in
  editors in the same way as other Eastwood warnings.

* New eastwood.lint/lint function intended for use by developers
  integrating Eastwood with editors and IDEs.

* When specifying lists of linters to use in Eastwood options, can now
  use the keyword :all as an abbreviation for all linters, or
  :default for all linters enabled by default.

-- 
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.

Reply via email to