Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 538bc7d

Browse files
josephperrottalan-agius4
authored andcommitted
build: update tslint rules to remove usage of whitelist in comments
Remove usage of the term whitelist in commenting for noRxjsPatchImportsRule
1 parent 114b584 commit 538bc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tslint-rules/noRxjsPatchImportsRule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const ERROR_MESSAGE = 'Uses of RxJS patch imports are forbidden.';
77

88
/**
99
* Rule that prevents uses of RxJS patch imports (e.g. `import 'rxjs/add/operator/map').
10-
* Supports whitelisting via `"no-patch-imports": [true, "\.spec\.ts$"]`.
10+
* Supports allowing usage in specific filesvia `"no-patch-imports": [true, "\.spec\.ts$"]`.
1111
*/
1212
export class Rule extends Lint.Rules.AbstractRule {
1313
apply(sourceFile: ts.SourceFile) {

0 commit comments

Comments
 (0)