Skip to content

Commit 020d6b4

Browse files
authored
docs(eslint-plugin): README.md updated for monorepos (#79)
1 parent 9b5326f commit 020d6b4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

packages/eslint-plugin/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@ Then update your `.eslintrc` config file:
2626
}
2727
```
2828

29+
### Setting up the plugin on a monorepo
30+
31+
Update your `.vscode/settings.json` by adding the directories of apps using the plugin:
32+
33+
```json
34+
// .vscode/settings.json
35+
{
36+
...
37+
"eslint.workingDirectories": [
38+
"apps/yourFirstApp",
39+
"apps/yourSecondApp"
40+
]
41+
}
42+
```
43+
2944
## Shareable configurations
3045

3146
This plugin exports multiple configurations that can be used in your `.eslintrc` config file:

0 commit comments

Comments
 (0)