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

Function createPrettierConfig

npm_modules/cli/src/utils/lintUtils.ts:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54export function createPrettierConfig(): string {
55 const prettierTemplateFile = TemplateFile.init(TEMPLATE_BASE_PATHS.PRETTIER_CONFIG);
56 return prettierTemplateFile.expandTemplate();
57}
58
59// Prompts user to create eslint config files if they don't exist.
60export async function maybeSetupEslint() {

Callers 1

maybeSetupPrettierFunction · 0.85

Calls 2

expandTemplateMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected