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,10 +3,10 @@ module.exports = {
type: 'problem',
docs: {
description: 'disallow `Element.prototype.innerText` in favor of `Element.prototype.textContent`',
url: require('../url')(module)
url: require('../url')(module),
},
fixable: 'code',
schema: []
schema: [],
},
create(context) {
@ -15,16 +15,16 @@ module.exports = {
if (node.property && node.property.name === 'innerText') {
context.report({
meta: {
fixable: 'code'
fixable: 'code',
},
node: node.property,
message: 'Prefer textContent to innerText',
fix(fixer) {
return fixer.replaceText(node.property, 'textContent')
}
},
})
}
}
},
}
}
},
}