prettier/tests_integration
Christopher Chedeau c40b061b80
[vue] Introduce proper support for Vue Single File Components (SFC) (#3563)
There's a lot of demand for vue sfc (#2097). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.

I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.

I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01:00
..
__tests__ [vue] Introduce proper support for Vue Single File Components (SFC) (#3563) 2017-12-25 01:15:33 +01:00
cli Skip folders in CLI pattern 2017-12-05 16:07:27 -02:00
custom-parsers Implement custom parser API (#1783) 2017-06-12 16:51:12 +10:00
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00
path-serializer.js Fix unit tests on Windows (#2922) 2017-09-28 19:30:51 +10:00
runPrettier.js chore: setup markdown formatting (#3224) 2017-11-22 22:27:40 +11:00