appsmithorg / appsmithorg/appsmith

[Feature] Detect Type mismatch in the linter

Offen
#8,657 1 Kommentar 0 Reaktionen 1 zugewiesene Person Zugewiesen an @satbir121 Auf GitHub ansehen
Enhancement Javascript Product JS Linting & Errors Query & JS Pod Query Widgets & IDE Pod
Vorherrschende Sprache
TypeScript
Sterne
40.9k
Forks
4.8k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
45

Beschreibung

- 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.