Closed Kristinita closed 6 years ago
Nope, there's no equivalent of selectorSeparator
in stylintrc file.
Closed due to no activities.
@ThisIsManta, how I can solved this problem?
Thanks.
For styling, you either choose to have a JSON file containing formatting options (stylusSupremacy.xxx
) or Stylint rules. Unfortunately, you cannot find an equivalent Stylint rule that matches stylusSupremacy.selectorSeparator
. Hence, you cannot do it, unless Stylus Supremacy supports reading both formatting options and Stylint rules from the same file.
1. Summary
I can't find, how I can use Stylus Supermacy options, if I use
.stylintrc
.2. Configuration
SashaSupermacy.styl
:supermacy.json
:.stylintrc
:3. Expected behavior
I want convent
SashaSupermacy.styl
to:I hate any extra colons, braces, commas and so on.
4. Actual behavior
If:
else:
5. Not helped
"stylusSupremacy.selectorSeparator": "\n"
or"selectorSeparator": "\n"
to.stylintrc
.stylus-supremacy format SashaSupermacy.styl -r -p .stylintrc supermacy.json
orstylus-supremacy format SashaSupermacy.styl -r -p .stylintrc -p supermacy.json
commands. I getParseError
in terminal."stylusSupremacy.selectorSeparator": "\n"
in Stylint options.Thanks.