Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 706c87d

Browse filesBrowse files
committed
tools: fix jsdoc lint
PR-URL: #47789 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
1 parent 03dcf7b commit 706c87d
Copy full SHA for 706c87d

File tree

Expand file treeCollapse file tree

16 files changed

+1
-29
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

16 files changed

+1
-29
lines changed
Open diff view settings
Collapse file

‎benchmark/common.js‎

Copy file name to clipboardExpand all lines: benchmark/common.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ function getUrlData(withBase) {
374374
* The 'wpt' type contains about 400 data points when `withBase` is true,
375375
* and 200 data points when `withBase` is false.
376376
* Other types contain 200 data points with or without base.
377-
*
378377
* @param {string} type Type of the data, 'wpt' or a key of `urls`
379378
* @param {number} e The repetition of the data, as exponent of 2
380379
* @param {boolean} withBase Whether to include a base URL
Collapse file

‎lib/internal/async_hooks.js‎

Copy file name to clipboardExpand all lines: lib/internal/async_hooks.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ function clearDefaultTriggerAsyncId() {
444444

445445
/**
446446
* Sets a default top level trigger ID to be used
447-
*
448447
* @template {Array<unknown>} T
449448
* @template {unknown} R
450449
* @param {number} triggerAsyncId
Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ const captureLargerStackTrace = hideStackFrames(
499499
* function UVException using a context object with data assembled in C++.
500500
* The goal is to migrate them to ERR_* errors later when compatibility is
501501
* not a concern.
502-
*
503502
* @param {object} ctx
504503
* @returns {Error}
505504
*/
@@ -551,7 +550,6 @@ const uvException = hideStackFrames(function uvException(ctx) {
551550
* This creates an error compatible with errors produced in the C++
552551
* This function should replace the deprecated
553552
* `exceptionWithHostPort()` function.
554-
*
555553
* @param {number} err - A libuv error number
556554
* @param {string} syscall
557555
* @param {string} address
@@ -591,7 +589,6 @@ const uvExceptionWithHostPort = hideStackFrames(
591589

592590
/**
593591
* This used to be util._errnoException().
594-
*
595592
* @param {number} err - A libuv error number
596593
* @param {string} syscall
597594
* @param {string} [original]
@@ -725,7 +722,6 @@ let maxStack_ErrorMessage;
725722
* Returns true if `err.name` and `err.message` are equal to engine-specific
726723
* values indicating max call stack size has been exceeded.
727724
* "Maximum call stack size exceeded" in V8.
728-
*
729725
* @param {Error} err
730726
* @returns {boolean}
731727
*/
@@ -857,7 +853,6 @@ class AbortError extends Error {
857853

858854
/**
859855
* This creates a generic Node.js error.
860-
*
861856
* @param {string} message The error message.
862857
* @param {object} errorProperties Object with additional properties to be added to the error.
863858
* @returns {Error}
Collapse file

‎lib/internal/modules/esm/fetch_module.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/esm/fetch_module.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ async function isLocalAddress(hostname) {
235235
*
236236
* In cases where the request & response have already settled, this returns the
237237
* cache value synchronously.
238-
*
239238
* @param {URL} parsed
240239
* @param {ESModuleContext} context
241240
* @returns {ReturnType<typeof fetchWithRedirects>}
Collapse file

‎lib/internal/modules/esm/loader.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,6 @@ class ESMLoader {
497497
*
498498
* This method must NOT be renamed: it functions as a dynamic import on a
499499
* loader module.
500-
*
501500
* @param {string | string[]} specifiers Path(s) to the module.
502501
* @param {string} parentURL Path of the parent importing the module.
503502
* @param {Record<string, string>} importAssertions Validations for the
@@ -548,9 +547,9 @@ class ESMLoader {
548547
* Internally, this behaves like a backwards iterator, wherein the stack of
549548
* hooks starts at the top and each call to `nextLoad()` moves down 1 step
550549
* until it reaches the bottom or short-circuits.
551-
*
552550
* @param {URL['href']} url The URL/path of the module to be loaded
553551
* @param {object} context Metadata about the module
552+
*
554553
* @returns {{ format: ModuleFormat, source: ModuleSource }}
555554
*/
556555
async load(url, context = {}) {
@@ -778,7 +777,6 @@ class ESMLoader {
778777
* Internally, this behaves like a backwards iterator, wherein the stack of
779778
* hooks starts at the top and each call to `nextResolve()` moves down 1 step
780779
* until it reaches the bottom or short-circuits.
781-
*
782780
* @param {string} originalSpecifier The specified URL path of the module to
783781
* be resolved.
784782
* @param {string} [parentURL] The URL path of the module's parent.
Collapse file

‎lib/internal/per_context/primordials.js‎

Copy file name to clipboardExpand all lines: lib/internal/per_context/primordials.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ const {
314314
* Because these functions are used by `makeSafe`, which is exposed on the
315315
* `primordials` object, it's important to use const references to the
316316
* primordials that they use.
317-
*
318317
* @template {Iterable} T
319318
* @template {*} TReturn
320319
* @template {*} TNext
Collapse file

‎lib/internal/policy/manifest.js‎

Copy file name to clipboardExpand all lines: lib/internal/policy/manifest.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ class Manifest {
417417
* the prototype to `null` for values or by running prior to any user code.
418418
*
419419
* `manifestURL` is a URL to resolve relative locations against.
420-
*
421420
* @param {object} obj
422421
* @param {string} manifestHREF
423422
*/
Collapse file

‎lib/internal/util/inspect.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ function getUserOptions(ctx, isCrossContext) {
302302
/**
303303
* Echos the value of any input. Tries to print the value out
304304
* in the best way possible given the different types.
305-
*
306305
* @param {any} value The value to print out.
307306
* @param {object} opts Optional options object that alters the output.
308307
*/
Collapse file

‎lib/internal/util/parse_args/parse_args.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/parse_args/parse_args.js
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ function getMainArgs() {
7373

7474
/**
7575
* In strict mode, throw for possible usage errors like --foo --bar
76-
*
7776
* @param {object} token - from tokens as available from parseArgs
7877
*/
7978
function checkOptionLikeValue(token) {
@@ -91,7 +90,6 @@ To specify an option argument starting with a dash use ${example}.`;
9190

9291
/**
9392
* In strict mode, throw for usage errors.
94-
*
9593
* @param {object} config - from config passed to parseArgs
9694
* @param {object} token - from tokens as available from parseArgs
9795
*/
@@ -116,7 +114,6 @@ function checkOptionUsage(config, token) {
116114

117115
/**
118116
* Store the option value in `values`.
119-
*
120117
* @param {string} longOption - long option name e.g. 'foo'
121118
* @param {string|undefined} optionValue - value from user args
122119
* @param {object} options - option configs, from parseArgs({ options })
@@ -148,7 +145,6 @@ function storeOption(longOption, optionValue, options, values) {
148145

149146
/**
150147
* Store the default option value in `values`.
151-
*
152148
* @param {string} longOption - long option name e.g. 'foo'
153149
* @param {string
154150
* | boolean
@@ -169,7 +165,6 @@ function storeDefaultOption(longOption, optionValue, values) {
169165
* - option (along with value, if any)
170166
* - positional
171167
* - option-terminator
172-
*
173168
* @param {string[]} args - from parseArgs({ args }) or mainArgs
174169
* @param {object} options - option configs, from parseArgs({ options })
175170
*/
Collapse file

‎lib/internal/util/parse_args/utils.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/parse_args/utils.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ function findLongOptionForShort(shortOption, options) {
173173
/**
174174
* Check if the given option includes a default value
175175
* and that option has not been set by the input args.
176-
*
177176
* @param {string} longOption - long option name e.g. 'foo'
178177
* @param {object} optionConfig - the option configuration properties
179178
* @param {object} values - option values returned in `values` by parseArgs

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.