From 710b379cdc8e6de26c6b6dd404b98069ab3be47c Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Mon, 4 Jan 2016 08:44:16 -0800 Subject: [PATCH] Update lint message to not mention element access. --- scripts/tslint/noIncrementDecrementRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tslint/noIncrementDecrementRule.ts b/scripts/tslint/noIncrementDecrementRule.ts index 742ca520c53..75f4d2f5c08 100644 --- a/scripts/tslint/noIncrementDecrementRule.ts +++ b/scripts/tslint/noIncrementDecrementRule.ts @@ -3,7 +3,7 @@ import * as ts from "typescript"; export class Rule extends Lint.Rules.AbstractRule { - public static POSTFIX_FAILURE_STRING = "Don't use '++' or '--' postfix operators outside statements, for loops, or element access expressions."; + public static POSTFIX_FAILURE_STRING = "Don't use '++' or '--' postfix operators outside statements or for loops."; public static PREFIX_FAILURE_STRING = "Don't use '++' or '--' prefix operators."; public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {