Fix "method_complexity" issue in projects/ng-modal/src/lib/modal/modal.component.ts #990
Labels
code quality
Improve code quality
DEV token reward
For completing this task you will be rewarded with DEV token.
Projects
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
The text was updated successfully, but these errors were encountered: