github / github/eslint-plugin-github
`github/require-passive-events` false-positive when `passive: false` is passed
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 336
- Forks
- 67
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 6
Descrição
```js
window.addEventListener('touchmove', touchMove, { passive: false });
```
This should not trigger a `github/require-passive-events` warning because I've explicitly passed `passive: false`.
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 58/100