StaticLint.jl
StaticLint.jl copied to clipboard
Ignore issue
Sometimes StaticLint incorrectly reports an issue and I want to ignore it. I want to comment e.g.
f(1,2,3) # staticlint-ignore: methodcall(f)
Is there any update related to that?
The issue with macros is a know issue and it is very annoying. See: https://github.com/julia-vscode/StaticLint.jl/issues/282
For example:
@enum Foo Bar = 1 Biz = 2
bar = Bar
This code shows missing reference in line 1 for each enumeration (Bar, Biz).
We could start with an simple all
and implementing step-by-step.
@enum Foo Bar = 1 Biz = 2 # staticlint-ignore: all
bar = Bar
With a start guidance, I could spend some time trying to implement it. 😁