Fix ES6 no-irregular-whitespace eslint rule [MAILPOET-1082]

This commit is contained in:
stoletniy
2017-09-18 18:31:13 +03:00
parent a0fec7d103
commit 475114c6f9
3 changed files with 2 additions and 3 deletions

View File

@@ -65,7 +65,6 @@
"no-script-url": 0,
"wrap-iife": 0,
"vars-on-top": 0,
"no-irregular-whitespace": 0,
"padded-blocks": 0,
"no-underscore-dangle": 0
}

View File

@@ -210,7 +210,7 @@ const SegmentList = React.createClass({
if (segment.type === 'wp_users') {
// the WP users segment is not editable so just display its name
segment_name = (
<span className="row-title">{ segment.name }</span>
<span className="row-title">{ segment.name }</span>
);
} else {
segment_name = (

View File

@@ -107,7 +107,7 @@ define(
},
];
const custom_fields = window.mailpoet_custom_fields || [];
const custom_fields = window.mailpoet_custom_fields || [];
custom_fields.map((custom_field) => {
const field = {
name: 'cf_' + custom_field.id,