MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPrettierConfig

Function getPrettierConfig

npm_modules/cli/src/utils/lintUtils.ts:96–98  ·  view source on GitHub ↗
(configPath: string)

Source from the content-addressed store, hash-verified

94}
95
96export async function getPrettierConfig(configPath: string): Promise<prettier.Options | null> {
97 return await prettier.resolveConfig(configPath);
98}
99
100export async function checkAndFormatFiles(
101 filePaths: string[],

Callers 2

lintCheckFunction · 0.90
lintFormatFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected