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.
On the other hand, I still have incorrectly tagged missing references reported 2.5 years ago, and new ones keep popping up. So the obvious solution of waiting for all of them getting fixed seems not to be viable.
The changes in this pull request allow ignoring specific missing reference warnings, via special comment lines added to any source. These lines should start with the text "#@linter_refs", and then provide comma-separated list(s) of the missing references to ignore.
Controlling the linter through #pragma statements is common practice. This functionality was also present in Lint.jl through a @lintpragma macro.
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.
On the other hand, I still have incorrectly tagged missing references reported 2.5 years ago, and new ones keep popping up. So the obvious solution of waiting for all of them getting fixed seems not to be viable.
The changes in this pull request allow ignoring specific missing reference warnings, via special comment lines added to any source. These lines should start with the text "#@linter_refs", and then provide comma-separated list(s) of the missing references to ignore.
Controlling the linter through #pragma statements is common practice. This functionality was also present in Lint.jl through a @lintpragma macro.