relizy / getAllowedScopes
Function: getAllowedScopes()
getAllowedScopes(
config,packages):string[] |undefined
Defined in: src/core/commitlint/workspace.ts:68
Scopes allowed by the config: the workspace packages, the scopeMap keys and commitlint.scopes. undefined when any scope is allowed (standalone mode without an explicit list).
Parameters
config
packages
Returns
string[] | undefined