- clone mediawiki/ruby/api repo[1]
- install rubocop gem[2]
- run "rubocop --auto-gen-config"
- commit .rubocop.yml and .rubocop_todo.yml files to the repo
- push the commit to gerrit (with "git review")
- create separate commit(s) that solve the problems found by rubocop
- feel free to group similar or small problems in one commit
- make sure none of the commits is too big, so reviewers do not have a hard time
- add me (zfilipin) as a reviewer to every commit that is pushed to gerrit
1: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/ruby/api
2: https://rubygems.org/gems/rubocop
3: https://github.com/bbatsov/rubocop#automatically-generated-configuration
Version: wmf-deployment
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=69245