Fix typo in option description
parent
e060406df1
commit
4e5c808730
|
@ -159,7 +159,7 @@ const detailOptions = normalizeDetailOptions({
|
|||
forwardToApi: true,
|
||||
exception: value => typeof value === "string", // allow path to a parser module
|
||||
choices: ["flow", "babylon", "typescript", "postcss", "json", "graphql"],
|
||||
description: "Specify which parse to use. Defaults to babylon.",
|
||||
description: "Specify which parser to use. Defaults to babylon.",
|
||||
getter: (value, argv) => (argv["flow-parser"] ? "flow" : value)
|
||||
},
|
||||
"print-width": {
|
||||
|
|
|
@ -17,7 +17,7 @@ Format options:
|
|||
--no-bracket-spacing Do not print spaces between brackets.
|
||||
--jsx-bracket-same-line Put > on the last line instead of at a new line.
|
||||
--parser <flow|babylon|typescript|postcss|json|graphql>
|
||||
Specify which parse to use. Defaults to babylon.
|
||||
Specify which parser to use. Defaults to babylon.
|
||||
--print-width <int> Specify the length of line that the printer will wrap on. Defaults to 80.
|
||||
--range-end <int> Format code ending at a given character offset (exclusive).
|
||||
The range will extend forwards to the end of the selected statement.
|
||||
|
@ -78,7 +78,7 @@ Format options:
|
|||
--no-bracket-spacing Do not print spaces between brackets.
|
||||
--jsx-bracket-same-line Put > on the last line instead of at a new line.
|
||||
--parser <flow|babylon|typescript|postcss|json|graphql>
|
||||
Specify which parse to use. Defaults to babylon.
|
||||
Specify which parser to use. Defaults to babylon.
|
||||
--print-width <int> Specify the length of line that the printer will wrap on. Defaults to 80.
|
||||
--range-end <int> Format code ending at a given character offset (exclusive).
|
||||
The range will extend forwards to the end of the selected statement.
|
||||
|
|
Loading…
Reference in New Issue