StaticLint.jl
StaticLint.jl copied to clipboard
do not mark specified references as missing
StaticLint tends to give too many false missing references, and that makes this - otherwise very useful - feature barely usable, as one tends to ignore them, or turn this feature off. Fixing false missing references is always ongoing, but in my experience, this work is progressing very slowly, and new issues keep popping up.
The simple changes in this pull request allow ignoring specific missing reference warnings, via extra comment lines added to any source. These lines should start with the text "#@linter_refs", and then they should contain comma-separated list(s) of the missing references to ignore.
I'm not entirely sure I like this approach, but maybe it's necessary considering how hard it has been to fix the actual issues. Let me think about this a bit more...