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

fixed "no-unused-variable" argument count #4683

Merged
merged 1 commit into from Apr 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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