42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`show detailed external option with \`--help foo-string\` 1`] = `
|
|
{
|
|
"stderr": "",
|
|
"stdout": "--foo-string <string>
|
|
|
|
foo description
|
|
|
|
Default: bar",
|
|
"write": [],
|
|
}
|
|
`;
|
|
|
|
exports[`show external options with \`--help\` 1`] = `
|
|
"===================================================================
|
|
--- Without plugin
|
|
+++ With plugin
|
|
@@ -28,17 +28,19 @@
|
|
Where to print operators when binary expressions wrap lines.
|
|
Defaults to end.
|
|
--no-experimental-ternaries
|
|
Default behavior of ternaries; keep question marks on the same line as the consequent.
|
|
+ --foo-string <string> foo description
|
|
+ Defaults to bar.
|
|
--html-whitespace-sensitivity <css|strict|ignore>
|
|
How to handle whitespaces in HTML.
|
|
Defaults to css.
|
|
--jsx-single-quote Use single quotes in JSX.
|
|
Defaults to false.
|
|
--object-wrap <preserve|collapse>
|
|
How to wrap object literals.
|
|
Defaults to preserve.
|
|
- --parser <flow|babel|babel-flow|babel-ts|typescript|acorn|espree|meriyah|css|less|scss|json|json5|jsonc|json-stringify|graphql|markdown|mdx|vue|yaml|glimmer|html|angular|lwc|mjml>
|
|
+ --parser <flow|babel|babel-flow|babel-ts|typescript|acorn|espree|meriyah|css|less|scss|json|json5|jsonc|json-stringify|graphql|markdown|mdx|vue|yaml|glimmer|html|angular|lwc|mjml|foo-parser>
|
|
Which parser to use.
|
|
--print-width <int> The line length where Prettier will try wrap.
|
|
Defaults to 80.
|
|
--prose-wrap <always|never|preserve>
|
|
"
|
|
`;
|