Fix ESLint lines-around-directive ES5

[MAILPOET-1031]
This commit is contained in:
Pavel Dohnal
2017-08-30 14:45:25 +02:00
parent 227de4ecfa
commit 4e91932613
9 changed files with 8 additions and 1 deletions

View File

@ -41,7 +41,6 @@
"computed-property-spacing": 0,
"no-plusplus": 0,
"array-bracket-spacing": 0,
"lines-around-directive": 0,
"no-unreachable": 0,
"default-case": 0,
"no-lonely-if": 0,

View File

@ -4,6 +4,7 @@
* company: Wysija
* framework: prototype 1.7.2
*/
'use strict';
Event.cacheDelegated = {};

View File

@ -1,6 +1,7 @@
define('helpTooltip', ['mailpoet', 'react', 'react-dom', 'help-tooltip.jsx'],
function (mp, React, ReactDOM, TooltipComponent) {
'use strict';
var MailPoet = mp;
MailPoet.helpTooltip = {

View File

@ -5,6 +5,7 @@ define('i18n',
mp
) {
'use strict';
var MailPoet = mp;
var translations = {};

View File

@ -1,5 +1,6 @@
define('iframe', ['mailpoet'], function(mp) {
'use strict';
var MailPoet = mp;
MailPoet.Iframe = {
marginY: 20,

View File

@ -1,6 +1,7 @@
define('modal', ['mailpoet', 'jquery'],
function(mp, jQuery) {
'use strict';
var MailPoet = mp;
/***************************************************************************
MailPoet Modal:

View File

@ -1,5 +1,6 @@
define('mp2migrator', ['mailpoet', 'jquery'], function(mp, jQuery) {
'use strict';
var MailPoet = mp;
MailPoet.MP2Migrator = {

View File

@ -23,6 +23,7 @@
}
}(this, function(Marionette, Radio, _) {
'use strict';
var MarionetteApplication = Marionette.Application;
MarionetteApplication.prototype._initChannel = function () {
this.channelName = _.result(this, 'channelName') || 'global';

View File

@ -1,5 +1,6 @@
define('notice', ['mailpoet', 'jquery'], function(mp, jQuery) {
'use strict';
/*==================================================================================================
MailPoet Notice: