@Andrew_Taylor a linter is like someone who insists on applying Latin grammar to English. Once you know enough to be confident, safely ignore.
@Andrew_Taylor but I would recommend looking for a way of doing things that doesn't involve extending built-in prototypes