Internal
Internal
__Internal
arrowInclude parentheses around a sole arrow function parameter.
Internal
bracketPut 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).
Internal
bracketPrint spaces between brackets in object literals.
Internal
embeddedControl whether Prettier formats quoted code embedded in the file.
Internal
endWhich end of line characters to apply.
Internal
experimentalWhere to print operators when binary expressions wrap lines.
Internal
experimentalUse curious ternaries, with the question mark after the condition, instead of on the same line as the consequent.
Internal
filepathSpecify the input filepath. This will be used to do parser inference.
Internal
globInternal
htmlHow to handle whitespaces in HTML.
Internal
insertPrettier can insert a special
Internal
jsxPut the >
of a multi-line JSX element at the end of the last line instead of being alone on the next line.
Internal
jsxUse single quotes in JSX.
Internal
objectHow to wrap object literals.
Internal
parentInternal
parserSpecify which parser to use.
Internal
pluginsProvide ability to support new languages to prettier.
Internal
printSpecify the line length that the printer will wrap on.
Internal
proseBy 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.
Internal
quoteChange when properties in objects are quoted.
Internal
rangeFormat only a segment of a file.
Internal
rangeFormat only a segment of a file.
Internal
requirePrettier 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.
Internal
semiPrint semicolons at the ends of statements.
Internal
singleEnforce single attribute per line in HTML, Vue and JSX.
Internal
singleUse single quotes instead of double quotes.
Internal
tabSpecify the number of spaces per indentation-level.
Internal
trailingPrint trailing commas wherever possible.
Internal
useIndent lines with tabs instead of spaces
Internal
vueWhether or not to indent the code inside
Optional configuration for FileSystemType.prettier method.
Since
0.1.0-alpha