Fix and enforce eslint rules

Also fix an issue in _target-counters.js_ where `psuedo` was misspelled and undefined in the `else` clause.
1 job for eslint-fix in 4 minutes and 43 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
failed #498
npm-test

00:04:43

 
Name Stage Failure
failed
npm-test Build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pagedjs@0.1.36 specs script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2020-02-14T22_50_00_393Z-debug.log
npm ERR! Test failed. See above for more details.
ERROR: Job failed: exit status 1