github / github/eslint-plugin-github
`github/require-passive-events` false-positive when `passive: false` is passed
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 336
- Fork
- 67
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 6
Mô tả
```js
window.addEventListener('touchmove', touchMove, { passive: false });
```
This should not trigger a `github/require-passive-events` warning because I've explicitly passed `passive: false`.
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 58/100