We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1be5a4 commit 40393c5Copy full SHA for 40393c5
scripts/tslint/booleanTriviaRule.ts
@@ -18,10 +18,6 @@ function walk(ctx: Lint.WalkContext<void>): void {
18
}
19
20
function checkCall(node: ts.CallExpression): void {
21
- if (!node.arguments) {
22
- return;
23
- }
24
-
25
for (const arg of node.arguments) {
26
if (arg.kind !== ts.SyntaxKind.TrueKeyword && arg.kind !== ts.SyntaxKind.FalseKeyword) {
27
continue;
@@ -52,4 +48,4 @@ function walk(ctx: Lint.WalkContext<void>): void {
52
48
53
49
54
50
55
-}
51
+}
0 commit comments