Skip to content

Commit cb63c5f

Browse files
committed
Add tip on how to use XO with monorepos
1 parent 0d88cde commit cb63c5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ XO makes it easy to override configs for specific files. The `overrides` propert
289289

290290
If you have a directory structure with nested `package.json` files and you want one of the child manifests to be skipped, you can do so by setting `"xo": false`. For example, when you have separate app and dev `package.json` files with `electron-builder`.
291291

292+
### Monorepo
293+
294+
Put a `package.json` with your config at the root and add `"xo": false` to the `package.json` in your bundled packages.
295+
292296

293297
## FAQ
294298

0 commit comments

Comments
 (0)