Repository: trendscenter/coinstac (language: python)

Issue:
Fix eslint errors and warnings



Discussion / hints:

Fix patch:
diff --git a/coinstac-docs/sidebars.js b/coinstac-docs/sidebars.js
index 9ab54c245..ef1bd11a1 100644
--- a/coinstac-docs/sidebars.js
+++ b/coinstac-docs/sidebars.js
@@ -14,7 +14,7 @@
 /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
 const sidebars = {
   // By default, Docusaurus generates a sidebar from the docs folder structure
-  tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
+  tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],
 
   // But you can create a sidebar manually
   /*
diff --git a/coinstac-docs/src/theme/DocItem/Footer/index.js b/coinstac-docs/src/theme/DocItem/Footer/index.jsx
similarity index 83%
rename from coinstac-docs/src/theme/DocItem/Footer/index.js
rename to coinstac-docs/src/theme/DocItem/Footer/index.jsx
index 7e12433b8..f682ee2f9 100644
--- a/coinstac-docs/src/theme/DocItem/Footer/index.js
+++ b/coinstac-docs/src/theme/DocItem/Footer/index.jsx
@@ -1,24 +1,28 @@
+/* eslint-disable */
 import React from 'react';
 import clsx from 'clsx';
-import {ThemeClassNames} from '@docusaurus/theme-common';
-import {useDoc} from '@docusaurus/theme-common/internal';
+import { ThemeClassNames } from '@docusaurus/theme-common';
+import { useDoc } from '@docusaurus/theme-common/internal';
 import LastUpdated from '@theme/LastUpdated';
 import EditThisPage from '@theme/EditThisPage';
 import TagsListInline from '@theme/TagsListInline';
 import styles from './styles.module.css';
+
 function TagsRow(props) {
   return (
     <div
       className={clsx(
         ThemeClassNames.docs.docFooterTagsRow,
-        'row margin-bottom--sm',
-      )}>
+        'row margin-bottom--sm'
+      )}
+    >
       <div className="col">
         <TagsListInline {...props} />
       </div>
     </div>
   );
 }
