From 191f5e453fbb14ad8d4c99cf0c2481789bdf5bd7 Mon Sep 17 00:00:00 2001 From: samuela Date: Mon, 5 Nov 2018 20:37:13 -0800 Subject: [PATCH] "< 0" means less than zero, not greater than (#4183) --- src/rules/maxLineLengthRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/maxLineLengthRule.ts b/src/rules/maxLineLengthRule.ts index 2b58e7832b5..9f8f95aa819 100644 --- a/src/rules/maxLineLengthRule.ts +++ b/src/rules/maxLineLengthRule.ts @@ -37,7 +37,7 @@ export class Rule extends Lint.Rules.AbstractRule { It can take one argument, which can be any of the following: * integer indicating maximum length of lines. * object with keys: - * \`limit\` - number < 0 defining max line length + * \`limit\` - number greater than 0 defining the max line length * \`ignore-pattern\` - string defining ignore pattern for this rule, being parsed by \`new RegExp()\`. For example: * \`\/\/ \` pattern will ignore all in-line comments.