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;
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') {