From 94cebe28f5911d17a355a657005a9bba46ed19f9 Mon Sep 17 00:00:00 2001 From: Dominik Palo Date: Wed, 27 Feb 2019 09:53:56 +0100 Subject: [PATCH 1/2] Fix metadata of the whitespace rule --- src/rules/whitespaceRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/whitespaceRule.ts b/src/rules/whitespaceRule.ts index 6872b3d3ce4..d02e7517b2c 100644 --- a/src/rules/whitespaceRule.ts +++ b/src/rules/whitespaceRule.ts @@ -40,7 +40,7 @@ export class Rule extends Lint.Rules.AbstractRule { description: "Enforces whitespace style conventions.", rationale: "Helps maintain a readable, consistent style in your codebase.", optionsDescription: Lint.Utils.dedent` - Ten arguments may be optionally provided: + Eleven arguments may be optionally provided: * \`"check-branch"\` checks branching statements (\`if\`/\`else\`/\`for\`/\`while\`) are followed by whitespace. * \`"check-decl"\`checks that variable declarations have whitespace around the equals token. From 29d28392feee2acdfb8ed753a07664a93a558c53 Mon Sep 17 00:00:00 2001 From: Dominik Palo Date: Thu, 28 Feb 2019 10:00:09 +0100 Subject: [PATCH 2/2] Polish the metadata wording (eleven -> several) --- src/rules/whitespaceRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/whitespaceRule.ts b/src/rules/whitespaceRule.ts index d02e7517b2c..d3b643760e2 100644 --- a/src/rules/whitespaceRule.ts +++ b/src/rules/whitespaceRule.ts @@ -40,7 +40,7 @@ export class Rule extends Lint.Rules.AbstractRule { description: "Enforces whitespace style conventions.", rationale: "Helps maintain a readable, consistent style in your codebase.", optionsDescription: Lint.Utils.dedent` - Eleven arguments may be optionally provided: + Several arguments may be optionally provided: * \`"check-branch"\` checks branching statements (\`if\`/\`else\`/\`for\`/\`while\`) are followed by whitespace. * \`"check-decl"\`checks that variable declarations have whitespace around the equals token.