THRIFT-5811: Update eslint & prettier
Client: js
Patch: Cameron Martin

This closes #3087
diff --git a/tutorial/nodejs/NodeServer.js b/tutorial/nodejs/NodeServer.js
index 2e19882..5181e51 100644
--- a/tutorial/nodejs/NodeServer.js
+++ b/tutorial/nodejs/NodeServer.js
@@ -25,17 +25,17 @@
 var data = {};
 
 var server = thrift.createServer(Calculator, {
-  ping: function(result) {
+  ping: function (result) {
     console.log("ping()");
     result(null);
   },
 
-  add: function(n1, n2, result) {
+  add: function (n1, n2, result) {
     console.log("add(", n1, ",", n2, ")");
     result(null, n1 + n2);
   },
 
-  calculate: function(logid, work, result) {
+  calculate: function (logid, work, result) {
     console.log("calculate(", logid, ",", work, ")");
 
     var val = 0;
@@ -49,7 +49,7 @@
       if (work.num2 === 0) {
         var x = new ttypes.InvalidOperation();
         x.whatOp = work.op;
-        x.why = 'Cannot divide by 0';
+        x.why = "Cannot divide by 0";
         result(x);
         return;
       }
@@ -57,28 +57,27 @@
     } else {
       var x = new ttypes.InvalidOperation();
       x.whatOp = work.op;
-      x.why = 'Invalid operation';
+      x.why = "Invalid operation";
       result(x);
       return;
     }
 
     var entry = new SharedStruct();
     entry.key = logid;
-    entry.value = ""+val;
+    entry.value = "" + val;
     data[logid] = entry;
 
     result(null, val);
   },
 
-  getStruct: function(key, result) {
+  getStruct: function (key, result) {
     console.log("getStruct(", key, ")");
     result(null, data[key]);
   },
 
-  zip: function() {
+  zip: function () {
     console.log("zip()");
-  }
-
+  },
 });
 
 server.listen(9090);