clj-kondo 2026-01-06

What am I doing wrong here? I’m trying to ignore an unused namespace in clojurescript, but still getting warnings.

(ns demo
  {:clj-kondo/ignore [:clojure-linter/unused-namespace]}
  (:require ["highcharts" :as Highcharts]
            ["highcharts-react-official" :as hr]
            ["highcharts/modules/heatmap" :as Heatmap])) ;; I want to ignore this 'unused require'

āœ… 1

Why do you write :clojure-linter/ ?

sigh, this is what the AI told me aha. I promise I did check the docs but in the wrong order, searching for the answer if you get me

I tried cljs-linter

but that was a guess

so thought I'd just own up hah

is the namespace not required?

or different?

not required

ace thank you!

10 points for the human team!

šŸ™Œ 1

would there be any interest in a "Redundant format" linter, to catch things like (format "foo") or (log/errorf "bar")?

šŸ‘ 5

Good idea, I fix these things manually all the time.

What does (log/errorf "bar") do?

same thing as (log/error "bar"), i.e. no formatting

Merged on master. Thanks @jonurnieta!

šŸ™ŒšŸæ thanks!