<div dir="ltr">Hey all,<br><div class="gmail_extra"><div><br></div><div>Zeljko, Antoine, and I have been working on a first draft of the Ruby coding conventions for MW-related projects, and dialing in the RuboCop checker accordingly.[1] I encourage anyone who has a bit of Ruby knowledge and/or an opinion on style to contribute to the conversion.[2]</div><div><br></div><div>As the article suggests, there are a handful of contentious rules in the bbatsov style guide from which the conventions are based. This first draft attempts to resolve those conflicts—mainly by ignoring the rules—and is intended to be organically revised as the discussion evolves—that kinda goes without saying given it's a wiki. :)</div><div><br></div><div>Just some clarification on the RuboCop check: 1) it's non-voting for the time being to give maintainers a chance to customize the configuration according to project/team needs; and 2) it should be green to start with since the configuration was auto-generated and ignores everything it finds by default.[3]</div><div><br></div><div>Let us know if you have any more questions about the checker. Happy arguing! (I mean that in all seriousness as I enjoy discussing semantics.)</div><div><br></div><div>Cheers,</div><div>Dan</div><div><br></div><div>[1] <a href="https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby">https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby</a></div><div>[2] <a href="https://www.mediawiki.org/wiki/Manual_talk:Coding_conventions/Ruby">https://www.mediawiki.org/wiki/Manual_talk:Coding_conventions/Ruby</a></div><div>[3] <a href="https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#RuboCop">https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#RuboCop</a></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dan Duvall<div>Automation Engineer</div><div><a href="http://wikimediafoundation.org" target="_blank">Wikimedia Foundation</a><br></div></div></div>
</div></div>