From 805628ef434fabbf4a75b3c004ba8f1ec28c1cc8 Mon Sep 17 00:00:00 2001 From: samuela Date: Sun, 23 Sep 2018 16:03:00 -0700 Subject: [PATCH] "< 0" means less than zero, not greater than --- 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 abb3f826b0c..09b14287d73 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.