Fork me on GitHub
#clj-kondo
<
2022-01-03
>
borkdude13:01:52

@UQTHDKJ8J Feel free to make a PR to the editor integration page of clj-kondo's docs

🆒 1
pinkfrog14:01:14

How to tell cljkondo to stop complain about the unresolved symbols on this line: https://github.com/juxt/site/blob/master/bin/site/#L1179. ? These symbosl are actually created by some macros in the ansi package

borkdude14:01:45

@i You can find configs on this page for every linter: https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#unresolved-var Also you can configure :lint-as to handle the macro which defines the colors.

pinkfrog15:01:10

In this case, what’s the proper way to hide the unresolved warnings?

borkdude15:01:41

I already told you

borkdude15:01:33

Use the config from the README I linked to :)

pinkfrog15:01:09

The :list-as approach is not applicable here. and (declare some-ns/name) is also invalid.

borkdude15:01:28

I mean this one: > You can find configs on this page for every linter: > https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#unresolved-var

borkdude15:01:50

You can add an :exclude [the-full-namespace] for that linter

pinkfrog15:01:22

Thanks for that.

👍 1
pinkfrog13:01:32

By the way, is it possible to exclude the namespace by directly specifying in that file instead of in the config.edn?

borkdude13:01:46

you can specify the config in your namespace's metadata

thanks3 1