Boolean checks should not be inverted (#14829)
This commit is contained in:
1 parent
f20ecad6f1
commit
22bfc5db37
1 file changed
+1
-1
@@ -510,7 +510,7 @@ function handleFunctionNameComments({
|
||||
}
|
||||
|
||||
function handleCommentAfterArrowParams({ comment, enclosingNode, text }) {
|
||||
if (!(enclosingNode?.type === "ArrowFunctionExpression")) {
|
||||
if (enclosingNode?.type !== "ArrowFunctionExpression") {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user