Page MenuHomePhabricator

Configure 'grunt fix' task for eslint on Wikibase.git
Closed, ResolvedPublic3 Estimated Story Points

Description

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

Event Timeline

Addshore renamed this task from Configure 'grunt fix' task for eslint on Wikibase to Configure 'grunt fix' task for eslint on Wikibase.git.Jul 18 2019, 3:35 PM
Addshore triaged this task as Low priority.
Addshore moved this task from Incoming to Ready to estimate on the Wikidata-Campsite board.

Change 527534 had a related patch set uploaded (by Rosalie Perside (WMDE); owner: Rosalie Perside (WMDE)):
[mediawiki/extensions/Wikibase@master] Configure 'grunt fix' task for eslint on Wikibase.git

https://gerrit.wikimedia.org/r/527534

Change 527534 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Configure 'grunt fix' task for eslint on Wikibase.git

https://gerrit.wikimedia.org/r/527534