Skip to content

Commit ea2d4ce

Browse files
fix lint
1 parent 388dd65 commit ea2d4ce

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@
124124
"@typescript-eslint/no-unused-vars": [
125125
"error",
126126
{
127-
"argsIgnorePattern": "^_"
127+
"argsIgnorePattern": "^_",
128+
"varsIgnorePattern": "^_"
128129
}
129130
]
130131
},

test/integration/node-specific/bson-options/utf8_validation.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ describe('utf8 validation with cursors', function () {
176176
if (providedBuffer.includes(targetBytes)) {
177177
if (providedBuffer.split(targetBytes).length !== 2) {
178178
sinon.restore();
179-
const message = `too many target bytes sequences: received ${providedBuffer.split(targetBytes).length}\n. command: ${inspect(deserialize(args[0]), { depth: Infinity })}`;
179+
const message = `too many target bytes sequences: received ${
180+
providedBuffer.split(targetBytes).length
181+
}\n. command: ${inspect(deserialize(args[0]), { depth: Infinity })}`;
180182
throw new Error(message);
181183
}
182184
const buffer = Buffer.from(providedBuffer.replace(targetBytes, 'c301'.repeat(8)), 'hex');

test/integration/server-selection/server_selection.prose.operation_count.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function runTaskGroup(collection: Collection, count: 10 | 100 | 1000) {
3030

3131
async function ensurePoolIsFull(client: MongoClient): Promise<boolean> {
3232
let connectionCount = 0;
33-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
33+
3434
for await (const _event of on(client, 'connectionCreated')) {
3535
connectionCount++;
3636
if (connectionCount === POOL_SIZE * 2) {

0 commit comments

Comments
 (0)