#What's a valid lint command for a NextJS project?
10 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
@brittle hull unless explicitly disabled in the next config, nextjs will always run tsc as part of the build process and fail your builds if there are errors
I also use eslint directly instead of next lint
since i have extra configs it doesnt pick up (but maybe that may have been a config issue on my behalf)
running tsc isn't something i typically do during lint since those errors would be caught during build, but thats subjective
I prefer building to be the final stage after linting greenlights me, though it's nice to have that safety net in the beginning.
I'll probably end up sticking with ESLint + TSC for linting, is there a reason why you prefer ESLint over next lint?
I extend the default lint rules next provided with other ones
That makes sense, I do the same thing so I'll stick with ESLint + TSC then. Thank you so much! 💞