github / github/eslint-plugin-github
`github/no-useless-passive` false-negative 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('click', click, { passive: false });
```
This should trigger a `github/no-useless-passive` warning but doesn't.
Guia de contribuição
Direção de pesquisa
Start at the github/no-useless-passive rule and reproduce the provided addEventListener example. Trace how the rule handles the options object, then add coverage so passive: false produces a warning; done means the example is reported without changing the rule's handling of other passive values.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- eslint, 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
- 48/100