Adding `npm run lint`.
Stylistic cleanups.
Running the linter as part of tests.