Skip to content

Commit ede20ea

Browse files
committed
docs: clarify exclude error messages description
1 parent 7d154f5 commit ede20ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pluginCheckSyntax({
203203
- **Type:** `RegExp | RegExp[]`
204204
- **Default:** `undefined`
205205
206-
Excludes files by error message (reason) before detection. You can pass in one or more regular expressions to match the error messages. Files that match the regular expression will be ignored and will not trigger syntax checking.
206+
Excludes specified error messages. You can pass in one or more regular expressions to match the error messages. Files that match the regular expression will be ignored and will not trigger syntax checking.
207207
208208
- **Example:**
209209

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type CheckSyntaxOptions = {
2121
*/
2222
excludeOutput?: CheckSyntaxExclude;
2323
/**
24-
* Excludes files by error message (reason) before detection.
24+
* Excludes specified error messages.
2525
* You can pass in one or more regular expressions to match the reasons.
2626
*/
2727
excludeErrorMessage?: CheckSyntaxExclude;

0 commit comments

Comments
 (0)