Skip to content

Commit

Permalink
tools: enable eslint strict key-spacing
Browse files Browse the repository at this point in the history
Backport-PR-URL: #19244
PR-URL: #18831
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Matheus Marchini <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
BridgeAR authored and MylesBorins committed Mar 21, 2018
1 parent 9e10ddc commit d4d7df8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions benchmark/http/_chunky_http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const common = require('../common.js');
const net = require('net');

const bench = common.createBenchmark(main, {
len: [1, 4, 8, 16, 32, 64, 128],
n: [5, 50, 500, 2000],
len: [1, 4, 8, 16, 32, 64, 128],
n: [5, 50, 500, 2000],
type: ['send'],
});

Expand Down
8 changes: 4 additions & 4 deletions test/parallel/test-eslint-require-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ ruleTester.run('require-buffer', rule, {
output: useStrict + bufferModule + useBuffer,
},
{
code: mockComment + useBuffer,
code: mockComment + useBuffer,
errors: [{ message }],
output: mockComment + bufferModule + useBuffer,
output: mockComment + bufferModule + useBuffer,
},
{
code: mockComment + useStrict + useBuffer,
code: mockComment + useStrict + useBuffer,
errors: [{ message }],
output: mockComment + useStrict + bufferModule + useBuffer,
output: mockComment + useStrict + bufferModule + useBuffer,
},
]
});
2 changes: 1 addition & 1 deletion test/parallel/test-https-agent-servername.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const fixtures = require('../common/fixtures');
const options = {
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem'),
ca: fixtures.readKey('ca1-cert.pem')
ca: fixtures.readKey('ca1-cert.pem')
};


Expand Down

0 comments on commit d4d7df8

Please sign in to comment.