import { type RequiredOptions } from "https://deno.land/x/deno@v0.22.0/std/prettier/vendor/index.d.ts";
Properties
Put the >
of a multi-line JSX element at the end of the last line instead of being alone on the next line.
Specify which parser to use.
Prettier 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.
Prettier can insert a special @format marker at the top of files specifying that the file has been formatted with prettier. This works well when used in tandem with the --require-pragma option. If there is already a docblock at the top of the file then this option will add a newline to it with the @format marker.
By 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.
The plugin API is in a beta state.