Fix ES6 no-irregular-whitespace eslint rule [MAILPOET-1082]
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -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 = (
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user