github / github/eslint-plugin-github

`github/no-useless-passive` false-negative when `passive: false` is passed

未关闭
#356 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
336
派生
67
平均合并
1 天 9 小时
30 天内合并 PR
6

描述

```js
window.addEventListener('click', click, { passive: false });
```

This should trigger a `github/no-useless-passive` warning but doesn't.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。