prettier/tests/stylefmt/readme
Simon Lydell c6bac7cfe6 Split Less and SCSS parsing into different parsers (#2844)
* Split Less and SCSS parsing into different parsers

Now, .less files are always parsed with postcss-less, and .scss files
areare always parsed with postcss-scss. This:

- Is less hacky.
- Is meant to avoid issues like #2829.
- Is probably more performant.

`parser: "postcss"` and `--parser postcss` continue to work like before:
First trying postcss-less, and if that fails, postcss-scss, unless a
regex says that we should try in the opposite order. The new values for
the parser option are "postcss-less" and "postcss-scss".

* Remove postcss from package.json since it is not used

* Rename parser-less to less and parser-scss to scss

* Deprecate parser:postcss in favor of parser:css

* Fix CSS tests
2017-09-26 07:08:11 +02:00
..
__snapshots__ CSS: Every selector is now printed in its own line (#2047) 2017-06-08 07:46:24 -07:00
jsfmt.spec.js Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
readme.css Initial CSS support (#1636) 2017-05-24 10:52:12 -07:00

readme.css

// mixin for clearfix
        @mixin      clearfix    ()      { &:before,
  &:after {
                content:" ";
    display              : table;  }

  &:after        {clear: both;}
   }.class
{
       padding:10px;@include        clearfix();}
     .base {  color: red;  } // placeholder

%base
{


padding: 12px
}

.foo{
@extend      .base;}

.bar
      {     @extend            %base;

}