Fork me on GitHub
#clj-kondo
<
2022-04-17
>
mike_ananev10:04:27

With the latest clj-kondo v2022.04.08 I’ve got false positive Unused import.

mike@mbp02  gost git:(develop) ✗ bb lint                                                                                                                       (minikube/default)
[ ] lint 2022-04-17 13:28:53
src/org/rssys/gost/digest.clj:13:7: warning: Unused import GOST3411_2012_256Digest
src/org/rssys/gost/digest.clj:14:7: warning: Unused import GOST3411_2012_512Digest
test/org/rssys/gost/digest_test.clj:9:7: warning: Unused import GOST3411_2012_256Digest
test/org/rssys/gost/digest_test.clj:10:7: warning: Unused import GOST3411_2012_512Digest
linting took 326ms, errors: 0, warnings: 4
Error while executing task: lint
mike@mbp02  gost git:(develop) ✗ clj-kondo --version                                                                                                           (minikube/default)
clj-kondo v2022.04.08 
Repo with source codes is here: https://github.com/redstarssystems/gost

borkdude20:04:57

Can you create a clj-kondo issue with a minimal repro?

mike_ananev20:04:14

Sorry. I wanted to create issue today’s evening, after my day work. Thank you.

craftybones17:04:34

Hello. I just moved to an M1. I’m having some trouble getting the clj-kondo server started on Calva

craftybones17:04:49

It seems to not find my java runtime. I am not sure where or how

craftybones17:04:22

Friggin! No default runtime on the m1! Totally forgot

craftybones17:04:32

Grrr. Got it working. Had to install openjdk

craftybones17:04:37

Hopefully there aren’t other errors