eslint-plugin-copilot Documentation / _internal/repository-hooks-json / getRepositoryHookEventEntries
Function: getRepositoryHookEventEntries()
function getRepositoryHookEventEntries(
root: JsonValue | undefined
): readonly (readonly [string, JsonValue][]);
Defined in: _internal/repository-hooks-json.ts:108
Get key/value entries from the hooks object when present.
Parametersâ
| Parameter | Type |
| --------- | ------------------------------------------- | ----------- |
| root | JsonValue | undefined |
Returnsâ
readonly readonly [string, JsonValue][]