prettier/tests_integration
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
..
__tests__ Split Less and SCSS parsing into different parsers (#2844) 2017-09-26 07:08:11 +02:00
cli fix(cli): validate options for every `config-precedence` (#2894) 2017-09-25 21:04:25 +02:00
custom-parsers Implement custom parser API (#1783) 2017-06-12 16:51:12 +10:00
.eslintrc.js Ignore node_modules when running prettier from CLI (#1683) 2017-05-23 14:19:04 -07:00
cwd-serializer.js Support graphql(schema, `query`) (#2781) 2017-09-11 20:18:11 +02:00
runPrettier.js Merge pull request #2767 from ikatyang/refactor/cli 2017-09-14 11:12:19 -06:00