Fix eslint rules

[MAILPOET-1348]
This commit is contained in:
Pavel Dohnal
2018-04-18 15:35:08 +01:00
parent c20ff20f5c
commit afd801694d

View File

@@ -1,14 +1,7 @@
define(
[
'mailpoet',
'wp-js-hooks',
'newsletters/types/welcome/scheduling.jsx',
],
(
MailPoet,
Hooks,
Scheduling
) => {
import MailPoet from 'mailpoet';
import Hooks from 'wp-js-hooks';
import Scheduling from 'newsletters/types/welcome/scheduling.jsx';
let fields = [
{
name: 'subject',
@@ -75,7 +68,7 @@ define(
fields = Hooks.applyFilters('mailpoet_newsletters_3rd_step_fields', fields);
return {
module.export = {
getFields: function getFields() {
return fields;
},
@@ -85,5 +78,3 @@ define(
};
},
};
}
);