Fix ES6 react/jsx-curly-spacing eslint rule [MAILPOET-1082]
This commit is contained in:
@ -30,7 +30,6 @@
|
|||||||
"react/self-closing-comp": 0,
|
"react/self-closing-comp": 0,
|
||||||
"react/jsx-closing-bracket-location": 0,
|
"react/jsx-closing-bracket-location": 0,
|
||||||
"react/no-string-refs": 0,
|
"react/no-string-refs": 0,
|
||||||
"react/jsx-curly-spacing": 0,
|
|
||||||
"react/no-did-mount-set-state": 0,
|
"react/no-did-mount-set-state": 0,
|
||||||
"react/prefer-stateless-function": 0,
|
"react/prefer-stateless-function": 0,
|
||||||
"jsx-a11y/label-has-for": 0,
|
"jsx-a11y/label-has-for": 0,
|
||||||
|
@ -276,7 +276,7 @@ const ListingItems = React.createClass({
|
|||||||
selection={this.props.selection}
|
selection={this.props.selection}
|
||||||
is_selectable={this.props.is_selectable}
|
is_selectable={this.props.is_selectable}
|
||||||
item_actions={this.props.item_actions}
|
item_actions={this.props.item_actions}
|
||||||
group={ this.props.group }
|
group={this.props.group}
|
||||||
key={`item-${renderItem.id}-${index}`}
|
key={`item-${renderItem.id}-${index}`}
|
||||||
item={renderItem} />
|
item={renderItem} />
|
||||||
);
|
);
|
||||||
|
@ -185,7 +185,7 @@ const NewsletterListNotification = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<select
|
<select
|
||||||
data-id={newsletter.id}
|
data-id={newsletter.id}
|
||||||
defaultValue={ newsletter.status }
|
defaultValue={newsletter.status}
|
||||||
onChange={this.updateStatus}
|
onChange={this.updateStatus}
|
||||||
>
|
>
|
||||||
<option value="active">{ MailPoet.I18n.t('active') }</option>
|
<option value="active">{ MailPoet.I18n.t('active') }</option>
|
||||||
|
@ -165,7 +165,7 @@ const NewsletterListWelcome = React.createClass({
|
|||||||
<p>
|
<p>
|
||||||
<select
|
<select
|
||||||
data-id={newsletter.id}
|
data-id={newsletter.id}
|
||||||
defaultValue={ newsletter.status }
|
defaultValue={newsletter.status}
|
||||||
onChange={this.updateStatus}
|
onChange={this.updateStatus}
|
||||||
>
|
>
|
||||||
<option value="active">{ MailPoet.I18n.t('active') }</option>
|
<option value="active">{ MailPoet.I18n.t('active') }</option>
|
||||||
|
Reference in New Issue
Block a user