Consider any unary expression
This commit is contained in:
@@ -94,7 +94,7 @@ export default function ({ types: t }) {
|
||||
if (path.key == "callee" && (parentPath.isCallExpression() || parentPath.isNewExpression())) {
|
||||
return false;
|
||||
}
|
||||
if (path.key == "argument" && parentPath.isUnaryExpression({ operator: "delete" })) {
|
||||
if (path.key == "argument" && parentPath.isUnaryExpression()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user