redplanetlabs / rama-clj-kondo

clj-kondo hooks for Rama code
Apache License 2.0
11 stars 0 forks source link

Can't import configs #1

Closed fjolne closed 9 months ago

fjolne commented 9 months ago

clj-kondo can't find rama configs:

❯ clj-kondo --version
clj-kondo v2023.10.20

❯ clj-kondo --lint "$(clojure -Spath)" --copy-configs --skip-lint
Configs copied:
- .clj-kondo/babashka/fs
- .clj-kondo/taoensso/encore
linting took 256ms, errors: 0, warnings: 0

Tried both with deps.edn without aliases:

{:paths ["src" "test/resources/"]
 :mvn/repos
 {"releases" {:url "https://nexus.redplanetlabs.com/repository/maven-public-releases"}}
 :deps  {com.rpl/rama-helpers {:mvn/version "0.9.3"}
         com.rpl/rama {:mvn/version "0.11.0"}}}

and with project.clj from clojure-starter repo (with $(lein classpath)).

fjolne commented 9 months ago

Sorry, somehow thought that clj-kondo config is provided in Rama's main jar, not in this repo. Adding this repo to the classpath solved the problem.