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, "computed-property-spacing": 0,
"no-plusplus": 0, "no-plusplus": 0,
"array-bracket-spacing": 0, "array-bracket-spacing": 0,
"lines-around-directive": 0,
"no-unreachable": 0, "no-unreachable": 0,
"default-case": 0, "default-case": 0,
"no-lonely-if": 0, "no-lonely-if": 0,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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