juanca / stylelint-css-modules

Stylelint ruleset for CSS modules
10 stars 1 forks source link

Well-formatted composed statements #3

Open juanca opened 6 years ago

juanca commented 6 years ago

Good

composes: foo from ./file/foo.css;
composes: foo bar from ./file/foo.css;
composes: 
  foo
  bar 
  from ./file/foo.css;

Bad

composes: foo    from ./file/foo.css;
composes:     foo  bar   from ./file/foo.css;
composes: 
  foo
  bar baz
  from ./file/foo.css;
juanca commented 4 years ago

I guess this is another rule instead of a bugfix. I'll punt this until a more pressing need or a time with more data on its demand.