Skip to content

Commit eed82aa

Browse files
nschonniBethGriggs
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 <duhamelantoine1995@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 36a24fb commit eed82aa

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
@@ -558,10 +558,12 @@ be an array of objects with the following properties:
558558
added: v0.1.27
559559
-->
560560

561+
<!--lint disable no-undefined-references-->
561562
* `hostname` {string}
562563
* `callback` {Function}
563564
* `err` {Error}
564565
* `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string[][]&gt;</a>
566+
<!--lint enable no-undefined-references-->
565567

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

doc/api/net.md

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

195195
Possible signatures:
196196

197+
<!--lint disable no-undefined-references-->
197198
* [`server.listen(handle[, backlog][, callback])`][`server.listen(handle)`]
198199
* [`server.listen(options[, callback])`][`server.listen(options)`]
199200
* [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]
200201
for [IPC][] servers
201202
* <a href="#net_server_listen_port_host_backlog_callback">
202203
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>
203204
for TCP servers
205+
<!--lint enable no-undefined-references-->
204206

205207
This function is asynchronous. When the server starts listening, the
206208
[`'listening'`][] event will be emitted. The last parameter `callback`
@@ -282,12 +284,14 @@ changes:
282284
functions.
283285
* Returns: {net.Server}
284286

287+
<!--lint disable no-undefined-references-->
285288
If `port` is specified, it behaves the same as
286289
<a href="#net_server_listen_port_host_backlog_callback">
287290
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>.
288291
Otherwise, if `path` is specified, it behaves the same as
289292
[`server.listen(path[, backlog][, callback])`][`server.listen(path)`].
290293
If none of them is specified, an error will be thrown.
294+
<!--lint enable no-undefined-references-->
291295

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

0 commit comments

Comments
 (0)