github / github/eslint-plugin-github

`github/require-passive-events` false-positive when `passive: false` is passed

オープン
#355 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
336
フォーク
67
平均マージ
1日 9時間
マージ済み PR(30日)
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

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

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