Well, maybe it's cargo culted from a place with such a linter. Or ornery peer reviewers who think their job is to be a human linter.
Correcting this sort of stuff is the job of a senior engineer, though. If it's extremely frustrating, I'd become independently wealthy or stay away from technical leadership positions.
The reason we got code like this was because of outsourced contractors cargo-culting something they saw elsewhere.