(content: string, options: Options, base_options?: Options | null | undefined): Promise<string> Formats a file with Prettier.
content
type
stringoptions
type
Optionsbase_options
- defaults to the the cwd's package.json prettier value
type
Options | null | undefined default
cached_base_optionsreturns
Promise<string>