Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cognitive complexity in transformToLabelValuePairList method of typeahead component #1024

Open
samuil4 opened this issue Feb 23, 2022 · 0 comments
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

Comments

@samuil4
Copy link
Contributor

samuil4 commented Feb 23, 2022

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!

@samuil4 samuil4 added help wanted Extra attention is needed DEV token reward For completing this task you will be rewarded with DEV token. code quality Improve code quality labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant