NuxtN
Nuxt13mo ago
Tackleberry

Typescript linting?

I have the official nuxt eslint module in my project, no further custom configuration. However, I get no typescript errors from my linter about actual typescript errors, just stuff like "don't use any", but no "hey this function should have a number but you gave a string". Is mismatching function indexes or other "not adhering to interface" not something the linter should pick up on? Does it need additional configuration? Or do I need separate tooling for this? (and why wouldn't it be part of the baseline batteries-included approach from nuxt 🤔 )
Was this page helpful?