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

Commit

Permalink
Un-deprecate no-unused-variable rule (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
mprobst authored and adidahiya committed Feb 27, 2017
1 parent 12435bf commit 4385b2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/rules/noUnusedVariableRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export class Rule extends Lint.Rules.AbstractRule {
/* tslint:disable:object-literal-sort-keys */
public static metadata: Lint.IRuleMetadata = {
ruleName: "no-unused-variable",
deprecationMessage: "Use the tsc compiler options --noUnusedParameters and --noUnusedLocals instead.",
description: "Disallows unused imports, variables, functions and private class members.",
description: Lint.Utils.dedent`Disallows unused imports, variables, functions and
private class members. Similar to tsc's --noUnusedParameters and --noUnusedLocals
options, but does not interrupt code compilation.`,
hasFix: true,
optionsDescription: Lint.Utils.dedent`
Three optional arguments may be optionally provided:
Expand Down

0 comments on commit 4385b2d

Please sign in to comment.