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

@@ -1,4 +1,12 @@
const passiveEventListenerNames = new Set(['touchstart', 'touchmove', 'wheel', 'mousewheel'])
const passiveEventListenerNames = new Set([
'touchstart',
'touchmove',
'touchenter',
'touchend',
'touchleave',
'wheel',
'mousewheel',
])
const propIsPassiveTrue = prop => prop.key && prop.key.name === 'passive' && prop.value && prop.value.value === true
@@ -7,10 +15,10 @@ module.exports = {
type: 'suggestion',
docs: {
description: 'disallow marking a event handler as passive when it has no effect',
url: require('../url')(module)
url: require('../url')(module),
},
fixable: 'code',
schema: []
schema: [],
},
create(context) {
@@ -42,10 +50,10 @@ module.exports = {
}
}
return removals.map(t => fixer.remove(t))
}
},
})
}
}
},
}
}
},
}