Fork me on GitHub
#clj-kondo
<
2024-02-07
>
mkvlr18:02:54

one thing that might be useful: when emitting a lint warning, also print what linter caused that warning so tweaking those settings becomes easier. In our case I’d like to enable/encourage usage of :refer :all in test namespaces. Is there a way to disable the :refer-all linter for a specific directory or namespace prefix?

1
Noah Bogart20:02:47

if you want the name of the linter in the output, use :output {:linter-name true}: https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#show-linter-name-in-message

👍 1
til 1
mkvlr20:02:42

awesome, so both things work already, thank you both!

👍 1