You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/proj/b.clj:1:1: unused-namespaces: Namespace proj.a is never used in proj.b
The text was updated successfully, but these errors were encountered:
camsaul
changed the title
unused-namespaces false poisitive with vars marked ^:const
unused-namespaces false positive with vars marked ^:const
Mar 2, 2016
I'm seeing the same thing with macros too. If these issues are hard to fix, it would be really helpful if I could exclusions for certain namespace usages in my Eastwood config file 👍
I've looked into this a bit, and it isn't obvious if there is a quick straightforward way to account for these namespace uses for vars declared with ^:const in other namespaces. I'll keep the issue open in case someone thinks of a way.
It looks like the
:unused-namespaces
linter is giving false positives when only constants are used from another namespace.Example:
a.clj
b.clj
Error
src/proj/b.clj:1:1: unused-namespaces: Namespace proj.a is never used in proj.b
The text was updated successfully, but these errors were encountered: