Motivation
As a developer working on Wikibase, I want to be able to fix javascript formatting issues in my code automatically in order to save time and unnecessary CI failures.
Suggested Solution
Using eslint's fix feature, introduce a new grunt task fix-js to run eslint --fix on javascript files.
For reference, WikibaseLexeme has a similar grunt task fix.. Check their Grunfile