News for hackers. Stuff that matters.
Re:Disable comments make static analysis tools worse by Vinnl on Tuesday July 06, 2021 @04:27AM (#27745535)
In his example about console.log he explicitly mentions that it never happened again... Which makes sense to me, because even with the ability to disable the rule, you can't accidentally forget it. Sure, if a programmer is careless, it might still slip through because they disabled it, but with such a careless programmer you'll have bigger issues.

I certainly wouldn't mind if rules could only be disabled in context (or globally) and potentially even with a mandatory explanation though.

There are no comments on this comment yet.