Fork me on GitHub
#calva
<
2023-03-03
>
DrLjótsson09:03:07

How do I disable warnings about unused functions in one namespace?

pez10:03:52

Iirc, you can’t. Something to search for/ask about in #CHY97NXE2.

👍 2
lread14:03:06

I think maybe unused private functions come from #CHY97NXE2, and unused public functions come from #CPABC1H61?

wevrem17:03:45

<cheeky>Call the function in a rich comment.</cheeky>

😃 2
skylize01:03:43

You can disable the named linter for a namespace in your user or project config. Because of "reasons" that particular linter cannot be set in the namespace macro. Should look something like this in config.edn (untested).

{:config-in-ns
 {my-project.foo
  {:linters {:unused-public-var {:level :off}}}}}