Adding `npm run lint`
Fixing lint errors.
Running `npm run lint` as part of tests.