clj-kondo

https://github.com/clj-kondo/clj-kondo
yuhan 2021-04-25T13:32:13.359300Z

Does clj-kondo know about filenames and could it warn if a namespace name doesn't match up with its directory structure and filename?

borkdude 2021-04-25T13:39:19.359800Z

@qythium There is an issue for this where there is a discussion. Feel free to chime in there

yuhan 2021-04-25T13:49:49.361800Z

oops, should have checked first! I was just wondering because clj-kondo doesn't seem to have any static knowledge of the classpaths, so it couldn't tell how far up the directory tree to go to infer a file's "correct" ns name

borkdude 2021-04-25T15:00:14.362300Z

@qythium that's correct, although we can apply some heuristics maybe