From b2f362225c5c03526852fc6b997241faba6d1231 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 16 May 2018 15:14:31 +0200 Subject: Fix comments --- packages/tslint-config/rules/booleanNamingRule.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/tslint-config/rules') diff --git a/packages/tslint-config/rules/booleanNamingRule.ts b/packages/tslint-config/rules/booleanNamingRule.ts index bc0b42e71..f673afc6a 100644 --- a/packages/tslint-config/rules/booleanNamingRule.ts +++ b/packages/tslint-config/rules/booleanNamingRule.ts @@ -41,7 +41,7 @@ function checkNodeForViolations(ctx: Lint.WalkContext, node: ts.Node, tc: break; default: - // noop + _.noop(); } } @@ -53,7 +53,6 @@ function handleBooleanNaming( const nodeName = node.name; const variableName = nodeName.getText(); const lowercasedName = _.toLower(variableName); - // tslint:disable-next-line const typeNode = tc.getTypeAtLocation(node); const typeName = (typeNode as any).intrinsicName; if (typeName === 'boolean') { -- cgit