Update lint message to not mention element access.

This commit is contained in:
Nathan Shively-Sanders 2016-01-04 08:44:16 -08:00
parent 34ddaef44c
commit 710b379cdc

View file

@ -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[] {