github / github/eslint-plugin-github

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

オープン
#356 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。