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-htmllint
package 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
- Tracker in production
- Test version of Tracker – you can play with Tracker here
- Codebase
- If you want to try to work with Gerrit before working on this, you can claim this task before.
- How to setup local development environment
- Regular expressions tutorial
- Online tool for testing regular expressions
Task tags
Students who completed this task
arcaynia