2019-11-02 04:52:49 -04:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[` 1`] = `
|
|
|
|
|
"Snapshot Diff:
|
|
|
|
|
- First value
|
|
|
|
|
+ Second value
|
|
|
|
|
|
2020-05-25 14:03:20 +03:00
|
|
|
@@ -20,18 +20,20 @@
|
2020-04-11 10:22:44 -07:00
|
|
|
Control how Prettier formats quoted code embedded in the file.
|
|
|
|
|
Defaults to auto.
|
2020-01-28 21:35:47 +00:00
|
|
|
--end-of-line <lf|crlf|cr|auto>
|
2019-11-02 04:52:49 -04:00
|
|
|
Which end of line characters to apply.
|
2020-01-28 21:35:47 +00:00
|
|
|
Defaults to lf.
|
2019-11-02 04:52:49 -04:00
|
|
|
+ --foo-string <string> foo description
|
|
|
|
|
+ Defaults to bar.
|
|
|
|
|
--html-whitespace-sensitivity <css|strict|ignore>
|
|
|
|
|
How to handle whitespaces in HTML.
|
|
|
|
|
Defaults to css.
|
|
|
|
|
--jsx-bracket-same-line Put > on the last line instead of at a new line.
|
2020-05-25 14:03:20 +03:00
|
|
|
Defaults to false.
|
|
|
|
|
--jsx-single-quote Use single quotes in JSX.
|
|
|
|
|
Defaults to false.
|
2020-10-13 09:14:02 +08:00
|
|
|
- --parser <flow|babel|babel-flow|babel-ts|typescript|espree|css|less|scss|json|json5|json-stringify|graphql|markdown|mdx|vue|yaml|html|angular|lwc>
|
|
|
|
|
+ --parser <flow|babel|babel-flow|babel-ts|typescript|espree|css|less|scss|json|json5|json-stringify|graphql|markdown|mdx|vue|yaml|html|angular|lwc|foo-parser>
|
2020-05-25 14:03:20 +03:00
|
|
|
Which parser to use.
|
|
|
|
|
--print-width <int> The line length where Prettier will try wrap.
|
|
|
|
|
Defaults to 80.
|
|
|
|
|
--prose-wrap <always|never|preserve>
|
|
|
|
|
How to wrap prose."
|
2019-11-02 04:52:49 -04:00
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`show detailed external option with \`--help foo-string\` (stderr) 1`] = `""`;
|
|
|
|
|
|
|
|
|
|
exports[`show detailed external option with \`--help foo-string\` (stdout) 1`] = `
|
|
|
|
|
"--foo-string <string>
|
|
|
|
|
|
|
|
|
|
foo description
|
|
|
|
|
|
|
|
|
|
Default: bar
|
|
|
|
|
"
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`show detailed external option with \`--help foo-string\` (write) 1`] = `Array []`;
|