You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| tsconfig | string |`tsconfig.json`|A string that defines the path to your `tsconfig.json` file |
90
-
| onlyAudits | string[]| undefined | An array of audit slugs to specify which documentation types you want to measure. Only the specified audits will be included in the results |
| tsconfig | string \| string[]|`tsconfig.json`|Path(s) to your `tsconfig.json` file(s) |
90
+
| onlyAudits | string[]| undefined | An array of audit slugs to specify which documentation types you want to measure. Only the specified audits will be included in the results |
91
91
92
92
#### `tsconfig`
93
93
94
-
Optional parameter. The `tsconfig` option accepts a string that defines the path to your config file and defaults to `tsconfig.json`.
94
+
Optional parameter. The `tsconfig` option accepts a path or an array of paths to your config files. Defaults to `tsconfig.json`.
95
95
96
96
```js
97
97
typescriptPlugin({
98
98
tsconfig:'./tsconfig.json',
99
99
});
100
100
```
101
101
102
+
You can also provide multiple tsconfigs to combine results from different configurations (e.g., separate configs for source and test files):
The `onlyAudits` option allows you to specify which documentation types you want to measure. Only the specified audits will be included in the results. All audits are included by default. Example:
0 commit comments