clj-kondo

https://github.com/clj-kondo/clj-kondo
borkdude 2021-04-11T14:31:09.247800Z

@i let's continue here with your question. can you give an example?

2021-04-11T14:38:07.247900Z

(ns acme.mobile.log
  (:require [clojure.string :as string]
            [taoensso.timbre :as timbre])
  (:require-macros [acme.mobile.log :refer [debug info]]))

;; debug and info are meant to be used by the *external* libraries that import log.

;; clj-kondo complains debug and info are unused.

borkdude 2021-04-11T14:38:45.248100Z

you can configure this. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#unused-referred-var

borkdude 2021-04-11T14:40:55.248500Z

2021-04-11T14:42:05.248600Z

Can I do that inline in the acme.mobile.log file.

2021-04-11T14:42:14.248800Z

like #xxx supprese warning

borkdude 2021-04-11T14:43:17.249Z

you can also do that inline using #_:clj-kondo/ignore

2021-04-11T14:47:54.249200Z

great