This repo demonstrates an issue with the calva editor and associated tooling whereby an incorrect configuration of the clj-kondo linter is not reported to the user.
- Download this repo
- Open the repo in calva
- Notice that the
(assoc)
form incore.clj
is not linted correctly - Notice that there is no feedback to the developer that linting has stopped working
- Enable the correct config in
.clj-kondo/config.edn
- Notice that the
(assoc)
form incore.clj
is now linted correctly
- Download this repo
- Notice that the clj-kondo config is incorrect
- Run clj-kondo:
clj -Mkondo --lint .
- Notice that you get a stacktrace
- Uncomment the
(go)
form fromcore.clj
- Run clj-kondo
- Notice that clj-kondo runs without issue notwithstanding the incorrect config