MCPcopy Create free account
hub / github.com/conventional-changelog/commitlint / rule

Function rule

@commitlint/load/src/utils/load-plugin.test.ts:18–20  ·  view source on GitHub ↗
(_parsed, when, _value)

Source from the content-addressed store, hash-verified

16
17vi.mock("commitlint-plugin-rule", (): Plugin => {
18 const rule: Rule<number> = (_parsed, when, _value) => {
19 return [when === "never"];
20 };
21 return { rules: { rule } };
22});
23

Callers 4

case-fn.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected