Answer the question
In order to leave comments, you need to log in
Is there a gulp plugin for Stylus like csscomb?
It is necessary to compose and arrange declarations in stylus files, who uses what for this?
For css, there is such a plugin for Sass too, but if you write on stylus, it turns out to be useless.
Answer the question
In order to leave comments, you need to log in
CSSComb does not know how to handle Stylus, but (!) the developers promise to learn in the future.
For now, I can only recommend stylint , which has a sortOrder method .
Well, use it for the output CSS file.
https://www.npmjs.com/package/gulp-csscomb/
https://npmjs.org/package/gulp-csscomb-lint/
I think this will suit you.
https://www.npmjs.com/package/pretty-styl
Although this is not a gulp plugin, no one forbids finishing or running through gulp-shell
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question