javascript.prettier
import { javascript } from "https://garn.io/ts/v0.0.19/mod.ts";
const { prettier } = javascript;
A garn plugin that adds a format
Executable
that formats your code using
prettier, and a Check
to verify that your code is formatted.
function prettier(opts?: {
glob?: string;
config?: Record<string, unknown>;
}): Plugin<{format: Executable;
checkPrettier: Check;
}, {node_modules?: Package;
}>;