Skip to content

Commit b814ae6

Browse files
authored
📝 fixed typo in readme.md (#215)
1 parent 052a1e5 commit b814ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ These rules have been deprecated in accordance with the [deprecation policy](htt
131131

132132
This plugin provides three configs:
133133

134-
- `plugin:node/recommended` condiders both CommonJS and ES Modules. If [`"type":"module"` field](https://medium.com/@nodejs/announcing-a-new-experimental-modules-1be8d2d6c2ff#b023) existed in package.json then it considers files as ES Modules. Otherwise it considers files as CommonJS. In addition, it considers `*.mjs` files as ES Modules and `*.cjs` files as CommonJS.
134+
- `plugin:node/recommended` considers both CommonJS and ES Modules. If [`"type":"module"` field](https://medium.com/@nodejs/announcing-a-new-experimental-modules-1be8d2d6c2ff#b023) existed in package.json then it considers files as ES Modules. Otherwise it considers files as CommonJS. In addition, it considers `*.mjs` files as ES Modules and `*.cjs` files as CommonJS.
135135
- `plugin:node/recommended-module` considers all files as ES Modules.
136136
- `plugin:node/recommended-script` considers all files as CommonJS.
137137

0 commit comments

Comments
 (0)