_Originally posted by @AshesITR in https://github.com/r-lib/lintr/pull/2302#discussion_r1400071444_