From 48d9267dd5e1ff8cae3defe5e8cc84666b3dfd01 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Fri, 26 May 2017 22:13:29 +0200 Subject: [PATCH] Fix lint error --- src/comments.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/comments.js b/src/comments.js index 82653441b..3d52f127c 100644 --- a/src/comments.js +++ b/src/comments.js @@ -926,7 +926,6 @@ function printDanglingComments(path, options, sameIndent) { function printComments(path, print, options, needsSemi) { const value = path.getValue(); - const parent = path.getParentNode(); const printed = print(path); const comments = value && value.comments;