Skip to content

Commit 4228f33

Browse files
MoLowlucshi
authored andcommitted
fixup: fix lint warnings/errors
1 parent 3e23974 commit 4228f33

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

lib/https.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ function createConnection(port, host, options) {
165165
return socket;
166166
}
167167

168+
// eslint-disable-next-line jsdoc/require-returns-check
168169
/**
169170
* Creates a new `HttpAgent` instance.
170171
* @param {{

lib/internal/modules/esm/assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const supportedAssertionTypes = ArrayPrototypeFilter(
4242
ObjectValues(formatTypeMap),
4343
(type) => type !== kImplicitAssertType);
4444

45-
45+
// eslint-disable-next-line jsdoc/require-returns-check
4646
/**
4747
* Test a module's import assertions.
4848
* @param {string} url The URL of the imported module, for error reporting.

lib/internal/modules/esm/resolve.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ function isConditionalExportsMainSugar(exports, packageJSONUrl, base) {
519519
return isConditionalSugar;
520520
}
521521

522+
// eslint-disable-next-line jsdoc/require-returns-check
522523
/**
523524
* @param {URL} packageJSONUrl
524525
* @param {string} packageSubpath
@@ -616,6 +617,7 @@ function patternKeyCompare(a, b) {
616617
return 0;
617618
}
618619

620+
// eslint-disable-next-line jsdoc/require-returns-check
619621
/**
620622
* @param {string} name
621623
* @param {string | URL | undefined} base

lib/internal/validators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function validateBooleanArray(value, name) {
306306
}
307307
}
308308

309-
// eslint-disable-next-line jsdoc/require-returns-check
309+
310310
/**
311311
* @param {*} signal
312312
* @param {string} [name='signal']

0 commit comments

Comments
 (0)