Files
test-repo/tests_integration/__tests__/__snapshots__/plugin-options.js.snap
T
Ika dcf44ffbdc feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00

40 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[` 1`] = `
"Snapshot Diff:
- First value
+ Second value
@@ -12,10 +12,12 @@
--arrow-parens <avoid|always>
Include parentheses around a sole arrow function parameter.
Defaults to avoid.
--no-bracket-spacing Do not print spaces between brackets.
+ --foo-option <bar|baz> foo description
+ Defaults to bar.
--jsx-bracket-same-line Put > on the last line instead of at a new line.
Defaults to false.
--parser <flow|babylon|typescript|css|less|scss|json|json5|json-stringify|graphql|markdown|vue|yaml>
Which parser to use.
--print-width <int> The line length where Prettier will try wrap."
`;
exports[`show detailed external option with \`--help foo-option\` (stderr) 1`] = `""`;
exports[`show detailed external option with \`--help foo-option\` (stdout) 1`] = `
"--foo-option <bar|baz>
foo description
Valid options:
bar bar description
baz baz description
Default: bar
"
`;
exports[`show detailed external option with \`--help foo-option\` (write) 1`] = `Array []`;