github / github/eslint-plugin-github
`github/no-useless-passive` false-negative when `passive: false` is passed
オープン
- 主要言語
- JavaScript
- スター
- 336
- フォーク
- 67
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 6
説明
```js
window.addEventListener('click', click, { passive: false });
```
This should trigger a `github/no-useless-passive` warning but doesn't.
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- eslint, javascript
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100