MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / getCommitlintLLMConfig

Function getCommitlintLLMConfig

src/modules/commitlint/utils.ts:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50export const getCommitlintLLMConfig =
51 async (): Promise<CommitlintLLMConfig> => {
52 const content = await fs.readFile(COMMITLINT_LLM_CONFIG_PATH);
53 const commitLintLLMConfig = JSON.parse(
54 content.toString()
55 ) as CommitlintLLMConfig;
56 return commitLintLLMConfig;
57 };

Callers 1

commitlint.tsFile · 0.90

Calls 2

parseMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected