cara memperbaiki kesalahan eslint no-prototipe-builtins

let events = {"some-index": false};
let key = "some-index";

if(Object.prototype.hasOwnProperty.call(events, key)) {
    // This would compile without any issue !
    console.log("The object has the property");
}
Drab Dingo