Fork me on GitHub
#clj-kondo
<
2023-11-11
>
borkdude19:11:33

@ericdallo What problem occurred when you use underscores in namespace names? We should mention that in the documentation, else people won't know why this linter is going to warn https://github.com/clj-kondo/clj-kondo/issues/1753

Alex Miller (Clojure team)20:11:37

I don’t think that actually is a problem, just an idiom

ericdallo21:11:33

I should probably added more details and a repro, but it was an error indeed, I just can't recall :/

ericdallo21:11:12

Found it on nubank's slack: the problem was that our clojure->dart custom lib expects ns with dashes and not underlines, so more like a convention indeed, not a real compilation or something problem. Even so, I do think this should be a warn linter, we can argue if should be enabled by default, but I think it's a common convention in clojure projects use dashes and not underlines for ns name

borkdude21:11:13

ok agreed, just a convention