Set up linting and formatting for code and (S)CSS in Next.js with ESLint, Stylelint, Prettier and lint-staged

nausaf - Apr 26 '23 - - Dev Community

UPDATE: Please find an up to date version of this article on my Hashnode blog

I tried for hours in vain to get the updated version to display correctly here on dev.to. However, Dev.to's Markdown renderer is very temperamental and requires too much work to get a long post to look right. On Hashnode it was literally a Ctrl + V from the original markdown in my Obsidian. Hence the move (of both the article and my blog) to Hashnode.

. . . . .