Wikimedia

Tracker: Add an item to the grunt lint `task` to lint html

Expected skills:

- Javascript
- Package management with npm
- Grunt
- Regular expressions

Problem

Use the grunt-htmllintpackage on npm to ensure that html is formatted consistently. Attempt to configure the plugin in line with the existing style in html files. You will have to take care to ensure that the django templating in use in tracker does not trigger errors. You'll need to configure some of htmllint's -ignore-regex settings, specifying regular expressions that match django templates.

Expected outcome

You should propose a patch to Wikimedia Gerrit, see tutorial.

Student is expected to claim the task on Wikimedia Phabricator when claiming this task on the GCI site.

Materials

Task tags

  • grunt

Students who completed this task

arcaynia

Task type

  • code Code
close

2018