import { check } from "https://deno.land/x/deno@v0.22.0/std/prettier/vendor/index.d.ts";
check
checks to see if the file has been formatted with Prettier given those options and returns a Boolean
.
This is similar to the --list-different
parameter in the CLI and is useful for running Prettier in CI scenarios.
Parameters
optional
options: Options