github / github/eslint-plugin-github
`github/no-useless-passive` false-negative when `passive: false` is passed
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 336
- Forks
- 67
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 6
Descripción
```js
window.addEventListener('click', click, { passive: false });
```
This should trigger a `github/no-useless-passive` warning but doesn't.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- eslint, javascript
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 48/100