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 onUserInput method for tags input component #1023

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

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

Function onUserInput has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.

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