We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52159fa commit af7cfadCopy full SHA for af7cfad
README.md
@@ -37,6 +37,29 @@ Add the following to your `.eslintrc` config:
37
// use <root>/path/to/folder/tsconfig.json
38
"typescript": {
39
"directory": "./path/to/folder"
40
+ },
41
+
42
+ // Multiple tsconfigs (Useful for monorepos)
43
44
+ // use a glob pattern
45
+ "typescript": {
46
+ "directory": "./packages/**/tsconfig.json"
47
48
49
+ // use an array
50
51
+ "directory": [
52
+ "./packages/module-a/tsconfig.json",
53
+ "./packages/module-b/tsconfig.json"
54
+ ]
55
56
57
+ // use an array of glob patterns
58
59
60
+ "./packages/**/tsconfig.json",
61
+ "./other-packages/**/tsconfig.json"
62
63
}
64
65
0 commit comments