Skip to content

Commit 2340d1a

Browse files
committed
Update readme
1 parent 011cc15 commit 2340d1a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ List of typescript diagnostic codes to ignore.
7979
* **ignoreLints** `string[]`:
8080
List of tslint rule names to ignore.
8181

82+
* **reportFiles** `string[]`:
83+
Only report errors on files matching these glob patterns. This can be useful when certain types definitions have errors that are not fatal to your application. Default: `[]`.
84+
85+
```js
86+
// in webpack.config.js
87+
new ForkTsCheckerWebpackPlugin({ reportFiles: ['src/**/*.{ts,tsx}', '!src/skip.ts'] })
88+
```
89+
8290
* **colors** `boolean`:
8391
If `false`, disables built-in colors in logger messages. Default: `true`.
8492

0 commit comments

Comments
 (0)