Fix cognitive complexity in transformToLabelValuePairList method of typeahead component #1024
Labels
code quality
Improve code quality
DEV token reward
For completing this task you will be rewarded with DEV token.
help wanted
Extra attention is needed
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!
The text was updated successfully, but these errors were encountered: