Fix comments
This commit is contained in:
parent
40ed59ce28
commit
b2f362225c
@ -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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user