This repository was archived by the owner on Sep 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ import { run } from '.';
9
9
10
10
program
11
11
. version ( '1.0.0' )
12
+ . option ( '--arrow-parens <avoid|always>' , 'Include parentheses around a sole arrow function parameter.' , 'avoid' )
13
+ . option ( '--no-bracket-spacing' , 'Do not print spaces between brackets.' , false )
14
+ . option ( '--jsx-bracket-same-line' , 'Put > on the last line instead of at a new line.' , false )
15
+ . option ( '--print-width <int>' , 'The line length where Prettier will try wrap.' , 80 )
16
+ . option ( '--prose-wrap <always|never|preserve> How to wrap prose. (markdown)' , 'preserve' )
17
+ . option ( '--no-semi' , 'Do not print semicolons, except at the beginning of lines which may need them' , false )
18
+ . option ( '--single-quote' , 'Use single quotes instead of double quotes.' , false )
19
+ . option ( '--tab-width <int>' , 'Number of spaces per indentation level.' , 2 )
20
+ . option ( '--trailing-comma <none|es5|all>' , 'Print trailing commas wherever possible when multi-line.' , 'none' )
21
+ . option ( '--use-tabs' , 'Indent with tabs instead of spaces.' , false )
12
22
. usage ( '[options] <filename or glob>' )
13
23
. command ( '* <glob>' )
14
24
. action ( globPattern => {
You can’t perform that action at this time.
0 commit comments