My typical approach to warnings and lints is to treat them as fatal, and if there is a good reason to ignore it, specifically silence it for that specific instance, with a comment on why it is ok.
It really irks me when there isn't a way to have granular control over silencing warnings.
It really irks me when there isn't a way to have granular control over silencing warnings.