Skip to content

Commit 1cb1578

Browse files
committed
Lint
1 parent 3ca8412 commit 1cb1578

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ Define which module system, `module` or `commonjs`, to use for the following:
723723

724724
In other words, `--experimental-type=module` flips all the places where Node.js
725725
currently defaults to CommonJS to instead default to ECMAScript modules, with
726-
the exception of packages inside `node_modules`, for backward compatibility reasons.
726+
the exception of packages inside `node_modules`, for backward compatibility.
727727

728728
Under `--experimental-type=module` and `--experimental-wasm-modules`, files with
729729
no extension will be treated as WebAssembly if they begin with the WebAssembly

doc/api/packages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ one module system or the other based on the value of the
9494
as CommonJS when the `package.json` file lacks a `"type"` field, regardless
9595
of `--experimental-type`, for backward compatibility.)
9696

97-
* Strings passed in as an argument to `--eval` or piped to `node` via `STDIN`, when `--input-type` is unspecified.
97+
* Strings passed in as an argument to `--eval` or piped to `node` via `STDIN`,
98+
when `--input-type` is unspecified.
9899

99100
This flag currently defaults to `"commonjs"`, but it may change in the future to
100101
default to `"module"`. For this reason it is best to be explicit wherever

0 commit comments

Comments
 (0)