qiwi / decorator-utils

Universal decorator factories made from scratch
MIT License
8 stars 1 forks source link

Fix "method_complexity" issue in src/main/ts/index.ts #35

Closed qiwibot closed 4 years ago

qiwibot commented 5 years ago

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

https://codeclimate.com/github/qiwi/decorator-utils/src/main/ts/index.ts#issue_5d63d488188991000100001a

antongolub commented 4 years ago

Not relevant today: codeclimate/decorator-utils/issues