InternalInternal__InternalarrowInclude parentheses around a sole arrow function parameter.
InternalbracketPut 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).
InternalbracketPrint spaces between brackets in object literals.
InternalcheckPrettier can allow individual files to opt out of formatting if they contain a special comment, called a pragma, at the top of the file.
InternalembeddedControl whether Prettier formats quoted code embedded in the file.
InternalendWhich end of line characters to apply.
InternalexperimentalWhere to print operators when binary expressions wrap lines.
InternalexperimentalUse curious ternaries, with the question mark after the condition, instead of on the same line as the consequent.
InternalfilepathSpecify the input filepath. This will be used to do parser inference.
InternalglobInternalhtmlHow to handle whitespaces in HTML.
InternalinsertPrettier can insert a special
InternaljsxPut the > of a multi-line JSX element at the end of the last line instead of being alone on the next line.
InternaljsxUse single quotes in JSX.
InternalobjectHow to wrap object literals.
InternalparentInternalparserSpecify which parser to use.
InternalpluginsProvide ability to support new languages to prettier.
InternalprintSpecify the line length that the printer will wrap on.
InternalproseBy 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.
InternalquoteChange when properties in objects are quoted.
InternalrangeFormat only a segment of a file.
InternalrangeFormat only a segment of a file.
InternalrequirePrettier 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.
InternalsemiPrint semicolons at the ends of statements.
InternalsingleEnforce single attribute per line in HTML, Vue and JSX.
InternalsingleUse single quotes instead of double quotes.
InternaltabSpecify the number of spaces per indentation-level.
InternaltrailingPrint trailing commas wherever possible.
InternaluseIndent lines with tabs instead of spaces
InternalvueWhether or not to indent the code inside
Optional configuration for FileSystemType.prettier method.
Since
0.1.0-alpha