Answer the question
In order to leave comments, you need to log in
How to automatically check the quality of less/scss code?
What tools are there to automatically check less/scss code?
This is not a validation check, but a quality check. For example, to avoid "magic" numbers, duplication of values in different places, checking for BEM usage, using !important, etc.
Answer the question
In order to leave comments, you need to log in
The easiest method is to compile to CSS and run it through CSSLint. If you want perversions, then you can drive through LessLint. Both solutions are available, for example, for Grunt. The first option is better, because, for example, plugins were recently added to Less and the same directory imports or user-defined functions (added by plugins) can cause errors.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question