Add linting to project on test, fix the errors declared from linting

Merged Martin Lowe requested to merge github/fork/autumnfound/malowe/master/err-logger-fix into master

Used preset configs from strongloop as base for linting strategy. Fixed issues such as duplicate vars, unused variables, and some equation checks.

Signed-off-by: Martin Lowe martin.lowe@eclipse-foundation.org

Merge request reports