Next.js Discord

Discord Forum

Does `next lint` automatically do linting for TS if installed?

Answered
Griffon Nivernais posted this in #help-forum
Open in Discord
Griffon NivernaisOP
It doesn't look like certain linter errors from TS are being displayed properly when I call next lint, and I'm unsure if this is expected behaviour and I have to configure something in userland or if this is a bug.
Answered by joulev
next lint should run eslint. so if you configure eslint to lint ts files then yes
View full answer

3 Replies

Griffon NivernaisOP
Bump.
Answer
Griffon NivernaisOP
hmm, ill look into that then, ty!