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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed "no-unused-variable" argument count
  • Loading branch information
knafteN authored Apr 27, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f07ae41bb7d9b73e0dd8d61ded852d2ae3b29dd8
4 changes: 2 additions & 2 deletions src/rules/noUnusedVariableRule.ts
Original file line number Diff line number Diff line change
@@ -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
@@ -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`