Skip to content

Commit

Permalink
Adding documentation example to deprecationRule (palantir#3848)
Browse files Browse the repository at this point in the history
This adds documentation example to the deprecation rule.
  • Loading branch information
felipeissa authored and suchanlee committed May 1, 2018
1 parent 49399eb commit 37dddca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/deprecationRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Rule extends Lint.Rules.TypedRule {
rationale: "Deprecated APIs should be avoided, and usage updated.",
optionsDescription: "",
options: null,
optionExamples: [],
optionExamples: [true],
type: "maintainability",
typescriptOnly: false,
requiresTypeInfo: true,
Expand Down

0 comments on commit 37dddca

Please sign in to comment.