Skip to content

Commit 1c56f4a

Browse files
committed
lint: remove multiple empty lines
1 parent 8c4aa5a commit 1c56f4a

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"no-inner-declarations": 2,
2323
"no-invalid-regexp": 2,
2424
"no-irregular-whitespace": 2,
25+
"no-multiple-empty-lines": [2, { "max": 1 }],
2526
"no-negated-in-lhs": 2,
2627
"no-obj-calls": 2,
2728
"no-regex-spaces": 2,

lib/protocol/sequences/Query.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Query.prototype._sendLocalDataFile = function(path) {
162162
'autoClose': true
163163
});
164164

165-
166165
this.on('pause', function () {
167166
localStream.pause();
168167
});

test/integration/connection/test-send-and-receive-large-packets.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ common.getTestConnection(function (err, connection) {
88
getMaxAllowedPacket(connection);
99
});
1010

11-
1211
var oldMaxAllowedPacket;
1312
function getMaxAllowedPacket(connection) {
1413
connection.query('SHOW VARIABLES WHERE Variable_name = ?', ['max_allowed_packet'], function (err, rows) {

test/integration/connection/test-send-and-receive-large-text.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ common.getTestConnection(function (err, connection) {
88
getMaxAllowedPacket(connection);
99
});
1010

11-
1211
var oldMaxAllowedPacket;
1312
function getMaxAllowedPacket(connection) {
1413
connection.query('SHOW VARIABLES WHERE Variable_name = ?', ['max_allowed_packet'], function (err, rows) {

0 commit comments

Comments
 (0)