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

Commit

Permalink
[docs] fixed "no-unused-variable" argument count (#4683)
Browse files Browse the repository at this point in the history
  • Loading branch information
knafteN authored and adidahiya committed Apr 29, 2019
1 parent 59f8942 commit 60a397f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rules/noUnusedVariableRule.ts
Expand Up @@ -38,7 +38,7 @@ export class Rule extends Lint.Rules.TypedRule {
and private class members, when using TSLint's \`--fix\` option.`,
hasFix: true,
optionsDescription: Lint.Utils.dedent`
Three optional arguments may be optionally provided:
Two optional arguments may be optionally provided:
* \`"check-parameters"\` disallows unused function and constructor parameters.
* NOTE: this option is experimental and does not work with classes
Expand All @@ -63,7 +63,7 @@ export class Rule extends Lint.Rules.TypedRule {
],
},
minLength: 0,
maxLength: 3,
maxLength: 2,
},
optionExamples: [true, [true, { "ignore-pattern": "^_" }]],
rationale: Lint.Utils.dedent`
Expand Down

0 comments on commit 60a397f

Please sign in to comment.