Commit Graph
4 Commits
Author SHA1 Message Date
fisker Cheung 09d24debf0 Test json parse errors (#8103) 2020-04-21 14:38:30 +03:00
fisker Cheung be56c725c0 Show options in test title (#7785)
* Show options in test title

* Update snapshots
2020-04-18 16:09:07 +03:00
Sosuke Suzukiandfisker Cheung 915327d61d Vue: Support custom blocks (#8023)
* Support Vue Custom Block

* Add changelog

* Udpate snapshots

* Support "type" for json

* Remove guessing languages

* Modify to reuse inferScriptParser logic

* Implement withInnerParts arg for stripTrailingHardline

* Rename isVueCustomBlock

* Set `verbose: true`

* Use getParserName

* Ignore vueIndentScriptAndStyle

* tmp

* Fix formatting

* Add tests

* Fix by lint

* Revert "Set `verbose: true`"

This reverts commit f65c7cd7d814d3149aadbeb3cfd00c5372887c33.

* loop with i--

* Modify to preserve unknown langauge

* Support embeddedLanguageFormatting

* Fix by lint

* Fix mistake

* Modify to preserve unknown lang

* Remove unnecesary condition

* Add error tests

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-04-17 07:54:24 +09:00
fisker Cheung a522b1e556 Add ability to test errors (#8025) 2020-04-14 18:19:13 +08:00