Detecting undef on HTML #1789
-
|
I'm no sure where to ask this question (if here or eslint repo, or somewhere else). But I was wondering if is it possible to detect undefined variables and functions in the HTML (in this case exemplified below, highlight I just don't know if I'm missing a setting, or if it's a missing feature or even if it's just something that can't be done for not being possible to infer this kind of thing with linting. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Since you didn't use |
Beta Was this translation helpful? Give feedback.

Since you didn't use
lang="ts", you need to enablecheckJsin tsconfig.json / jsconfig.json, or just put// @ts-checkin script block top.