Skip to content

Commit 59b36af

Browse files
nschonnitargos
authored andcommitted
doc: disable no-undefined-references workarounds
The manual links appear to be specific workarounds, so just ignore them PR-URL: #35647 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent eb55462 commit 59b36af

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/api/dns.md

+2
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,12 @@ be an array of objects with the following properties:
599599
added: v0.1.27
600600
-->
601601

602+
<!--lint disable no-undefined-references-->
602603
* `hostname` {string}
603604
* `callback` {Function}
604605
* `err` {Error}
605606
* `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string[][]&gt;</a>
607+
<!--lint enable no-undefined-references-->
606608

607609
Uses the DNS protocol to resolve text queries (`TXT` records) for the
608610
`hostname`. The `records` argument passed to the `callback` function is a

doc/api/net.md

+4
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,15 @@ an [IPC][] server depending on what it listens to.
258258

259259
Possible signatures:
260260

261+
<!--lint disable no-undefined-references-->
261262
* [`server.listen(handle[, backlog][, callback])`][`server.listen(handle)`]
262263
* [`server.listen(options[, callback])`][`server.listen(options)`]
263264
* [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]
264265
for [IPC][] servers
265266
* <a href="#net_server_listen_port_host_backlog_callback">
266267
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>
267268
for TCP servers
269+
<!--lint enable no-undefined-references-->
268270

269271
This function is asynchronous. When the server starts listening, the
270272
[`'listening'`][] event will be emitted. The last parameter `callback`
@@ -346,12 +348,14 @@ changes:
346348
functions.
347349
* Returns: {net.Server}
348350

351+
<!--lint disable no-undefined-references-->
349352
If `port` is specified, it behaves the same as
350353
<a href="#net_server_listen_port_host_backlog_callback">
351354
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>.
352355
Otherwise, if `path` is specified, it behaves the same as
353356
[`server.listen(path[, backlog][, callback])`][`server.listen(path)`].
354357
If none of them is specified, an error will be thrown.
358+
<!--lint enable no-undefined-references-->
355359

356360
If `exclusive` is `false` (default), then cluster workers will use the same
357361
underlying handle, allowing connection handling duties to be shared. When

0 commit comments

Comments
 (0)