Hmm. You're probably right. It is a useful linter check, but having to wrap it around entire functions is a bit stupid.