lint: prototype builtin resolve

pull/4658/head
John McLear 2021-01-19 19:38:33 +00:00
parent 450608374a
commit 698a76a1c8
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ exports.extractHooks = extractHooks;
exports.clientPluginNames = () => {
const client_plugin_names = _.uniq(
defs.parts
.filter((part) => part.hasOwnProperty('client_hooks'))
.filter((part) => Object.prototype.hasOwnProperty.call(part, 'client_hooks'))
.map((part) => `plugin-${part.plugin}`)
);