Prettier
Config
Effects
Config
PrettierConfig
A dependency injected configuration for prettier
Signature
export interface PrettierConfig {
readonly prettierOptions: PrettierOptions
}
Details
- Added in 0.1.0
Effects
formatCode
Formats the given code using prettier
Signature
export declare const formatCode: (code: string) => RTE.ReaderTaskEither<PrettierConfig, never, string>
Details
- Added in 0.1.0