id: prefer-prototype-methods-js
valid:
  - 'Object.hasOwn(obj, key)'
  - 'Object.prototype.hasOwnProperty.call(obj, key)'
  - 'obj.hasOwnProperty'
invalid:
  - 'obj.hasOwnProperty(key)'
  - 'foo.hasOwnProperty("a", "b")'
