⬆️ 👕 updated to eslint 2.1.0

Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0

And made sure the eslint tasks passed
This commit is contained in:
cesine 2016-02-15 21:26:25 -05:00
parent f3f6fa958e
commit 2aff0c47d0
16 changed files with 28 additions and 27 deletions

View file

@ -1,7 +1,7 @@
exports.call = function(func) {
return func();
}
};
exports.constructor = function() {
this.test = 'test';
}
};

View file

@ -1 +1 @@
exports.id = 1127
exports.id = 1127;

View file

@ -1,4 +1,4 @@
process.on('message', function (msg) {
process.on('message', function () {
process.send([
'a'.localeCompare('a'),
'ä'.localeCompare('z', 'de'),

View file

@ -1,3 +1,3 @@
process.on('message', function (msg) {
process.on('message', function () {
process.send(typeof require('original-fs'));
});

View file

@ -1,7 +1,7 @@
exports.print = function(obj) {
return obj.constructor.name;
}
};
exports.echo = function(obj) {
return obj;
}
};

View file

@ -2,4 +2,4 @@ exports.twicePromise = function (promise) {
return promise.then(function (value) {
return value * 2;
});
}
};

View file

@ -1 +1 @@
exports.property = 1127
exports.property = 1127;

View file

@ -1,4 +1,4 @@
var ipcRenderer = require('electron').ipcRenderer;
window.onload = function() {
ipcRenderer.send('answer', typeof window.process);
}
};

View file

@ -3,7 +3,7 @@ process.on('uncaughtException', function(error) {
process.exit(1);
});
process.on('message', function(msg) {
process.on('message', function() {
setImmediate(function() {
process.send('ok');
process.exit(0);