Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-02-06 16:36:58 +0300
committerRich Trott <rtrott@gmail.com>2021-02-19 20:55:35 +0300
commitb461a1b1259b0b12f6fdbc45851e8b0546ddde84 (patch)
tree213f4f09396a7c2b7a3127dac18af461525f3763 /doc/api/dns.md
parent08a2383a5ea0db2723fb7bf3edce9898d716b158 (diff)
doc,lib: prepare for stricter multi-line array linting
We're about to turn on a requirement for dangling commas. PR-URL: https://github.com/nodejs/node/pull/37088 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index c85bf712429..cdb948309f1 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -155,7 +155,7 @@ section if a custom port is used.
'4.4.4.4',
'2001:4860:4860::8888',
'4.4.4.4:1053',
- '[2001:4860:4860::8888]:1053'
+ '[2001:4860:4860::8888]:1053',
]
```
@@ -645,7 +645,7 @@ dns.setServers([
'4.4.4.4',
'[2001:4860:4860::8888]',
'4.4.4.4:1053',
- '[2001:4860:4860::8888]:1053'
+ '[2001:4860:4860::8888]:1053',
]);
```
@@ -755,7 +755,7 @@ section if a custom port is used.
'4.4.4.4',
'2001:4860:4860::8888',
'4.4.4.4:1053',
- '[2001:4860:4860::8888]:1053'
+ '[2001:4860:4860::8888]:1053',
]
```
@@ -1148,7 +1148,7 @@ dnsPromises.setServers([
'4.4.4.4',
'[2001:4860:4860::8888]',
'4.4.4.4:1053',
- '[2001:4860:4860::8888]:1053'
+ '[2001:4860:4860::8888]:1053',
]);
```