From 60a397f3a3d82b63cb476b36cdeb4b9d9ec7521a Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 30 Apr 2019 01:56:02 +0200 Subject: [PATCH] [docs] fixed "no-unused-variable" argument count (#4683) --- src/rules/noUnusedVariableRule.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules/noUnusedVariableRule.ts b/src/rules/noUnusedVariableRule.ts index e77f8745431..e5b9422ce32 100644 --- a/src/rules/noUnusedVariableRule.ts +++ b/src/rules/noUnusedVariableRule.ts @@ -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`