// eslint-disable-next-line new-cap
const router = require('express').Router();
const validateLocation = require('../app/middleware/locationValidator');
const getPharmacies = require('../app/middleware/getPharmacies');
const coordinateResolver = require('../app/middleware/coordinateResolver');
const renderer = require('../app/middleware/renderer');
const prerender = require('../app/middleware/prerender');
const setLocals = require('../app/middleware/setLocals');
const logZeroResults = require('../app/middleware/logZeroResults');

router.get(
  '/',
  (req, res) => {
    res.redirect('find-help');
  }
);

router.get(
  '/results',
  setLocals.fromRequest,
  validateLocation,
  coordinateResolver,
  getPharmacies,
  logZeroResults,
  prerender.results,
  renderer.results
);

router.get(
  '/find-help',
  setLocals.fromRequest,
  renderer.findHelp
);

module.exports = router;

@@ -1,40 +1,4 @@
-// eslint-disable-next-line new-cap%0A
 cons

Remove unnecessary eslint ignore