Fork me on GitHub
#clj-kondo
<
2022-05-09
>
rayat21:05:30

Per the following PR, is there in fact a lightweight way to test linting contributions? https://github.com/lilactown/helix/pull/93#pullrequestreview-966414595

borkdude21:05:57

lint the libraries' source code or tests

rayat23:05:25

I think, in terms of providing confidence to maintainers during lint-related PRs, automated testing was probs the idea in mind. Might that involve consuming clj-kondo as a lib and calling it upon hooks, etc?

borkdude01:05:49

Yes, linting the actually library and tests with 0 lint warnings would be the ultimate test, don't you think?

borkdude01:05:20

You can use clj-kondo as a JVM test lib for this

1
thanks3 1
rayat20:05:41

> https://clojurians.slack.com/archives/CHY97NXE2/p1652147809862699?thread_ts=1652132817.173779&amp;cid=CHY97NXE2 Yes indeed, I had assumed for some reason you were suggesting just running it by hand via CLI, and didn't and still don't yet know what it means to use it as a JVM test lib, though this can be explored at @U4YGF4NGM’s discretion I suppose!