Fix ES6 react/jsx-curly-spacing eslint rule [MAILPOET-1082]

This commit is contained in:
stoletniy
2017-09-18 18:18:45 +03:00
parent 9e3010ab52
commit 0cdae52c66
39 changed files with 412 additions and 413 deletions

View File

@ -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,

View File

@ -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} />
); );

View File

@ -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>

View File

@ -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>