Fix eslint no-unreachable in ES6
[MAILPOET-1085]
This commit is contained in:
@@ -43,7 +43,6 @@
|
|||||||
"default-case": 0,
|
"default-case": 0,
|
||||||
"array-callback-return": 0,
|
"array-callback-return": 0,
|
||||||
"consistent-return": 0,
|
"consistent-return": 0,
|
||||||
"no-unreachable": 0,
|
|
||||||
"import/no-unresolved": 0,
|
"import/no-unresolved": 0,
|
||||||
"import/extensions": 0,
|
"import/extensions": 0,
|
||||||
"import/no-extraneous-dependencies": 0,
|
"import/no-extraneous-dependencies": 0,
|
||||||
|
@@ -212,7 +212,6 @@ define([
|
|||||||
year={ this.state.year }
|
year={ this.state.year }
|
||||||
placeholder={ this.props.field.year_placeholder }
|
placeholder={ this.props.field.year_placeholder }
|
||||||
/>);
|
/>);
|
||||||
break;
|
|
||||||
|
|
||||||
case 'MM':
|
case 'MM':
|
||||||
return (<FormFieldDateMonth
|
return (<FormFieldDateMonth
|
||||||
@@ -224,7 +223,6 @@ define([
|
|||||||
monthNames={ monthNames }
|
monthNames={ monthNames }
|
||||||
placeholder={ this.props.field.month_placeholder }
|
placeholder={ this.props.field.month_placeholder }
|
||||||
/>);
|
/>);
|
||||||
break;
|
|
||||||
|
|
||||||
case 'DD':
|
case 'DD':
|
||||||
return (<FormFieldDateDay
|
return (<FormFieldDateDay
|
||||||
@@ -235,7 +233,6 @@ define([
|
|||||||
day={ this.state.day }
|
day={ this.state.day }
|
||||||
placeholder={ this.props.field.day_placeholder }
|
placeholder={ this.props.field.day_placeholder }
|
||||||
/>);
|
/>);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user