src/ui/widgets/Email.js
Function renderMailboxConfig
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderMailboxConfig (mailbox, i) {
switch (mailbox.type) {
case 'exchange':
return (
<div>
Function renderEditor
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderEditor () {
const tempConfig = this.getWidgetTempConfig()
const mailboxTypes = [
{
name: 'exchange',