Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

docs(import-blacklist): add some options examples #4858

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/rules/importBlacklistRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export class Rule extends Lint.Rules.AbstractRule {
optionExamples: [
true,
[true, "rxjs", "lodash"],
[true, [".*\\.temp$", ".*\\.tmp$"]],
[true, { lodash: ["pull", "pullAll"] }],
[true, "lodash", { lodash: ["pull", "pullAll"] }],
[true, "rxjs", { lodash: ["pull", "pullAll"] }, [".*\\.temp$", ".*\\.tmp$"]],
],
Expand Down