Skip to content

Commit 190d265

Browse files
committed
docs: add docs for config flat/all
1 parent 6178167 commit 190d265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ About each config:
194194
- `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.
195195
- `recommended-module`: Considers all files as ES Modules.
196196
- `recommended-script`: Considers all files as CommonJS.
197+
- `flat/all`: enables all of the rules shipped with the package. This configuration is **not recommended** for production use because it may change with every minor and major version. Use at your own risk.
197198

198199
These preset configs:
199200

0 commit comments

Comments
 (0)