Skip to content

Commit

Permalink
fixup lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Sep 23, 2020
1 parent afd33a7 commit cb70510
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/api/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,12 @@ Node.js supports the following conditions out of the box:
`import()`, or via any top-level import or resolve operation by the
ECMAScript module loader. Applies regardless of the module format of the
target file. _Always mutually exclusive with `"require"`._
* `"require"` - matched when the package is loaded via `require()`.
The referenced file should be loadable with `require()` although the condition
will be matched regardless of the module format of the target file. Expected formats
include CommonJS, JSON, and native addons but not ES modules as `require()`
doesn't support them. _Always mutually exclusive with `"import"`._
* `"require"` - matched when the package is loaded via `require()`. The
referenced file should be loadable with `require()` although the condition
will be matched regardless of the module format of the target file. Expected
formats include CommonJS, JSON, and native addons but not ES modules as
`require()` doesn't support them. _Always mutually exclusive with
`"import"`._
* `"node"` - matched for any Node.js environment. Can be a CommonJS or ES
module file. _This condition should always come after `"import"` or
`"require"`._
Expand Down

0 comments on commit cb70510

Please sign in to comment.