Skip to content

Commit 738ec02

Browse files
josephperrottannieyw
authored andcommitted
build: update tslint rules to remove usage of whitelist in comments (#20618)
Remove usage of the term whitelist in commenting for validateDecoratorsRule (cherry picked from commit 09e7779)
1 parent 5410331 commit 738ec02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/tslint-rules/validateDecoratorsRule.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import * as minimatch from 'minimatch';
55

66
/**
77
* Rule that enforces certain decorator properties to be defined and to match a pattern.
8-
* Properties can be forbidden by prefixing their name with a `!`. Supports whitelisting
9-
* files via the third argument, as well as validating all the arguments by passing in a regex. E.g.
8+
* Properties can be forbidden by prefixing their name with a `!`. Supports specifying a matcher for
9+
* filtering valid files via the third argument, as well as validating all the arguments by passing
10+
* in a regex. E.g.
1011
*
1112
* ```
1213
* "validate-decorators": [true, {

0 commit comments

Comments
 (0)