<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m a bit biased here, as a maintainer of Elvis, but I can show you the current config we have for our public repos:<div class=""><ul class="MailOutline"><li class=""><a href="https://github.com/AdRoll/mero/blob/master/elvis.config" class="">This one is for </a><a href="https://github.com/AdRoll/mero/blob/master/elvis.config" class="">mero</a></li><li class=""><a href="https://github.com/AdRoll/spillway/blob/master/elvis.config" class="">This one</a> is for a much simpler library (spillway)</li></ul><div class="">Personally, my favorite rules are <a href="https://github.com/inaka/elvis_core/wiki/Rules#dry" class="">DRY</a> and <a href="https://github.com/inaka/elvis_core/wiki/Rules#god-modules" class="">god_modules</a>. That ones help me a lot with refactoring.</div><div class="">But, I’m of course also very fond of <a href="https://github.com/inaka/elvis_core/wiki/Rules#no-if-expression" class="">this one :P</a></div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><span id="docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad" class=""><span style="font-size: 11pt; font-family: Arial; font-weight: 700; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;" class=""><br class="Apple-interchange-newline"><hr class=""></span></span><div class=""><b class=""><i class=""><a href="http://about.me/elbrujohalcon" class="">Brujo Benavides</a></i></b></div></div></div><div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><b class=""><br class=""></b></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 27 Sep 2019, at 04:42, Marc Worrell <<a href="mailto:marc@worrell.nl" class="">marc@worrell.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Zach,<div class=""><br class=""></div><div class="">In Zotonic we are using Elvis for simple checking.</div><div class=""><br class=""></div><div class="">We tried to only catch blatant problems or style diversions.</div><div class="">Most useful are:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>* Variable and function naming</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>* Nesting level</div><div class=""><br class=""></div><div class="">Our line length of 110 is a compromise.</div><div class="">I am ok with longer lines, though others in our team like punch card line lengths.</div><div class=""><br class=""></div><div class="">Our current config is here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/zotonic/zotonic/blob/master/elvis.config" class="">https://github.com/zotonic/zotonic/blob/master/elvis.config</a></div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Marc</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 26 Sep 2019, at 22:18, Zachary Kessin <<a href="mailto:zkessin@gmail.com" class="">zkessin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">HI Erlang Gang</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">My company is in the process of adopting Elvis for our code base, so far we have it on a few small projects and are finding it useful. But I had two questions:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><ol class=""><li class="">What rules have people found most or least useful</li><li class="">Are there any rules that people have developed that are not part of the main Elvis package that we might want to look at?</li></ol><div class=""><br class=""></div><div class="">Thanks</div><div class="">Zach</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br class=""></div><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><font face="arial, helvetica, sans-serif" class="">Zach Kessin </font></div><div class=""><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px" class=""><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemtlc3NpbkBnbWFpbC5jb20%3D&type=zerocontent&guid=21697844-1bf5-4f60-b496-c72e124fbfd8" class=""><font color="#ffffff" size="1" class="">ᐧ</font></div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class=""><a href="http://erlang.org/mailman/listinfo/erlang-questions" class="">http://erlang.org/mailman/listinfo/erlang-questions</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></div></body></html>