Optional__OptionalarrowInclude parentheses around a sole arrow function parameter.
OptionalbracketPut the > of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line instead of being
alone on the next line (does not apply to self closing elements).
OptionalbracketPrint spaces between brackets in object literals.
OptionalcheckPrettier can allow individual files to opt out of formatting if they contain a special comment, called a pragma, at the top of the file.
OptionalembeddedControl whether Prettier formats quoted code embedded in the file.
OptionalendWhich end of line characters to apply.
OptionalexperimentalWhere to print operators when binary expressions wrap lines.
OptionalexperimentalUse curious ternaries, with the question mark after the condition, instead of on the same line as the consequent.
OptionalfilepathSpecify the input filepath. This will be used to do parser inference.
OptionalhtmlHow to handle whitespaces in HTML.
OptionalinsertPrettier can insert a special
OptionaljsxPut the > of a multi-line JSX element at the end of the last line instead of being alone on the next line.
OptionaljsxUse single quotes in JSX.
OptionalobjectHow to wrap object literals.
OptionalparentOptionalparserSpecify which parser to use.
OptionalpluginsProvide ability to support new languages to prettier.
OptionalprintSpecify the line length that the printer will wrap on.
OptionalproseBy default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer. In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.
OptionalquoteChange when properties in objects are quoted.
OptionalrangeFormat only a segment of a file.
OptionalrangeFormat only a segment of a file.
OptionalrequirePrettier can restrict itself to only format files that contain a special comment, called a pragma, at the top of the file. This is very useful when gradually transitioning large, unformatted codebases to prettier.
OptionalsemiPrint semicolons at the ends of statements.
OptionalsingleEnforce single attribute per line in HTML, Vue and JSX.
OptionalsingleUse single quotes instead of double quotes.
OptionaltabSpecify the number of spaces per indentation-level.
OptionaltrailingPrint trailing commas wherever possible.
OptionaluseIndent lines with tabs instead of spaces
OptionalvueWhether or not to indent the code inside
Make all properties in T optional