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 "method_complexity" issue in projects/ng-modal/src/lib/modal/modal.component.ts #990

Open
samuil4 opened this issue Sep 11, 2021 · 0 comments
Labels
code quality Improve code quality DEV token reward For completing this task you will be rewarded with DEV token.
Projects

Comments

@samuil4
Copy link
Contributor

samuil4 commented Sep 11, 2021

Help us improve our code quality.
Function ngOnChanges has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/SQ-UI/ng-sq-ui/projects/ng-modal/src/lib/modal/modal.component.ts#issue_6137170aece75100010000ce

Reward for completing refactoring: 5 DEV

@samuil4 samuil4 added the code quality Improve code quality label Sep 11, 2021
@samuil4 samuil4 added this to To do in Version 2 via automation Sep 11, 2021
@samuil4 samuil4 added the DEV token reward For completing this task you will be rewarded with DEV token. label Sep 11, 2021
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.
Projects
Development

No branches or pull requests

1 participant