...and fix lint errors
+ format lint rules + fix lint error
Use eslint instead of jshint for linting. * better linting results * test files linted, too * consistent code style checks Closes #568