Stylelint and ESlint for Sage 10

I would like to have the default linting processes for Sage 10 that were default for Sage 9. Can someone point me in the right direction to do this? I have added ESLINT and STYLELINT to my dev dependencies and still nothing in terms of errors when I write bad SCSS.

Our docs for this here: https://docs.roots.io/sage/10.x/compiling-assets/#linting

What does your .stylelintrc look like right now?

Thanks so much. I looked and looked and did not find this. I will be closing the ticket unless you also want to delete it.

1 Like

Not a problem! Linting was recently removed by default and those docs are brand new.

Just a heads up, the Linting section that was linked in @ben answer is no longer on that page. There is now a dedicated page: Adding ESLint, Prettier, and Stylelint | Sage Docs | Roots

2 Likes