Wikimedia
Replace use of jsonlint with eslint in a MediaWiki extension (III)
jsonlint is being phased out of Wikimedia's Continuous Integration (CI) linting) process. It is replaced with eslint, which we are using for JavaScript linting already.
Note that some code areas have not yet been updated to eslint – if you want to tackle them, there is another task which you should do first.
- Choose one Wikimedia extension from the list in https://phabricator.wikimedia.org/T220036
- Add a comment here on the GCI task which extension you have chosen
- Check out the code of the extension from Git
- You'll need to remove any references to
jsonlint, update the dependencies in the filepackage.jsonforeslintandeslint-config-wikimedia, configure it to run inGruntfile.js, and then fix any failures. - Upload your tested patch to Wikimedia Gerrit for review.
- Once your patch is merged, feel very welcome to edit https://phabricator.wikimedia.org/T220036 by crossing out that extension in the list.
Examples to base your change on
Task tags
Students who completed this task
taavi