appsmithorg / appsmithorg/appsmith

[Feature] Detect Type mismatch in the linter

Đang mở
#8,657 1 bình luận 0 reaction 1 người được giao Được giao cho @satbir121 Xem trên GitHub
Enhancement Javascript Product JS Linting & Errors Query & JS Pod Query Widgets & IDE Pod
Ngôn ngữ chính
TypeScript
Star
40.9k
Fork
4.8k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
45

Mô tả

- Invalid assignment operation does not show up as lint error
- function taking invalid argument types don't show an error

Examples:
```
Table1.tableData = []; // This is invalid
showAlert({ name: 'nikhil' }) // this is a mismatched data type as show alert only takes a string
```

JSHint doesn't help with types today

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.