714 lines
20 KiB
Plaintext
714 lines
20 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`show detailed usage with --help arrow-parens (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help arrow-parens (stdout) 1`] = `
|
|
"--arrow-parens <always|avoid>
|
|
|
|
Include parentheses around a sole arrow function parameter.
|
|
|
|
Valid options:
|
|
|
|
always Always include parens. Example: \`(x) => x\`
|
|
avoid Omit parens when possible. Example: \`x => x\`
|
|
|
|
Default: always"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help arrow-parens (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help bracket-same-line (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help bracket-same-line (stdout) 1`] = `
|
|
"--bracket-same-line
|
|
|
|
Put > of opening tags on the last line instead of on a new line.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help bracket-same-line (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help bracket-spacing (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help bracket-spacing (stdout) 1`] = `
|
|
"--bracket-spacing
|
|
|
|
Print spaces between brackets.
|
|
|
|
Default: true"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help bracket-spacing (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help cache (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help cache (stdout) 1`] = `
|
|
"--cache
|
|
|
|
Only format changed files. Cannot use with --stdin-filepath.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help cache (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help cache-location (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help cache-location (stdout) 1`] = `
|
|
"--cache-location <path>
|
|
|
|
Path to the cache file."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help cache-location (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help cache-strategy (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help cache-strategy (stdout) 1`] = `
|
|
"--cache-strategy <metadata|content>
|
|
|
|
Strategy for the cache to use for detecting changed files.
|
|
|
|
Valid options:
|
|
|
|
metadata Use the file metadata such as timestamps as cache keys
|
|
content Use the file content as cache keys"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help cache-strategy (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help check (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help check (stdout) 1`] = `
|
|
"-c, --check
|
|
|
|
Check if the given files are formatted, print a human-friendly summary
|
|
message and paths to unformatted files (see also --list-different)."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help check (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help color (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help color (stdout) 1`] = `
|
|
"--color
|
|
|
|
Colorize error messages.
|
|
|
|
Default: true"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help color (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help config (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help config (stdout) 1`] = `
|
|
"--config <path>
|
|
|
|
Path to a Prettier configuration file (.prettierrc, package.json, prettier.config.js)."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help config (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help config-precedence (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help config-precedence (stdout) 1`] = `
|
|
"--config-precedence <cli-override|file-override|prefer-file>
|
|
|
|
Define in which order config files and CLI options should be evaluated.
|
|
|
|
Valid options:
|
|
|
|
cli-override CLI options take precedence over config file
|
|
file-override Config file take precedence over CLI options
|
|
prefer-file If a config file is found will evaluate it and ignore other CLI options.
|
|
If no config file is found CLI options will evaluate as normal.
|
|
|
|
Default: cli-override"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help config-precedence (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help cursor-offset (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help cursor-offset (stdout) 1`] = `
|
|
"--cursor-offset <int>
|
|
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
|
|
Default: -1"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help cursor-offset (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help editorconfig (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help editorconfig (stdout) 1`] = `
|
|
"--editorconfig
|
|
|
|
Take .editorconfig into account when parsing configuration.
|
|
|
|
Default: true"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help editorconfig (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help embedded-language-formatting (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help embedded-language-formatting (stdout) 1`] = `
|
|
"--embedded-language-formatting <auto|off>
|
|
|
|
Control how Prettier formats quoted code embedded in the file.
|
|
|
|
Valid options:
|
|
|
|
auto Format embedded code if Prettier can automatically identify it.
|
|
off Never automatically format embedded code.
|
|
|
|
Default: auto"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help embedded-language-formatting (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help end-of-line (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help end-of-line (stdout) 1`] = `
|
|
"--end-of-line <lf|crlf|cr|auto>
|
|
|
|
Which end of line characters to apply.
|
|
|
|
Valid options:
|
|
|
|
lf Line Feed only (\\n), common on Linux and macOS as well as inside git repos
|
|
crlf Carriage Return + Line Feed characters (\\r\\n), common on Windows
|
|
cr Carriage Return character only (\\r), used very rarely
|
|
auto Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
|
|
Default: lf"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help end-of-line (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help experimental-operator-position (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help experimental-operator-position (stdout) 1`] = `
|
|
"--experimental-operator-position <start|end>
|
|
|
|
Where to print operators when binary expressions wrap lines.
|
|
|
|
Valid options:
|
|
|
|
start Print operators at the start of new lines.
|
|
end Print operators at the end of previous lines.
|
|
|
|
Default: end"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help experimental-operator-position (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help experimental-ternaries (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help experimental-ternaries (stdout) 1`] = `
|
|
"--experimental-ternaries
|
|
|
|
Use curious ternaries, with the question mark after the condition.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help experimental-ternaries (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help file-info (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help file-info (stdout) 1`] = `
|
|
"--file-info <path>
|
|
|
|
Extract the following info (as JSON) for a given file path. Reported fields:
|
|
* ignored (boolean) - true if file path is filtered by --ignore-path
|
|
* inferredParser (string | null) - name of parser inferred from file path"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help file-info (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help find-config-path (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help find-config-path (stdout) 1`] = `
|
|
"--find-config-path <path>
|
|
|
|
Find and print the path to a configuration file for the given input file."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help find-config-path (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help help (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help help (stdout) 1`] = `
|
|
"-h, --help <flag>
|
|
|
|
Show CLI usage, or details about the given flag.
|
|
Example: --help write"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help help (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help html-whitespace-sensitivity (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help html-whitespace-sensitivity (stdout) 1`] = `
|
|
"--html-whitespace-sensitivity <css|strict|ignore>
|
|
|
|
How to handle whitespaces in HTML.
|
|
|
|
Valid options:
|
|
|
|
css Respect the default value of CSS display property.
|
|
strict Whitespaces are considered sensitive.
|
|
ignore Whitespaces are considered insensitive.
|
|
|
|
Default: css"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help html-whitespace-sensitivity (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help ignore-path (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help ignore-path (stdout) 1`] = `
|
|
"--ignore-path <path>
|
|
|
|
Path to a file with patterns describing files to ignore.
|
|
Multiple values are accepted.
|
|
|
|
Default: [.gitignore, .prettierignore]"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help ignore-path (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help ignore-unknown (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help ignore-unknown (stdout) 1`] = `
|
|
"-u, --ignore-unknown
|
|
|
|
Ignore unknown files."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help ignore-unknown (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help insert-pragma (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help insert-pragma (stdout) 1`] = `
|
|
"--insert-pragma
|
|
|
|
Insert @format pragma into file's first docblock comment.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help insert-pragma (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help jsx-single-quote (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help jsx-single-quote (stdout) 1`] = `
|
|
"--jsx-single-quote
|
|
|
|
Use single quotes in JSX.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help jsx-single-quote (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help list-different (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help list-different (stdout) 1`] = `
|
|
"-l, --list-different
|
|
|
|
Print the names of files that are different from Prettier's formatting (see also --check)."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help list-different (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help log-level (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help log-level (stdout) 1`] = `
|
|
"--log-level <silent|error|warn|log|debug>
|
|
|
|
What level of logs to report.
|
|
|
|
Valid options:
|
|
|
|
silent
|
|
error
|
|
warn
|
|
log
|
|
debug
|
|
|
|
Default: log"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help log-level (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-bracket-spacing (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-bracket-spacing (stdout) 1`] = `
|
|
"--no-bracket-spacing
|
|
|
|
Do not print spaces between brackets."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-bracket-spacing (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-color (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-color (stdout) 1`] = `
|
|
"--no-color
|
|
|
|
Do not colorize error messages."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-color (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-config (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-config (stdout) 1`] = `
|
|
"--no-config
|
|
|
|
Do not look for a configuration file."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-config (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-editorconfig (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-editorconfig (stdout) 1`] = `
|
|
"--no-editorconfig
|
|
|
|
Don't take .editorconfig into account when parsing configuration."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-editorconfig (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-error-on-unmatched-pattern (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-error-on-unmatched-pattern (stdout) 1`] = `
|
|
"--no-error-on-unmatched-pattern
|
|
|
|
Prevent errors when pattern is unmatched."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-error-on-unmatched-pattern (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-experimental-ternaries (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-experimental-ternaries (stdout) 1`] = `
|
|
"--no-experimental-ternaries
|
|
|
|
Default behavior of ternaries; keep question marks on the same line as the consequent."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-experimental-ternaries (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help no-semi (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help no-semi (stdout) 1`] = `
|
|
"--no-semi
|
|
|
|
Do not print semicolons, except at the beginning of lines which may need them."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help no-semi (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help object-wrap (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help object-wrap (stdout) 1`] = `
|
|
"--object-wrap <preserve|collapse>
|
|
|
|
How to wrap object literals.
|
|
|
|
Valid options:
|
|
|
|
preserve Keep as multi-line, if there is a newline between the opening brace and first property.
|
|
collapse Fit to a single line when possible.
|
|
|
|
Default: preserve"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help object-wrap (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help parser (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help parser (stdout) 1`] = `
|
|
"--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>
|
|
|
|
Which parser to use.
|
|
|
|
Valid options:
|
|
|
|
flow Flow
|
|
babel JavaScript
|
|
babel-flow Flow
|
|
babel-ts TypeScript
|
|
typescript TypeScript
|
|
acorn JavaScript
|
|
espree JavaScript
|
|
meriyah JavaScript
|
|
css CSS
|
|
less Less
|
|
scss SCSS
|
|
json JSON
|
|
json5 JSON5
|
|
jsonc JSON with Comments
|
|
json-stringify JSON.stringify
|
|
graphql GraphQL
|
|
markdown Markdown
|
|
mdx MDX
|
|
vue Vue
|
|
yaml YAML
|
|
glimmer Ember / Handlebars
|
|
html HTML
|
|
angular Angular
|
|
lwc Lightning Web Components
|
|
mjml MJML"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help parser (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help plugin (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help plugin (stdout) 1`] = `
|
|
"--plugin <path>
|
|
|
|
Add a plugin. Multiple plugins can be passed as separate \`--plugin\`s.
|
|
|
|
Default: []"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help plugin (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help print-width (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help print-width (stdout) 1`] = `
|
|
"--print-width <int>
|
|
|
|
The line length where Prettier will try wrap.
|
|
|
|
Default: 80"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help print-width (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help prose-wrap (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help prose-wrap (stdout) 1`] = `
|
|
"--prose-wrap <always|never|preserve>
|
|
|
|
How to wrap prose.
|
|
|
|
Valid options:
|
|
|
|
always Wrap prose if it exceeds the print width.
|
|
never Do not wrap prose.
|
|
preserve Wrap prose as-is.
|
|
|
|
Default: preserve"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help prose-wrap (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help quote-props (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help quote-props (stdout) 1`] = `
|
|
"--quote-props <as-needed|consistent|preserve>
|
|
|
|
Change when properties in objects are quoted.
|
|
|
|
Valid options:
|
|
|
|
as-needed Only add quotes around object properties where required.
|
|
consistent If at least one property in an object requires quotes, quote all properties.
|
|
preserve Respect the input use of quotes in object properties.
|
|
|
|
Default: as-needed"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help quote-props (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help range-end (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help range-end (stdout) 1`] = `
|
|
"--range-end <int>
|
|
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
|
|
Default: Infinity"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help range-end (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help range-start (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help range-start (stdout) 1`] = `
|
|
"--range-start <int>
|
|
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
|
|
Default: 0"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help range-start (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help require-pragma (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help require-pragma (stdout) 1`] = `
|
|
"--require-pragma
|
|
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help require-pragma (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help semi (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help semi (stdout) 1`] = `
|
|
"--semi
|
|
|
|
Print semicolons.
|
|
|
|
Default: true"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help semi (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help single-attribute-per-line (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help single-attribute-per-line (stdout) 1`] = `
|
|
"--single-attribute-per-line
|
|
|
|
Enforce single attribute per line in HTML, Vue and JSX.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help single-attribute-per-line (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help single-quote (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help single-quote (stdout) 1`] = `
|
|
"--single-quote
|
|
|
|
Use single quotes instead of double quotes.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help single-quote (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help stdin-filepath (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help stdin-filepath (stdout) 1`] = `
|
|
"--stdin-filepath <path>
|
|
|
|
Path to the file to pretend that stdin comes from."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help stdin-filepath (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help support-info (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help support-info (stdout) 1`] = `
|
|
"--support-info
|
|
|
|
Print support information as JSON."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help support-info (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help tab-width (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help tab-width (stdout) 1`] = `
|
|
"--tab-width <int>
|
|
|
|
Number of spaces per indentation level.
|
|
|
|
Default: 2"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help tab-width (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help trailing-comma (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help trailing-comma (stdout) 1`] = `
|
|
"--trailing-comma <all|es5|none>
|
|
|
|
Print trailing commas wherever possible when multi-line.
|
|
|
|
Valid options:
|
|
|
|
all Trailing commas wherever possible (including function arguments).
|
|
es5 Trailing commas where valid in ES5 (objects, arrays, etc.)
|
|
none No trailing commas.
|
|
|
|
Default: all"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help trailing-comma (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help use-tabs (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help use-tabs (stdout) 1`] = `
|
|
"--use-tabs
|
|
|
|
Indent with tabs instead of spaces.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help use-tabs (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help version (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help version (stdout) 1`] = `
|
|
"-v, --version
|
|
|
|
Print Prettier version."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help version (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help vue-indent-script-and-style (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help vue-indent-script-and-style (stdout) 1`] = `
|
|
"--vue-indent-script-and-style
|
|
|
|
Indent script and style tags in Vue files.
|
|
|
|
Default: false"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help vue-indent-script-and-style (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help with-node-modules (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help with-node-modules (stdout) 1`] = `
|
|
"--with-node-modules
|
|
|
|
Process files inside 'node_modules' directory."
|
|
`;
|
|
|
|
exports[`show detailed usage with --help with-node-modules (write) 1`] = `[]`;
|
|
|
|
exports[`show detailed usage with --help write (stderr) 1`] = `""`;
|
|
|
|
exports[`show detailed usage with --help write (stdout) 1`] = `
|
|
"-w, --write
|
|
|
|
Edit files in-place. (Beware!)"
|
|
`;
|
|
|
|
exports[`show detailed usage with --help write (write) 1`] = `[]`;
|