Stylelint for Sass / SCSS files
Answered
The latest version of PHPStorm has built-in support for Stylelint. However, this only works on CSS files as far as I can tell. I have stylelint configured to lint Sass files, but I don't see any options to tell PHPStorm to enable Stylelint for Sass files.
Please sign in to leave a comment.
Hi there,
Accordingly to the devs it should work for SCSS files just fine: https://youtrack.jetbrains.com/issue/WEB-19737#comment=27-1744948
The link to that issue above was helpful. It indicated that a conflict may exist with Sass linting plugins. That was the problem I had. After uninstalling the SassLint plugin Stylelint started to work again. Thank you!