amilajack / amilajack/eslint-plugin-compat

Plugin doesn't work on window.location.hostname

Đang mở
#376 4 bình luận 5 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3.2k
Fork
115
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Environment: VSCode
Plugin version: 3.7.0
Browserslist default: "> 0.5%, last 2 versions, Firefox ESR, not dead"
Issue: I am using some properties that are a part of window.location (such as hostname) but the plugin did not catch that it's incompatible with Opera 67; it only catches 'location.hostname' and not 'window.location.hostname'. Is this expected behavior? How can I make sure that explicit properties from the window object are not being missed by the linter?
Thank you.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.