github / github/eslint-plugin-github
`github/require-passive-events` false-positive when `passive: false` is passed
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 336
- Forks
- 67
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 6
Description
```js
window.addEventListener('touchmove', touchMove, { passive: false });
```
This should not trigger a `github/require-passive-events` warning because I've explicitly passed `passive: false`.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Locate the implementation and existing tests for the github/require-passive-events rule, then start by checking how listener options are interpreted. The change is done when the shown touchmove listener with passive: false produces no warning while the rule's existing warning behavior remains covered by tests.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 58/100