nl_tokens: Gets the value for scope - enum rule of commitlint config .
pl_tokens: function get ( czConfig ) { const scopes = [ ] ; if ( typeof czConfig . scopes === 'undefined' ) { return defaults ; } for ( const scope of czConfig . scopes ) { scopes . <mask> ( scope . name ) ; } if ( typeof czConfig . scopeOverrides === 'undefined' ) { return scopes ; } for ( const type of Object . keys ( czConfig . scopeOverrides ) ) { for ( const scope of czConfig . scopeOverrides [ type ] ) { scopes . push ( scope . name ) ; } } return scopes . filter ( function ( value , index , scope ) { return scope . indexOf ( value ) === index ; } ) ; }