Update checked-in dependencies
This commit is contained in:
parent
601c5ba56e
commit
eff6331393
1778 changed files with 42517 additions and 154082 deletions
4
node_modules/eslint-plugin-github/lib/rules/no-innerText.js
generated
vendored
4
node_modules/eslint-plugin-github/lib/rules/no-innerText.js
generated
vendored
|
|
@ -12,6 +12,10 @@ module.exports = {
|
|||
create(context) {
|
||||
return {
|
||||
MemberExpression(node) {
|
||||
// If the member expression is part of a call expression like `.innerText()` then it is not the same
|
||||
// as the `Element.innerText` property, and should not trigger a warning
|
||||
if (node.parent.type === 'CallExpression') return
|
||||
|
||||
if (node.property && node.property.name === 'innerText') {
|
||||
context.report({
|
||||
meta: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue