build: allow linting node.1 · nodejs/node@a67d9a7 · GitHub
Skip to content

Commit a67d9a7

Browse files
avivkellerrichardlau
authored andcommitted
build: allow linting node.1
Signed-off-by: avivkeller <me@aviv.sh> PR-URL: #64157 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 6d14279 commit a67d9a7

4 files changed

Lines changed: 263 additions & 235 deletions

File tree

Makefile

Lines changed: 35 additions & 1 deletion

doc/node.1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The valid arguments for the \fB--allow-fs-read\fR flag are:
147147
\fB*\fR - To allow all \fBFileSystemRead\fR operations.
148148
.It
149149
Multiple paths can be allowed using multiple \fB--allow-fs-read\fR flags.
150-
Example \fB--allow-fs-read=/folder1/ --allow-fs-read=/folder1/\fR
150+
Example \fB--allow-fs-read=/folder1/ --allow-fs-read=/folder2/\fR
151151
.El
152152
Examples can be found in the File System Permissions documentation.
153153
The initializer module and custom \fB--require\fR modules has a implicit
@@ -175,7 +175,7 @@ The valid arguments for the \fB--allow-fs-write\fR flag are:
175175
\fB*\fR - To allow all \fBFileSystemWrite\fR operations.
176176
.It
177177
Multiple paths can be allowed using multiple \fB--allow-fs-write\fR flags.
178-
Example \fB--allow-fs-write=/folder1/ --allow-fs-write=/folder1/\fR
178+
Example \fB--allow-fs-write=/folder1/ --allow-fs-write=/folder2/\fR
179179
.El
180180
Paths delimited by comma (\fB,\fR) are no longer allowed.
181181
When passing a single flag with a comma a warning will be displayed.
@@ -742,7 +742,8 @@ passing a second \fBparentURL\fR argument for contextual resolution.
742742
Previously gated the entire \fBimport.meta.resolve\fR feature.
743743
.
744744
.It Fl -experimental-import-text
745-
Enable experimental support for importing modules with \fBwith { type: 'text' }\fR.
745+
Enable experimental support for importing modules with
746+
\fBwith { type: 'text' }\fR.
746747
.
747748
.It Fl -experimental-inspector-network-resource
748749
Enable experimental support for inspector network resources.
@@ -767,9 +768,8 @@ See Package maps for details on the configuration file format and
767768
resolution algorithm.
768769
.
769770
.It Fl -experimental-print-required-tla
770-
If the ES module being \fBrequire()\fR'd contains top-level \fBawait\fR, this flag
771-
allows Node.js to evaluate the module, try to locate the
772-
top-level awaits, and print their location to help users find them.
771+
If the ES module graph cannot be \fBrequire()\fR'd because it contains any top-level \fBawait\fR,
772+
this flag allows Node.js to locate and print their locations.
773773
.
774774
.It Fl -experimental-quic
775775
Enable experimental support for the QUIC protocol.
Lines changed: 21 additions & 0 deletions

0 commit comments

Comments
 (0)