github / github/eslint-plugin-github
`github/require-passive-events` false-positive when `passive: false` is passed
未关闭
- 主要语言
- JavaScript
- 星标
- 336
- 派生
- 67
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 6
描述
```js
window.addEventListener('touchmove', touchMove, { passive: false });
```
This should not trigger a `github/require-passive-events` warning because I've explicitly passed `passive: false`.
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 58/100