Fork me on GitHub
#clj-kondo
<
2021-04-25
>
yuhan13:04:13

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

borkdude13:04:19

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

yuhan13:04:49

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

borkdude15:04:14

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