We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969b77b commit 7217fa4Copy full SHA for 7217fa4
src/rules/no-expression-statements.ts
@@ -150,6 +150,7 @@ function checkExpressionStatement(
150
typescript !== undefined &&
151
declaration !== undefined &&
152
typescript.isFunctionLike(declaration) &&
153
+ !typescript.isArrowFunction(declaration) &&
154
"body" in declaration &&
155
declaration.body !== undefined &&
156
typescript.isBlock(declaration.body)
0 commit comments