matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

help: rule(s) to ignore newline after coma in SCSS? #212

Open montrealist opened 8 years ago

montrealist commented 8 years ago

I have the following SCSS I do not want to be formatted:

  $sizes: (
    desktop: (
      L1: ( font-size: 60px, line-height: 80px ),
      L2: ( font-size: 40px, line-height: 70px )
    ),
    mobile: (
      L1: ( font-size: 30px, line-height: 40px ),
      L2: ( font-size: 35px, line-height: 45px )
    )
  );

Is there a rule/combination of rules to leave this alone? I tried various combinations of at-rule-empty-line-before, selector-list-comma-newline-after, selector-list-comma-newline-before - to no avail so far.