B
B
beergreezen2016-07-04 07:49:49
css
beergreezen, 2016-07-04 07:49:49

Can you suggest any working style formatter for Stylus?

Hey!
I want to streamline the styles in an older project. The project uses BEM tools, respectively, all styles are set in .styl
As far as I know, there is no csscomb for Stylus, but I found stylint .
The essence of the problem:
I tried to enable stylint through gulp-shell and using the gulp-stylint plugin , while the built-in stylint reporter on the command line gives messages like
"
line 16 - prefer grouped when sorting properties
line 17 - duplicate property or selector, consider merging
"
But it doesn't change anything.
Below I will attach screenshots of the blockquote.styl
file:
47aa678974fa4cbe969a0e9b69074201.png
task in gulp:
792e02af04344a518f7c9f88b1e8bcca.png
result in command line:
4970cfd38f714e93a9422edc99caa178.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-07-04
@alexey-m-ukolov

but nothing changes

Since this is a linter, it should not change anything. Just check and report, which he does.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question