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
Copy file name to clipboardExpand all lines: packages/plugin-doc-coverage/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Measured documentation types are mapped to Code PushUp audits in the following w
45
45
plugins: [
46
46
// ...
47
47
docCoveragePlugin({
48
-
sourceGlob: ['**/*.ts'],
48
+
patterns: ['**/*.ts'],
49
49
}),
50
50
],
51
51
};
@@ -100,13 +100,13 @@ These audits are grouped together to provide a comprehensive view of your codeba
100
100
101
101
The plugin accepts the following parameters:
102
102
103
-
#### SourceGlob
103
+
#### patterns
104
104
105
-
Required parameter. The `sourceGlob` option accepts an array of strings that define patterns to include or exclude files. You can use glob patterns to match files and the `!` symbol to exclude specific patterns. Example:
105
+
Required parameter. The `patterns` option accepts an array of strings that define patterns to include or exclude files. You can use glob patterns to match files and the `!` symbol to exclude specific patterns. Example:
106
106
107
107
```js
108
108
docCoveragePlugin({
109
-
sourceGlob: [
109
+
patterns: [
110
110
'src/**/*.ts', // include all TypeScript files in src
0 commit comments