Fix comments

This commit is contained in:
Fabio Berger 2018-05-16 15:14:31 +02:00
parent 40ed59ce28
commit b2f362225c

View File

@ -41,7 +41,7 @@ function checkNodeForViolations(ctx: Lint.WalkContext<void>, node: ts.Node, tc:
break; break;
default: default:
// noop _.noop();
} }
} }
@ -53,7 +53,6 @@ function handleBooleanNaming(
const nodeName = node.name; const nodeName = node.name;
const variableName = nodeName.getText(); const variableName = nodeName.getText();
const lowercasedName = _.toLower(variableName); const lowercasedName = _.toLower(variableName);
// tslint:disable-next-line
const typeNode = tc.getTypeAtLocation(node); const typeNode = tc.getTypeAtLocation(node);
const typeName = (typeNode as any).intrinsicName; const typeName = (typeNode as any).intrinsicName;
if (typeName === 'boolean') { if (typeName === 'boolean') {