CMU-313 / NodeBB

GNU General Public License v3.0
0 stars 224 forks source link

Refactoring code in public/src/admin/extend/widgets.js #394

Open eunseokk opened 2 months ago

eunseokk commented 2 months ago

Refactoring code in public/src/admin/extend/widgets.js to reduce its Cognitive Complexity from 16 to the 15 allowed.

File: public/src/admin/extend/widgets.js Code line: 121~136 Fixing this specific issue: https://sonarcloud.io/project/issues?open=AZFmi_4IybYwxy-_uETq&id=CMU-313_NodeBB Explanation: Acceptable cognitive complexity limit is 15, but the current code has a cognitive complexity of 16

eunseokk commented 2 months ago

I would like to work on this please!

github-actions[bot] commented 2 months ago

Great! I assigned you (@eunseokk) to the issue. Have fun working on it!