Remove dead code (#10784)
This commit is contained in:
1 parent
28e67a25ac
commit
067826bc7a
1 file changed
-4
@@ -163,10 +163,6 @@ function needsParens(path, options) {
|
||||
}
|
||||
|
||||
switch (node.type) {
|
||||
case "SpreadElement":
|
||||
case "SpreadProperty":
|
||||
return name === "object" && parent.type === "MemberExpression";
|
||||
|
||||
case "UpdateExpression":
|
||||
if (parent.type === "UnaryExpression") {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user