github / github/eslint-plugin-github
`github/require-passive-events` false-positive when `passive: false` is passed
Open
- Dominant language
- JavaScript
- Stars
- 336
- Forks
- 67
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 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`.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100