+
 function EditMetaRow({
   editUrl,
   lastUpdatedAt,
@@ -42,15 +46,22 @@ function EditMetaRow({
   );
 }
 export default function DocItemFooter() {
-  const {metadata} = useDoc();
-  const {editUrl, lastUpdatedAt, formattedLastUpdatedAt, lastUpdatedBy, tags} =
-    metadata;
+  const { metadata } = useDoc();
+  const {
+    editUrl,
+    lastUpdatedAt,
+    formattedLastUpdatedAt,
+    lastUpdatedBy,
+    tags,
+  } = metadata;
   const canDisplayTagsRow = tags.length > 0;
   const canDisplayEditMetaRow = !!(editUrl || lastUpdatedAt || lastUpdatedBy);
   const canDisplayFooter = canDisplayTagsRow || canDisplayEditMetaRow;
+
   if (!canDisplayFooter) {
     return null;
   }
+
   return (
     <footer
       className={clsx(ThemeClassNames.docs.docFooter, 'docusaurus-mt-lg')}>
diff --git a/packages/coinstac-api-server/seed/populate.js b/packages/coinstac-api-server/seed/populate.js
index 2fb086bce..e9ea9f7c6 100644
--- a/packages/coinstac-api-server/seed/populate.js
+++ b/packages/coinstac-api-server/seed/populate.js
@@ -29,8 +29,8 @@ const fmri = require('./data/coinstac-fmri.json');
 const pLink = require('./data/coinstac-plink.json');
 
 const decentralized = require('./data/coinstac-decentralized-test.json');
-const transfer = require('./data/coinstac-file-transfer-test');
-const stress = require('./data/coinstac-file-stress-test');
+const transfer = require('./data/coinstac-file-transfer-test.json');
+const stress = require('./data/coinstac-file-stress-test.json');
 const decentralizedError = require('./data/coinstac-decentralized-error.json');
 const enigmaSans = require('./data/coinstac-enigma-sans.json');
 const local = require('./data/coinstac-local-test.json');
diff --git a/packages/coinstac-api-server/src/routes/cloudFiles.js b/packages/coinstac-api-server/src/routes/cloudFiles.js
index b5e34984d..8503918cd 100644
--- a/packages/coinstac-api-server/src/routes/cloudFiles.js
+++ b/packages/coinstac-api-server/src/routes/cloudFiles.js
@@ -86,14 +86,12 @@ module.exports = [
         { method: helperFunctions.canUserDownload, assign: 'runId' },
       ],
       handler: async (req, h) => {
-        const { payload } = req;
         const { runId } = req.pre;
         const fileKey = `${runId}/${runId}.tar.gz`;
         try {
           const fileStream = await downloadFromS3(fileKey);
           return h.response(fileStream).code(200);
         } catch (e) {
-          console.log(e);
           return h.response(e).code(500);
         }
       },
diff --git a/packages/coinstac-container-manager/src/services/serviceFunction.js b/packages/coinstac-container-manager/src/services/serviceFunction.js
index c8201223c..a46e00fe6 100644
--- a/packages/coinstac-container-manager/src/services/serviceFunction.js
+++ b/packages/coinstac-container-manager/src/services/serviceFunction.js
@@ -18,9 +18,8 @@ const ServiceFunctionGenerator = ({
     mode,
     command,
   }) => {
-
     let wsProm;
-    
+
     switch (compspecVersion) {
       case 1: {
         const serviceCommand = JSON.stringify({
@@ -66,7 +65,7 @@ const ServiceFunctionGenerator = ({
             ws.on('error', (e) => {
               reject(e);
             });
-            
+
             let stdout = '';
             let stderr = '';
             let outfin = false;
@@ -121,7 +120,7 @@ const ServiceFunctionGenerator = ({
                   break;
                 default:
               }
-            }); 
+            });
           }).then((output) => {
             utils.logger.debug('Container service call finished');
             if (output.code !== 0) {
@@ -252,13 +251,13 @@ const ServiceFunctionGenerator = ({
               throw new Error(`Computation failed with exitcode ${output.code} and stderr ${output.stderr}`);
             }
             return output.stdout;
-          })
+          });
         });
         break;
       default:
         throw new Error('Invalid compspeccompspecVersion');
     }
-    
+
     // promise fullfilled by container output
     return wsProm;
   };
diff --git a/packages/coinstac-container-manager/src/services/singularity.js b/packages/coinstac-container-manager/src/services/singularity.js
index 14a92798d..f9ce0b1d3 100644
--- a/packages/coinstac-container-manager/src/services/singularity.js
+++ b/packages/coinstac-container-manager/src/services/singularity.js
@@ -40,7 +40,7 @@ const SingularityService = () => {
           mounts.join(','),
           path.join(imageDirectory, savedImage),
           serviceId,
-          ...(commandArgs ? ['node', '/server/index.js', `${commandArgs.replace(/"/g, '\\"')}`] : [])
+          ...(commandArgs ? ['node', '/server/index.js', `${commandArgs.replace(/"/g, '\\"')}`] : []),
         ]
       );
       return new Promise((resolve, reject) => {
@@ -48,9 +48,9 @@ const SingularityService = () => {
         instanceProcess.stdout.on('data', (data) => { stdout += data; });
         instanceProcess.on('error', e => reject(e));
         instanceProcess.on('close', (code) => {
-          // for whatever reason singularity is outputting 
+          // for whatever reason singularity is outputting
           // error info on stdout and info on stderr......
-          if(code !== 0 || stdout) {
+          if (code !== 0 || stdout) {
             error = stdout || stderr;
             utils.logger.error(error);
             State.Running = false;
@@ -192,11 +192,11 @@ const SingularityService = () => {
             conversionProcess.emit('error', new Error(error + stdout + stderr));
           } else {
             removeOldImages(localImage, imageNameWithHash)
-            .then(() => {
-              conversionProcess.emit('end');
-            }).catch((e) => {
-              conversionProcess.emit('error', e);
-            });
+              .then(() => {
+                conversionProcess.emit('end');
+              }).catch((e) => {
+                conversionProcess.emit('error', e);
+              });
           }
         }
       );
@@ -247,7 +247,9 @@ const SingularityService = () => {
           .then((container) => {
             utils.logger.silly(`Starting singularity cointainer: ${serviceId}`);
             utils.logger.silly(`Returning service for ${serviceId}`);
-            const serviceFunction = ServiceFunctionGenerator({ port, compspecVersion: opts.version });
+            const serviceFunction = ServiceFunctionGenerator({
+              port, compspecVersion: opts.version,
+            });
             return { service: serviceFunction, container };
           });
       };
diff --git a/packages/coinstac-desktop-app/app/config.js b/packages/coinstac-desktop-app/app/config.js
index b5ef33027..83c2d97ef 100644
--- a/packages/coinstac-desktop-app/app/config.js
+++ b/packages/coinstac-desktop-app/app/config.js
@@ -13,7 +13,7 @@ const fileExists = (fPath) => {
   return access(fPath).then(() => true, () => false);
 };
 
-const   coinstacHome = path.join(home(), '.coinstac');
+const coinstacHome = path.join(home(), '.coinstac');
 
 const conf = convict({
   env: {
@@ -68,7 +68,7 @@ const conf = convict({
   singularityDir: path.join(coinstacHome, 'singularityImages'),
   clientServerURL: '',
   version: app.getVersion(),
-  containerService: 'docker'
+  containerService: 'docker',
 });
 
 module.exports = function loadConfig() {
diff --git a/packages/coinstac-desktop-app/app/main/services/results-pdf-generator.js b/packages/coinstac-desktop-app/app/main/services/results-pdf-generator.js
index cf152afee..b8ec00cc9 100644
--- a/packages/coinstac-desktop-app/app/main/services/results-pdf-generator.js
+++ b/packages/coinstac-desktop-app/app/main/services/results-pdf-generator.js
@@ -6,7 +6,7 @@ const { app } = require('electron');
 
 function humanize(str) {
   let string = str;
-  if (str.indexOf('_') > -1){
+  if (str.indexOf('_') > -1) {
     const frags = str.split('_');
     for (let i = 0; i < frags.length; i += 1) {
       frags[i] = frags[i].charAt(0).toUpperCase() + frags[i].slice(1);
@@ -27,8 +27,7 @@ function generateResultsPdf(title, localItems, globalItems, resultsPath, saveDir
 
   doc.font(path.join(app.isPackaged ? process.resourcesPath : app.getAppPath(), 'resources/fonts/Roboto-Regular.ttf')); // Embed font that support UTF-8 encoding
 
-  if (localItems && localItems.length > 0){
-
+  if (localItems && localItems.length > 0) {
     doc.fontSize(24).text('Local Stats', 10, 10);
 
     doc.fontSize(20).text(`Local stats - ${humanize(firstLocalStat)}`, 10, 60);
@@ -52,11 +51,9 @@ function generateResultsPdf(title, localItems, globalItems, resultsPath, saveDir
       }
     });
     doc.addPage();
-
   }
 
-  if (globalItems && globalItems.length > 0){
-
+  if (globalItems && globalItems.length > 0) {
     doc.fontSize(24).text('Global Stats', 10, 10);
 
     doc.fontSize(20).text(`Global stats - ${humanize(firstGlobalStat)}`, 10, 60);
@@ -77,7 +74,6 @@ function generateResultsPdf(title, localItems, globalItems, resultsPath, saveDir
           valign: 'center',
         });
     });
-
   }
 
   return doc.end();
diff --git a/packages/coinstac-desktop-app/app/main/utils/boot/configure-core.js b/packages/coinstac-desktop-app/app/main/utils/boot/configure-core.js
index f20d44ea1..9ed42e59e 100644
--- a/packages/coinstac-desktop-app/app/main/utils/boot/configure-core.js
+++ b/packages/coinstac-desktop-app/app/main/utils/boot/configure-core.js
@@ -5,9 +5,8 @@ const { merge } = require('lodash');
 const parseCLIInput = require('./parse-cli-input');
 
 module.exports = function configureCore({
-  config, logger, userId, appDirectory, imageDirectory, containerService, clientServerURL, token
-}
-) {
+  config, logger, userId, appDirectory, imageDirectory, containerService, clientServerURL, token,
+}) {
   const coreConfiguration = merge(
     JSON.parse(config.toString()),
     parseCLIInput.get(),
diff --git a/packages/coinstac-desktop-app/app/main/utils/boot/upsert-coinstac-user-dir.js b/packages/coinstac-desktop-app/app/main/utils/boot/upsert-coinstac-user-dir.js
index 5c856b081..8cdd86572 100644
--- a/packages/coinstac-desktop-app/app/main/utils/boot/upsert-coinstac-user-dir.js
+++ b/packages/coinstac-desktop-app/app/main/utils/boot/upsert-coinstac-user-dir.js
@@ -11,6 +11,6 @@ const promisifiedMkdirp = pify(mkdirp);
  * @returns {Promise}
  */
 module.exports = async function upsertCoinstacUserDir(core) {
-  await promisifiedMkdirp(core.appDirectory)
-  await promisifiedMkdirp(core.imageDirectory)
+  await promisifiedMkdirp(core.appDirectory);
+  await promisifiedMkdirp(core.imageDirectory);
 };
diff --git a/packages/coinstac-desktop-app/app/render/components/common/member-avatar.jsx b/packages/coinstac-desktop-app/app/render/components/common/member-avatar.jsx
index 943eabd70..c5af46494 100644
--- a/packages/coinstac-desktop-app/app/render/components/common/member-avatar.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/common/member-avatar.jsx
@@ -48,7 +48,10 @@ function MemberAvatar({
 }) {
   const { data } = useQuery(FETCH_USER_QUERY, {
     variables: { userId: id },
-    onError: (error) => { console.error({ error }); },
+    onError: (error) => {
+      /* eslint-disable-next-line no-console */
+      console.error({ error });
+    },
   });
 
   const user = get(data, 'fetchUser');
diff --git a/packages/coinstac-desktop-app/app/render/components/dashboard/dashboard.jsx b/packages/coinstac-desktop-app/app/render/components/dashboard/dashboard.jsx
index 9d4fee830..2fda798c0 100644
--- a/packages/coinstac-desktop-app/app/render/components/dashboard/dashboard.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/dashboard/dashboard.jsx
@@ -1,3 +1,4 @@
+/* eslint-disable no-console */
 import React, {
   useEffect, useMemo, useState,
 } from 'react';
diff --git a/packages/coinstac-desktop-app/app/render/components/dashboard/listeners/remote-runs-listener.jsx b/packages/coinstac-desktop-app/app/render/components/dashboard/listeners/remote-runs-listener.jsx
index 8c6cdae3e..2aa60531d 100644
--- a/packages/coinstac-desktop-app/app/render/components/dashboard/listeners/remote-runs-listener.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/dashboard/listeners/remote-runs-listener.jsx
@@ -31,7 +31,10 @@ function RemoteRunsListener({
   const { data } = useQuery(FETCH_ALL_USER_RUNS_QUERY, {
     variables: { userId },
     skip: ranFirstQuery.current,
-    onError: (error) => { console.error({ error }); },
+    onError: (error) => {
+      /* eslint-disable-next-line no-console */
+      console.error({ error });
+    },
   });
   const { data: subscriptionData } = useSubscription(USER_RUN_CHANGED_SUBSCRIPTION, {
     variables: { userId },
diff --git a/packages/coinstac-desktop-app/app/render/components/data-discovery/index.jsx b/packages/coinstac-desktop-app/app/render/components/data-discovery/index.jsx
index 32ec66852..5b96fac1e 100644
--- a/packages/coinstac-desktop-app/app/render/components/data-discovery/index.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/data-discovery/index.jsx
@@ -39,7 +39,10 @@ function DataDiscovery() {
   const [datasetToDelete, setDatasetToDelete] = useState(null);
 
   const { data: subjectGroupsData } = useQuery(FETCH_ALL_DATASETS_SUBJECT_GROUPS_QUERY, {
-    onError: (error) => { console.error({ error }); },
+    onError: (error) => {
+      /* eslint-disable-next-line no-console */
+      console.error({ error });
+    },
   });
   const [searchDatasets, { data, loading }] = useLazyQuery(SEARCH_DATASETS_QUERY, { fetchPolicy: 'cache-and-network' });
   const [deleteRemoteDataset] = useMutation(DELETE_DATASET_MUTATION);
diff --git a/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/computation-whitelist-edit/index.jsx b/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/computation-whitelist-edit/index.jsx
index 77da6e1f6..dd09fdb6e 100644
--- a/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/computation-whitelist-edit/index.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/computation-whitelist-edit/index.jsx
@@ -25,7 +25,10 @@ function ComputationWhitelistEdit({
   const classes = useStyles();
 
   const { data: computationsData } = useQuery(FETCH_ALL_COMPUTATIONS_QUERY, {
-    onError: (error) => { console.error({ error }); },
+    onError: (error) => {
+      /* eslint-disable-next-line no-console */
+      console.error({ error });
+    },
   });
 
   const computations = get(computationsData, 'fetchAllComputations');
diff --git a/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/general-data-tab.jsx b/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/general-data-tab.jsx
index 4650c0432..329270b47 100644
--- a/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/general-data-tab.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/headless/headless-edit/general-data-tab/general-data-tab.jsx
@@ -38,7 +38,12 @@ function GeneralDataTab({ headlessClientData, onHeadlessClientUpdate }) {
   }
 
   const { data: usersData } = useQuery(FETCH_ALL_USERS_QUERY,
-    { onError: (error) => { console.error({ error }); } });
+    {
+      onError: (error) => {
+        /* eslint-disable-next-line no-console */
+        console.error({ error });
+      },
+    });
   const [createHeadlessClient, { data: createData, loading: creating }] = useMutation(
     CREATE_HEADLESS_CLIENT_MUTATION,
     {
diff --git a/packages/coinstac-desktop-app/app/render/components/headless/headless-list/index.jsx b/packages/coinstac-desktop-app/app/render/components/headless/headless-list/index.jsx
index e53d1a7c1..2d383f96a 100644
--- a/packages/coinstac-desktop-app/app/render/components/headless/headless-list/index.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/headless/headless-list/index.jsx
@@ -23,7 +23,10 @@ function HeadlessList({ auth }) {
 
   const { data, subscribeToMore } = useQuery(FETCH_ACCESSIBLE_HEADLESS_CLIENTS, {
     fetchPolicy: 'cache-and-network',
-    onError: (error) => { console.error({ error }); },
+    onError: (error) => {
+      /* eslint-disable-next-line no-console */
+      console.error({ error });
+    },
   });
   const [submitDelete] = useMutation(DELETE_HEADLESS_CLIENT_MUTATION);
 
diff --git a/packages/coinstac-desktop-app/app/render/components/issues/index.jsx b/packages/coinstac-desktop-app/app/render/components/issues/index.jsx
index 24725a855..1c6afce75 100644
--- a/packages/coinstac-desktop-app/app/render/components/issues/index.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/issues/index.jsx
@@ -30,10 +30,10 @@ import MarkdownValidator from './markdown-validator';
 
 const {
   CLOUDINARY_UPLOAD_PRESET,
-  CLOUDINARY_API_KEY,
-  CLOUDINARY_API_SECRET,
+  // CLOUDINARY_API_KEY,
+  // CLOUDINARY_API_SECRET,
   CLOUDINARY_UPLOAD_URL,
-  CLOUDINARY_DELETE_URL,
+  // CLOUDINARY_DELETE_URL,
 } = process.env;
 
 const styles = theme => ({
@@ -249,18 +249,21 @@ class Issue extends Component {
       });
   }
 
+  /* eslint-disable-next-line */
   removeImage = async (imageId) => {
     // const date = new Date();
     // const timestamp = date.getTime();
     // const hash = crypto.createHash('sha1');
-    // const sign = hash.update(`public_id=${imageId}&timestamp=${timestamp}${CLOUDINARY_API_SECRET}`).digest('hex');
-    //
+    // const sign = hash
+    //   .update(`public_id=${imageId}&timestamp=${timestamp}${CLOUDINARY_API_SECRET}`)
+    //   .digest('hex');
+
     // const fd = new FormData();
     // fd.append('public_id', imageId);
     // fd.append('api_key', CLOUDINARY_API_KEY);
     // fd.append('timestamp', timestamp);
     // fd.append('signature', sign);
-    //
+
     // axios.post(CLOUDINARY_DELETE_URL, fd)
     //   .then(() => {
     //     const { screenshots } = this.state;
diff --git a/packages/coinstac-desktop-app/app/render/components/maps/fields/maps-excluded-subjects.jsx b/packages/coinstac-desktop-app/app/render/components/maps/fields/maps-excluded-subjects.jsx
index 29fa4bdcc..c96a24df1 100644
--- a/packages/coinstac-desktop-app/app/render/components/maps/fields/maps-excluded-subjects.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/maps/fields/maps-excluded-subjects.jsx
@@ -63,4 +63,4 @@ MapsExcludedSubjects.propTypes = {
   excludedSubjects: PropTypes.array,
 };
 
-export default MapsExcludedSubjects;
\ No newline at end of file
+export default MapsExcludedSubjects;
diff --git a/packages/coinstac-desktop-app/app/render/components/pipeline-states/index.jsx b/packages/coinstac-desktop-app/app/render/components/pipeline-states/index.jsx
index d6566cc63..1c6ab2678 100644
--- a/packages/coinstac-desktop-app/app/render/components/pipeline-states/index.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/pipeline-states/index.jsx
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
 import React, { useEffect } from 'react';
 import ReactJson from 'react-json-view';
 import { connect } from 'react-redux';
-import { GET_PIPELINES_QUERY, STOP_RUN_MUTATION } from '../../../state/graphql/functions';
+import { GET_PIPELINES_QUERY, STOP_RUN_MUTATION } from '../../state/graphql/functions';
 
 const styles = () => ({
   pipelineCard: {
diff --git a/packages/coinstac-desktop-app/app/render/components/pipeline-states/runs-list.jsx b/packages/coinstac-desktop-app/app/render/components/pipeline-states/runs-list.jsx
index 748bbe2f1..b1d1b2056 100644
--- a/packages/coinstac-desktop-app/app/render/components/pipeline-states/runs-list.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/pipeline-states/runs-list.jsx
@@ -1,6 +1,6 @@
 import React from 'react';
 import PropTypes from 'prop-types';
-import RunItem from '../../common/run-item';
+import RunItem from '../common/run-item';
 
 const RunsList = ({
   consortia,
@@ -28,7 +28,7 @@ const RunsList = ({
 );
 
 RunsList.defaultProps = {
-  stopPipeline: () => {},
+  stopPipeline: () => { },
 };
 
 RunsList.propTypes = {
diff --git a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row-new.jsx b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row-new.jsx
index 501ae7d8c..70a7d32e2 100644
--- a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row-new.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row-new.jsx
@@ -26,9 +26,8 @@ class PipelineStepInputFreesurferTableRow extends React.Component {
   }
 
   componentDidMount() {
-    const freeSurferOptions = this.state.fsDataOptions.freesurferROIs.map((val) => {
-      return { label: val, value: val };
-    });
+    const { fsDataOptions } = this.state;
+    const freeSurferOptions = fsDataOptions.freesurferROIs.map(val => ({ label: val, value: val }));
 
     this.setState({ freeSurferOptions });
   }
@@ -70,39 +69,16 @@ class PipelineStepInputFreesurferTableRow extends React.Component {
     }
   }
 
-  openDataMenu(event) {
-    this.dataButtonElement = event.currentTarget;
-    this.setState({ openDataMenu: true });
-  }
-
-  closeDataMenu() {
-    this.setState({ openDataMenu: false });
-  }
-
   handleFile = (e) => {
-    const { fsDataOptions } = this.state;
     const content = e.target.result;
-    var lines = content.split(/\n/);
-    lines.forEach((line, i) => {
-      lines[i] = line.split(/\s/);
-    });
+    const lines = content.split(/\n/).map(line => line.split(/\s/));
     lines.shift();
-    var rois = [];
-    lines.forEach((line, i) => {
-      rois[i] = line[0];
-    });
-
-    rois = rois.filter(n => n);
-
-    const sortAlphaNum = (a, b) => a.localeCompare(b, 'en', { numeric: true })
-
-    rois = rois.sort(sortAlphaNum);
 
-    const fsOptions = [];
+    const sortAlphaNum = (a, b) => a.localeCompare(b, 'en', { numeric: true });
 
-    fsOptions['freesurferROIs'] = rois;
+    const rois = lines.map(line => line[0]).filter(n => n).sort(sortAlphaNum);
 
-    this.setState({ fsDataOptions: fsOptions });
+    this.setState({ fsDataOptions: { freesurferROIs: rois } });
 
     rois.unshift('All Interests');
 
@@ -112,9 +88,9 @@ class PipelineStepInputFreesurferTableRow extends React.Component {
 
     this.setState({ freeSurferOptions });
   }
-  
+
   handleFileChange = (file) => {
-    let fileData = new FileReader();
+    const fileData = new FileReader();
     fileData.onloadend = this.handleFile;
     fileData.readAsText(file);
     this.setState({ file });
@@ -129,73 +105,84 @@ class PipelineStepInputFreesurferTableRow extends React.Component {
     this.setState({ file: '' });
   }
 
+  closeDataMenu() {
+    this.setState({ openDataMenu: false });
+  }
+
+  openDataMenu(event) {
+    this.dataButtonElement = event.currentTarget;
+    this.setState({ openDataMenu: true });
+  }
+
   render() {
     const {
       obj, index, objKey, objParams, owner, possibleInputs, step, updateStep,
     } = this.props;
 
-    const { openDataMenu, fsDataOptions, freeSurferOptions, inputKey, file } = this.state;
+    const {
+      openDataMenu, freeSurferOptions, inputKey, file,
+    } = this.state;
 
     return (
       <TableRow>
-          <TableCell>
-            <Button
-              id={`${objKey}-${index}-data-dropdown`}
-              variant="contained"
-              color="secondary"
-              disabled={!owner}
-              onClick={this.openDataMenu}
-            >
-              {
-                obj.type
-                || (
-                  obj.fromCache && possibleInputs.length
-                    ? possibleInputs[obj.fromCache.step].inputs[obj.fromCache.variable].type
-                    : false
-                )
-                || 'Data Type'
-              }
-            </Button>
-            <Menu
-              anchorEl={this.dataButtonElement}
-              open={openDataMenu}
-              onClose={this.closeDataMenu}
-              id={`${objKey}-${index}-data-dropdown-menu`}
-            >
-              {
-                objParams.items.map(item => (
-                  <MenuItem
-                    key={`${item}-menuitem`}
-                    onClick={this.selectData(item, index)}
-                  >
-                    {item}
-                  </MenuItem>
-                ))
-              }
-            </Menu>
-          </TableCell>
-        {obj && obj.type === 'FreeSurfer' &&
-          <TableCell style={{width: '50%'}}>
-            <div style={{
-                padding: '0.5rem', 
-                marginBottom: '1rem', 
+        <TableCell>
+          <Button
+            id={`${objKey}-${index}-data-dropdown`}
+            variant="contained"
+            color="secondary"
+            disabled={!owner}
+            onClick={this.openDataMenu}
+          >
+            {
+              obj.type
+              || (
+                obj.fromCache && possibleInputs.length
+                  ? possibleInputs[obj.fromCache.step].inputs[obj.fromCache.variable].type
+                  : false
+              )
+              || 'Data Type'
+            }
+          </Button>
+          <Menu
+            anchorEl={this.dataButtonElement}
+            open={openDataMenu}
+            onClose={this.closeDataMenu}
+            id={`${objKey}-${index}-data-dropdown-menu`}
+          >
+            {
+              objParams.items.map(item => (
+                <MenuItem
+                  key={`${item}-menuitem`}
+                  onClick={this.selectData(item, index)}
+                >
+                  {item}
+                </MenuItem>
+              ))
+            }
+          </Menu>
+        </TableCell>
+        {obj && obj.type === 'FreeSurfer' && (
+          <TableCell style={{ width: '50%' }}>
+            <div
+              style={{
+                padding: '0.5rem',
+                marginBottom: '1rem',
                 border: '3px dashed #efefef',
                 borderRadius: '0.5rem',
-              }}>
-              <div style={{marginBottom: '0.5rem'}}>
-                <b>(Optional)</b> Choose Local ASEG file to get specific ROIs
+              }}
+            >
+              <div style={{ marginBottom: '0.5rem' }}>
+                <b>(Optional)</b>
+                {' '}
+                Choose Local ASEG file to get specific ROIs
               </div>
-              <input 
-                type="file" 
-                onChange={e => 
-                  this.handleFileChange(e.target.files[0])}
+              <input
+                type="file"
+                onChange={e => this.handleFileChange(e.target.files[0])}
                 key={inputKey}
               />
-              {file &&
-              <a
-                onClick={e => 
-                  this.handleFileReset()}
-              >[x]</a>}
+              {/* eslint-disable-next-line */}
+              {file && <a onClick={e => this.handleFileReset()}>[x]</a>}
             </div>
             <div id={`data-${index}-area`}>
               <Select
@@ -207,31 +194,32 @@ class PipelineStepInputFreesurferTableRow extends React.Component {
                 options={freeSurferOptions}
                 isMulti
                 onChange={value => this.selectInterest(value, index)}
-                style={{width: '100%'}}
+                style={{ width: '100%' }}
               />
             </div>
-          </TableCell>}
-          <TableCell>
-            <Button
-              variant="contained"
-              color="secondary"
-              disabled={!owner || !obj.type}
-              onClick={() => updateStep({
-                ...step,
-                inputMap: {
-                  ...step.inputMap,
-                  [objKey]: {
-                    value: update(step.inputMap[objKey].value, {
-                      $splice: [[index, 1]],
-                    }),
-                  },
-                },
-              })}
-            >
-              Remove
-            </Button>
           </TableCell>
-        </TableRow>
+        )}
+        <TableCell>
+          <Button
+            variant="contained"
+            color="secondary"
+            disabled={!owner || !obj.type}
+            onClick={() => updateStep({
+              ...step,
+              inputMap: {
+                ...step.inputMap,
+                [objKey]: {
+                  value: update(step.inputMap[objKey].value, {
+                    $splice: [[index, 1]],
+                  }),
+                },
+              },
+            })}
+          >
+            Remove
+          </Button>
+        </TableCell>
+      </TableRow>
     );
   }
 }
diff --git a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row.jsx b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row.jsx
index 1746be5ca..d89d6b2f8 100644
--- a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer-table-row.jsx
@@ -26,11 +26,43 @@ const PipelineStepInputFreesurferTableRow = ({
 }) => {
   const [anchorEl, setAnchorEl] = useState(null);
   const [freeSurferOptions, setFreeSurferOptions] = useState([]);
-  const [freeSurferDataOptions, setFreeSurferDataOptions] = useState(freesurferDataOptions.freesurferROIs);
+  const [freeSurferDataOptions, setFreeSurferDataOptions] = useState(
+    freesurferDataOptions.freesurferROIs
+  );
   const [file, setFile] = useState(null);
   const [inputKey, setInputKey] = useState(Date.now());
 
-  console.log(freeSurferOptions);
+  const getROIs = (headlessMembers) => {
+    const vaultNames = values(headlessMembers);
+
+    const allROIs = ['All Interests', ...freeSurferDataOptions];
+
+    if (vaultNames.length === 0) {
+      return uniq(allROIs);
+    }
+
+    let ROIs = [];
+
+    vaultNames.forEach((vaultName) => {
+      if (vaultName === 'TReNDS COBRE FreeSurfer Vault'
+        || (vaultName.startsWith('gen-ec2-') && vaultName.endsWith('TReNDS COBRE FreeSurfer Vault'))
+      ) {
+        ROIs = [...ROIs, ...freesurferDataOptions.TReNDSCOBREFreeSurferVaultROIs];
+      }
+
+      if (vaultName === 'CMI FreeSurfer Healthy Brain Network Vault'
+        || (vaultName.startsWith('gen-ec2-') && vaultName.endsWith('CMI FreeSurfer Healthy Brain Network Vault'))
+      ) {
+        ROIs = [...ROIs, ...freesurferDataOptions.CMIFreeSurferHealthyBrainNetworkVaultROIs];
+      }
+    });
+
+    if (ROIs.length === 0) {
+      return allROIs;
+    }
+
+    return uniq(['All Interests', ...ROIs]);
+  };
 
   useEffect(() => {
     const newFreeSurferOptions = getROIs(headlessMembers)
@@ -58,37 +90,6 @@ const PipelineStepInputFreesurferTableRow = ({
     setAnchorEl(null);
   };
 
-  const getROIs = (headlessMembers) => {
-    const vaultNames = values(headlessMembers);
-
-    const allROIs = ['All Interests', ...freeSurferDataOptions];
-  
-    if (vaultNames.length === 0) {
-      return uniq(allROIs);
-    }
-  
-    let ROIs = [];
-  
-    vaultNames.forEach((vaultName) => {
-      if (vaultName === 'TReNDS COBRE FreeSurfer Vault'
-        || (vaultName.startsWith('gen-ec2-') && vaultName.endsWith('TReNDS COBRE FreeSurfer Vault'))
-      ) {
-        ROIs = [...ROIs, ...freesurferDataOptions.TReNDSCOBREFreeSurferVaultROIs];
-      }
-  
-      if (vaultName === 'CMI FreeSurfer Healthy Brain Network Vault'
-        || (vaultName.startsWith('gen-ec2-') && vaultName.endsWith('CMI FreeSurfer Healthy Brain Network Vault'))
-      ) {
-        ROIs = [...ROIs, ...freesurferDataOptions.CMIFreeSurferHealthyBrainNetworkVaultROIs];
-      }
-    });
-  
-    if (ROIs.length === 0) {
-      return allROIs;
-    }
-  
-    return uniq(['All Interests', ...ROIs]);
-  };
 
   const selectInterest = (value, index) => {
     let v = [];
@@ -111,52 +112,36 @@ const PipelineStepInputFreesurferTableRow = ({
 
   const handleFile = (e) => {
     const content = e.target.result;
-    var lines = content.split(/\n/);
-    lines.forEach((line, i) => {
-      lines[i] = line.split(/\s/);
-    });
-    lines.shift();
-    var rois = [];
-    lines.forEach((line, i) => {
-      rois[i] = line[0];
-    });
+    const lines = content.split(/\n/).map(line => line.split(/\s/));
 
-    rois = rois.filter(n => n);
+    const sortAlphaNum = (a, b) => a.localeCompare(b, 'en', { numeric: true });
 
-    const sortAlphaNum = (a, b) => a.localeCompare(b, 'en', { numeric: true })
-
-    rois = rois.sort(sortAlphaNum);
+    const rois = lines.map(line => line[0]).filter(n => n).sort(sortAlphaNum);
 
     setFreeSurferDataOptions(rois);
 
     rois.unshift('All Interests');
 
-    let fsOptions = rois.map(val => ({ label: val, value: val }));
-
-    let options = [];
+    const fsOptions = rois.map(val => ({ label: val, value: val }));
 
-    options.push(fsOptions);
-
-    setFreeSurferOptions(...options);
+    setFreeSurferOptions(fsOptions);
+  };
 
-  }
-  
   const handleFileChange = (file) => {
-    let fileData = new FileReader();
+    const fileData = new FileReader();
     fileData.onloadend = handleFile;
     fileData.readAsText(file);
     setFile(file);
-  }
+  };
 
   const handleFileReset = () => {
-    let date = Date.now();
-    setInputKey({ date });
+    setInputKey({ date: Date.now() });
     const freeSurferOptions = freesurferDataOptions.freesurferROIs.map((val) => {
       return { label: val, value: val };
     });
     setFreeSurferOptions(freeSurferOptions);
     setFile(null);
-  }
+  };
 
   return (
     <TableRow>
@@ -197,27 +182,27 @@ const PipelineStepInputFreesurferTableRow = ({
         </Menu>
       </TableCell>
       {obj && obj.type === 'FreeSurfer' ? (
-        <TableCell style={{width: '50%'}}>
-            <div style={{
-              padding: '0.5rem', 
-              marginBottom: '1rem', 
+        <TableCell style={{ width: '50%' }}>
+          <div
+            style={{
+              padding: '0.5rem',
+              marginBottom: '1rem',
               border: '3px dashed #efefef',
               borderRadius: '0.5rem',
-            }}>
-            <div style={{marginBottom: '0.5rem'}}>
-              <b>(Optional)</b> Choose Local ASEG file to get specific ROIs
+            }}
+          >
+            <div style={{ marginBottom: '0.5rem' }}>
+              <b>(Optional)</b>
+              {' '}
+              Choose Local ASEG file to get specific ROIs
             </div>
-            <input 
-              type="file" 
-              onChange={e => 
-                handleFileChange(e.target.files[0])}
+            <input
+              type="file"
+              onChange={e => handleFileChange(e.target.files[0])}
               key={inputKey}
             />
-            {file &&
-            <a
-              onClick={e => 
-                handleFileReset()}
-            >[x]</a>}
+            {/* eslint-disable-next-line */}
+            {file && <a onClick={e => handleFileReset()}>[x]</a>}
           </div>
           <div id={`data-${index}-area`}>
             <Select
diff --git a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer.jsx b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer.jsx
index 77aab4c29..c7f974541 100644
--- a/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/pipelines/pipeline-step-input/pipeline-step-input-freesurfer.jsx
@@ -44,7 +44,7 @@ function PipelineStepInputFreesurfer(props) {
             <TableHead>
               <TableRow>
                 <TableCell>Data Type</TableCell>
-                <TableCell>{objParams.items.includes('FreeSurfer') ? 'Interest': ''}</TableCell>
+                <TableCell>{objParams.items.includes('FreeSurfer') ? 'Interest' : ''}</TableCell>
                 <TableCell />
               </TableRow>
             </TableHead>
diff --git a/packages/coinstac-desktop-app/app/render/components/results/displays/result-table.jsx b/packages/coinstac-desktop-app/app/render/components/results/displays/result-table.jsx
index 17a07f933..62cbb0f20 100644
--- a/packages/coinstac-desktop-app/app/render/components/results/displays/result-table.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/results/displays/result-table.jsx
@@ -75,7 +75,7 @@ function parseTableColumnOutput(output) {
         o = parseFloat(o).toExponential(4);
       }
       cols.push(
-        <td key={`value-${o}-${ind}`} style={{border: 'none', paddingLeft: 0}}>
+        <td key={`value-${o}-${ind}`} style={{ border: 'none', paddingLeft: 0 }}>
           {`${o} `}
         </td>
       );
@@ -265,19 +265,21 @@ class TableResult extends Component {
             <TableBody>
               {
                 !Array.isArray(data) && keyValPairs.map((pair) => {
-                  if (data.covariate_labels && typeof pair[1] !== 'object' && pair[0] !== 'covariate_labels' ||
-                     !data.covariate_labels && pair[0] !== 'covariate_labels') {
+                  if ((data.covariate_labels && typeof pair[1] !== 'object' && pair[0] !== 'covariate_labels')
+                    || (!data.covariate_labels && pair[0] !== 'covariate_labels')) {
                     return (
-                        <TableRow key={`${pair[0]}-numbers-row`}>
-                          <TableCell className="bold" key={`${pair[0]}-numbers-column`}>
-                            {outputProps.items[pair[0]] ? outputProps.items[pair[0]].label : pair[0]}
-                          </TableCell>
-                          <TableCell key={`${pair[0]}-numbers-column-output`}>
-                            {parseTableColumnOutput(pair[1])}
-                          </TableCell>
-                        </TableRow>
-                    )
+                      <TableRow key={`${pair[0]}-numbers-row`}>
+                        <TableCell className="bold" key={`${pair[0]}-numbers-column`}>
+                          {outputProps.items[pair[0]] ? outputProps.items[pair[0]].label : pair[0]}
+                        </TableCell>
+                        <TableCell key={`${pair[0]}-numbers-column-output`}>
+                          {parseTableColumnOutput(pair[1])}
+                        </TableCell>
+                      </TableRow>
+                    );
                   }
+
+                  return null;
                 })
               }
             </TableBody>
diff --git a/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartDecentralizedRun.jsx b/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartDecentralizedRun.jsx
index 3aaedfa4d..e4e105ce0 100644
--- a/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartDecentralizedRun.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartDecentralizedRun.jsx
@@ -18,7 +18,12 @@ function useStartDecentralizedRun() {
   const auth = useSelector(state => state.auth);
 
   const { data } = useQuery(FETCH_ALL_CONSORTIA_QUERY,
-    { onError: (error) => { console.error({ error }); } });
+    {
+      onError: (error) => {
+        /* eslint-disable-next-line no-console */
+        console.error({ error });
+      },
+    });
   const { data: runSubData } = useSubscription(RUN_STARTED_SUBSCRIPTION, {
     variables: {
       userId: auth.user.id,
diff --git a/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartInitialRuns.jsx b/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartInitialRuns.jsx
index 85e992037..185b46d37 100644
--- a/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartInitialRuns.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/runs/effects/useStartInitialRuns.jsx
@@ -1,3 +1,4 @@
+/* eslint-disable no-console */
 import { useRef, useEffect } from 'react';
 import { useLazyQuery, useQuery } from '@apollo/client';
 import { get } from 'lodash';
diff --git a/packages/coinstac-desktop-app/app/render/components/user/user-edit-controller.jsx b/packages/coinstac-desktop-app/app/render/components/user/user-edit-controller.jsx
index 8f13ad198..452fadc0d 100644
--- a/packages/coinstac-desktop-app/app/render/components/user/user-edit-controller.jsx
+++ b/packages/coinstac-desktop-app/app/render/components/user/user-edit-controller.jsx
@@ -8,10 +8,10 @@ import UserEdit from './user-edit';
 
 const {
   CLOUDINARY_UPLOAD_PRESET,
-  CLOUDINARY_API_KEY,
-  CLOUDINARY_API_SECRET,
+  // CLOUDINARY_API_KEY,
+  // CLOUDINARY_API_SECRET,
   CLOUDINARY_UPLOAD_URL,
-  CLOUDINARY_DELETE_URL,
+  // CLOUDINARY_DELETE_URL,
 } = process.env;
 
 class UserAccountController extends Component {
@@ -107,18 +107,21 @@ class UserAccountController extends Component {
   }
 
   // *********** Delete Cloudinary Image File ******************** //
+  /* eslint-disable-next-line */
   async destroyImage(file) {
     // const date = new Date();
     // const timestamp = date.getTime();
     // const hash = crypto.createHash('sha1');
-    // const sign = hash.update(`public_id=${file}&timestamp=${timestamp}${CLOUDINARY_API_SECRET}`).digest('hex');
-    //
+    // const sign = hash
+    //   .update(`public_id=${file}&timestamp=${timestamp}${CLOUDINARY_API_SECRET}`)
+    //   .digest('hex');
+
     // const fd = new FormData();
     // fd.append('public_id', file);
     // fd.append('api_key', CLOUDINARY_API_KEY);
     // fd.append('timestamp', timestamp);
     // fd.append('signature', sign);
-    //
+
     // try {
     //   await axios.post(
     //     CLOUDINARY_DELETE_URL,
diff --git a/packages/coinstac-desktop-app/app/render/state/ducks/maps.js b/packages/coinstac-desktop-app/app/render/state/ducks/maps.js
index 056b40157..0809545a0 100644
--- a/packages/coinstac-desktop-app/app/render/state/ducks/maps.js
+++ b/packages/coinstac-desktop-app/app/render/state/ducks/maps.js
@@ -138,11 +138,7 @@ export const saveDataMapping = applyAsyncLoading(
             // Recursively get and store all the files
             const files = [];
             files.push(...getAllFiles(mappedData.directory, null, 'all'));
-            const newfilesArray = files.filter((value) => {
-              if (!value.includes('.DS_Store')) {
-                return value;
-              }
-            });
+            const newfilesArray = files.filter(value => !value.includes('.DS_Store'));
             filesArray.push(...newfilesArray);
             inputMap[inputMapKey].value = mappedData.directory;
           } else if (mappedData.fieldType === 'boolean' || mappedData.fieldType === 'number'
diff --git a/packages/coinstac-vault-client/src/subscription.js b/packages/coinstac-vault-client/src/subscription.js
index c9982bb3b..d4f7b3e7f 100644
--- a/packages/coinstac-vault-client/src/subscription.js
+++ b/packages/coinstac-vault-client/src/subscription.js
@@ -1,3 +1,4 @@
+/* eslint-disable no-console */
 const { gql } = require('@apollo/client/core');
 const { queries } = require('coinstac-graphql-schema');
 const get = require('lodash/get');
@@ -82,7 +83,9 @@ async function startPipelineRun(
   }
 
   const { filesArray, steps } = mapData(run.pipelineSnapshot, headlessClientConfig);
-  if (process.env.COINSTAC_DEBUG) console.log(JSON.stringify(steps, null, 2), JSON.stringify(filesArray, null, 2));
+  if (process.env.COINSTAC_DEBUG) {
+    console.log(JSON.stringify(steps, null, 2), JSON.stringify(filesArray, null, 2));
+  }
   const pipelineRun = {
     ...run,
     pipelineSnapshot: {


Test patch:
diff --git a/packages/coinstac-api-server/tests/resolvers.test.js b/packages/coinstac-api-server/tests/resolvers.test.js
index ad423f87a..3871a29e9 100644
--- a/packages/coinstac-api-server/tests/resolvers.test.js
+++ b/packages/coinstac-api-server/tests/resolvers.test.js
@@ -1,4 +1,5 @@
 /* eslint-disable global-require */
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const sinon = require('sinon');
 const axios = require('axios');
@@ -118,18 +119,18 @@ test('createPasswordResetToken, savePasswordResetToken, validateResetToken and r
 
   // should return error if cannot find user with token
   const invalidTokenReq = { payload: { token: 'token' } };
-  let error = await helperFunctions.validateResetToken(invalidTokenReq, { response: () => {} });
+  let error = await helperFunctions.validateResetToken(invalidTokenReq, { response: () => { } });
   t.is(error.message, INVALID_TOKEN);
 
   // should return error if token cannot be verified
   sinon.stub(jwt, 'verify').throws(new Error('error'));
-  error = await helperFunctions.validateResetToken(req, { response: () => {} });
+  error = await helperFunctions.validateResetToken(req, { response: () => { } });
   t.is(error.message, 'error');
   jwt.verify.restore();
 
   // should return error due to invalid email
   sinon.stub(jwt, 'verify').resolves({ email: 'email@mrn.org' });
-  error = await helperFunctions.validateResetToken(req, { response: () => {} });
+  error = await helperFunctions.validateResetToken(req, { response: () => { } });
   t.is(error.message, INVALID_EMAIL);
   jwt.verify.restore();
 
@@ -232,12 +233,12 @@ test('validateToken and validateUser', async (t) => {
 
   // should return error due to invalid username
   const req2 = { payload: { username: 'invalid-user', password: 'password' } };
-  let error = await helperFunctions.validateUser(req2, { response: () => {} });
+  let error = await helperFunctions.validateUser(req2, { response: () => { } });
   t.is(error.message, INCORRECT_CREDENTIAL);
 
   // should return error due to invalid password
   const req3 = { payload: { username: 'test1', password: 'password1' } };
-  error = await helperFunctions.validateUser(req3, { response: () => {} });
+  error = await helperFunctions.validateUser(req3, { response: () => { } });
   t.is(error.message, INCORRECT_CREDENTIAL);
 });
 
@@ -291,7 +292,7 @@ test('validateEmail', async (t) => {
 
   // should return error if provided email is not valid
   req.payload.email = 'email@mrn.org';
-  const error = await helperFunctions.validateEmail(req, { response: () => {} });
+  const error = await helperFunctions.validateEmail(req, { response: () => { } });
   t.is(error.message, INVALID_EMAIL);
 });
 
@@ -304,12 +305,12 @@ test('validateUniqueUsername', async (t) => {
 test('validateUniqueUser', async (t) => {
   // should return error if username is already taken
   let req = { payload: { username: 'test1', email: 'test@mrn.org' } };
-  let error = await helperFunctions.validateUniqueUser(req, { response: () => {} });
+  let error = await helperFunctions.validateUniqueUser(req, { response: () => { } });
   t.is(error.message, USERNAME_TAKEN);
 
   // should return error if email is already taken
   req = { payload: { username: 'newuser', email: 'test@mrn.org' } };
-  error = await helperFunctions.validateUniqueUser(req, { response: () => {} });
+  error = await helperFunctions.validateUniqueUser(req, { response: () => { } });
   t.is(error.message, EMAIL_TAKEN);
 
   // should return true if provided username and email are unique
@@ -501,7 +502,7 @@ test('searchDatasets and deleteDataset', async (t) => {
 });
 
 test('fetchDataset', async (t) => {
-  const datasets = await Query.searchDatasets('', { });
+  const datasets = await Query.searchDatasets('', {});
   const datasetId = datasets[0].id;
   const dataset = await Query.fetchDataset('', { id: datasetId });
   t.is(dataset.id, datasetId);
@@ -748,7 +749,7 @@ test('saveActivePipeline', async (t) => {
 test('saveConsortium', async (t) => {
   /* saveConsortium */
   let auth = {
-    credentials: { id: USER_IDS[0], username: 'test1', permissions: { } },
+    credentials: { id: USER_IDS[0], username: 'test1', permissions: {} },
   };
 
   const consortium1 = {
diff --git a/packages/coinstac-api-server/tests/routes.test.js b/packages/coinstac-api-server/tests/routes.test.js
index ba13eb2ef..dcf09afc8 100644
--- a/packages/coinstac-api-server/tests/routes.test.js
+++ b/packages/coinstac-api-server/tests/routes.test.js
@@ -1,3 +1,4 @@
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const sinon = require('sinon');
 const find = require('lodash/find');
@@ -8,7 +9,7 @@ const helperFunctions = require('../src/auth-helpers');
 
 const { USER_IDS } = require('../seed/populate');
 
-const resMock = { code: () => {} };
+const resMock = { code: () => { } };
 
 test('routes', (t) => {
   t.is(routes.length, authRoutes.length + versionRoutes.length);
diff --git a/packages/coinstac-api-server/tests/user-online-status-tracker.test.js b/packages/coinstac-api-server/tests/user-online-status-tracker.test.js
index a6ea2435f..f062d27be 100644
--- a/packages/coinstac-api-server/tests/user-online-status-tracker.test.js
+++ b/packages/coinstac-api-server/tests/user-online-status-tracker.test.js
@@ -1,3 +1,4 @@
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const { getOnlineUsers } = require('../src/data/user-online-status-tracker');
 const { eventEmitter, WS_CONNECTION_STARTED, WS_CONNECTION_TERMINATED } = require('../src/data/events');
diff --git a/packages/coinstac-api-server/tests/utils.test.js b/packages/coinstac-api-server/tests/utils.test.js
index 2144209b8..3afe4f8af 100644
--- a/packages/coinstac-api-server/tests/utils.test.js
+++ b/packages/coinstac-api-server/tests/utils.test.js
@@ -1,3 +1,4 @@
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const { transformToClient } = require('../src/utils');
 
diff --git a/packages/coinstac-client-core/test/index.test.js b/packages/coinstac-client-core/test/index.test.js
index 55f519195..f71892e8d 100644
--- a/packages/coinstac-client-core/test/index.test.js
+++ b/packages/coinstac-client-core/test/index.test.js
@@ -1,5 +1,6 @@
 'use strict';
 
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const sinon = require('sinon');
 const csvParse = require('csv-parse');
diff --git a/packages/coinstac-container-manager/test/index.test.js b/packages/coinstac-container-manager/test/index.test.js
index ebe45689f..5800c44f8 100644
--- a/packages/coinstac-container-manager/test/index.test.js
+++ b/packages/coinstac-container-manager/test/index.test.js
@@ -1,3 +1,4 @@
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const sinon = require('sinon');
 const portscanner = require('portscanner');
diff --git a/packages/coinstac-pipeline/test/index.test.js b/packages/coinstac-pipeline/test/index.test.js
index 60c543cdb..48fcdff42 100644
--- a/packages/coinstac-pipeline/test/index.test.js
+++ b/packages/coinstac-pipeline/test/index.test.js
@@ -2,6 +2,8 @@
 
 require('trace');
 require('clarify');
+
+/* eslint-disable-next-line import/no-unresolved */
 const test = require('ava');
 const path = require('path');
 const { existsSync } = require('fs');