This adds a basic .eslintrc.js via next-front-page — all I've done is remove the bits with regards to React.
I've also run --fix on all the JS in the repo so it complies. Biggest changes:
Convert var to const or let
Spacing
Merging this probably isn't necessary for my next PR to proceed, which adds tests for Express (See #29). I'll want to get that merged in before submitting my later PR for Koa support, as doing so ensures I don't break anything in the meantime.
This adds a basic
.eslintrc.js
via next-front-page — all I've done is remove the bits with regards to React.I've also run
--fix
on all the JS in the repo so it complies. Biggest changes:var
toconst
orlet
Merging this probably isn't necessary for my next PR to proceed, which adds tests for Express (See #29). I'll want to get that merged in before submitting my later PR for Koa support, as doing so ensures I don't break anything in the meantime.