Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2023-07-13 09:09:17 +00:00
parent 4fad06f438
commit 40a500c743
4168 changed files with 298222 additions and 374905 deletions

View file

@ -3,9 +3,9 @@ module.exports = {
type: 'problem',
docs: {
description: 'disallow `Element.prototype.innerHTML` in favor of `Element.prototype.textContent`',
url: require('../url')(module)
url: require('../url')(module),
},
schema: []
schema: [],
},
create(context) {
@ -13,9 +13,9 @@ module.exports = {
'MemberExpression[property.name=innerHTML]': function (node) {
context.report({
node: node.property,
message: 'Using innerHTML poses a potential security risk and should not be used. Prefer using textContent.'
message: 'Using innerHTML poses a potential security risk and should not be used. Prefer using textContent.',
})
}
},
}
}
},
}