Wikimedia

Replace use of jshint and jscs with eslint in a MediaWiki extension (I)

jshint and jscs have been slowly removed from Wikimedia's Continuous Integration (CI) linting) process. They get replaced with eslint, which handles both static analysis and code style.

  • Choose one Wikimedia extension from the list in https://phabricator.wikimedia.org/T210365
  • Add a comment here on the GCI task which extension you have chosen
  • Check out the code of the extension from Git
  • Remove any references to jshint/jscs, update the dependencies in the file package.json for eslintand eslint-config-wikimedia, configure it to run in Gruntfile.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/T210365 by crossing out that extension in the list.

Examples to base your change on

Task tags

  • json
  • grunt
  • eslint
  • continuous integration

Students who completed this task

taavi, Bjornskjald, Zoran Dori, retrocraft

Task type

  • code Code
  • done_all Quality Assurance
close

2019