Fork me on GitHub
#announcements
<
2023-03-17
>
Noah Bogart04:03:36

https://cljdoc.org/d/io.github.noahtheduke/splint/0.1.119/doc/home: a Rubocop and Kibit inspired linter focused on style and code shape, providing an easily extendable interface for adding new and custom lints. (77 different rules and counting!) v0.1.119 is upon us. It includes a whole bunch of deep changes and adjustments, but the primary one is clj-kondo style #_:splint/disable magic comments that allow disabling all or some rules in the following forms. With this feature, I feel that Splint is at a solid base of features and usability. Documentation is lacking a bit but I will be turning my attention toward it for the next release. I’ve created #splint for discussion of the tool.

clojure 22
🎉 6
borkdude13:03:08

https://github.com/clj-kondo/clj-kondo: static analyzer and linter for Clojure code that sparks joy 2023.03.17 • https://github.com/clj-kondo/clj-kondo/issues/2010: Support inline macro configuration. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#inline-macro-configurationhttps://github.com/clj-kondo/clj-kondo/issues/2010: Short syntax to disable linters: {:ignore [:unresolved-symbol]} or {:ignore true}, valid in ns-metadata, :config-in-ns, :config-in-callhttps://github.com/clj-kondo/clj-kondo/issues/2007: new :var-same-name-except-case linter: warn when vars have names that differ only in case (important for AOT compilation and case-insensitive filesystems) (https://github.com/emlyn). • https://github.com/clj-kondo/clj-kondo/issues/1269: warn on :jvm-opts in top level of deps.ednhttps://github.com/clj-kondo/clj-kondo/issues/2003: detect invalid arity call for function passed to update, update-in, swap!, swap-vals!, send, send-off, and send-via (https://github.com/jakemcc). • https://github.com/clj-kondo/clj-kondo/issues/1983: add support for java member analysis, via new java-member-definitions bucket (https://github.com/ericdallo). • https://github.com/clj-kondo/clj-kondo/issues/1999: add hooks-api/set-node and hooks-api/set-node? (https://github.com/sritchie). • https://github.com/clj-kondo/clj-kondo/issues/1997: False positive on clojure.core/aget with more than two args • https://github.com/clj-kondo/clj-kondo/issues/2011: push images to GHCR (https://github.com/lispyclouds) • https://github.com/clj-kondo/clj-kondo/issues/2001: false positive :misplaced-docstring in clojure.test/deftest

🎉 42
awesome 18
clj-kondo 20
borkdude13:03:00

Inline macro config in action:

borkdude13:03:26

:jvm-opts detection:

Noah Bogart13:03:02

these are some amazing features!

phill16:03:05

inline macro configuration - great!