Skip to content

Fix cognitive complexity in transformToLabelValuePairList method of typeahead component #1024

@samuil4

Description

@samuil4

Function transformToLabelValuePairList has a Cognitive Complexity of 7 (exceeds 5 allowed)

https://codeclimate.com/github/SQ-UI/ng-sq-ui/projects/ng-form-elements/src/lib/typeahead/typeahead.component.ts/source?from_sha=e92389f3&to_sha=827d7606

This task has a bounty of 10 DEVs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    DEV token rewardFor completing this task you will be rewarded with DEV token.code qualityImprove code qualityhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions