Clean up no-empty lint errors

This commit is contained in:
Kevin Sawicki 2016-01-19 11:31:47 -08:00
parent 4f4456bde8
commit ccce284a5b
3 changed files with 3 additions and 5 deletions

View file

@ -1,7 +1,4 @@
{
"rules": {
"no-empty": 0
},
"env": {
"jquery": true,
"mocha": true

View file

@ -470,6 +470,7 @@ describe('browser-window module', function() {
fs.rmdirSync(path.join(savePageDir, 'save_page_files'));
fs.rmdirSync(savePageDir);
} catch (e) {
// Ignore error
}
});

View file

@ -49,7 +49,7 @@ describe('protocol module', function() {
callback(text);
return callback();
} catch (error1) {
// Ignore error
}
};
return protocol.registerStringProtocol(protocolName, doubleHandler, function(error) {
@ -589,7 +589,7 @@ describe('protocol module', function() {
callback(text);
return callback();
} catch (error1) {
// Ignore error
}
};
return protocol.interceptStringProtocol('http', doubleHandler, function(error) {