prettier/tests/stylefmt
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
..
at-apply Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
at-media Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
attr-selector Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
charset Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
charset-2 Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
color-hex-lowercase Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
comment Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
comment-in-rules Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
content Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
cssnext-example Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
custom-media-queries Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
custom-properties Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
custom-selectors Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
data-url Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
font-face Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
font-shorthand Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
ie-hacks Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
import Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
important Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
inline-comment Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
lowercase Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
media-indent Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
media-indent-with-import Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
media-queries-ranges Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-2 Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-atrule Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-indention Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-indention-2 Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-mixin Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
nested-mixin-2 Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
non-nested-combinator Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
pseudo-element Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
readme Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
shorthand-with-sass-variables Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
values Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
var-notation Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
vendor-prefix Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00