appsmithorg / appsmithorg/appsmith

[Feature] Detect Type mismatch in the linter

Open
#8,657 1 comment 0 reactions 1 assignee Assigned to @satbir121 View on GitHub
Enhancement Javascript Product JS Linting & Errors Query & JS Pod Query Widgets & IDE Pod
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

- 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.