matype / stylefmt

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

Add support for media-query-list-comma-newline-after #119

Open davidtheclark opened 8 years ago

davidtheclark commented 8 years ago

http://stylelint.io/user-guide/rules/media-query-list-comma-newline-after/

dimanech commented 7 years ago

It would be great if stylefmt has this feature. As I can understand it parse sass/scss mixin, function parameters and lists, maps as media-query-list. This is not about controlling this thing, but just about preventing from this king of bugs. Right now it formats sass parameters list in single line, even if it has some comments.

@mixin some ($param: null, // comment $param2: red, // param 2 comment) {
  margin: 0;
}