Synchronize perlcritic checks between openQA and os-autoinst
|Target version:||Current Sprint|
Both projects should follow the same rules to ensure a consistent coding style. For example openQA encourages
return undef;, while os-autoinst discourages it (for no good reason). To make sure we follow current Perl community best practices i propose that we start using
Perl::Critic::Freenode, and share the same
.perlcriticrc in both projects.
Perl::Critic::Freenode is a collection of rules that has been collected by the members of the
#perl IRC channel on Freenode, over a long period of time. The collection is based on what problems have been brought up the most on
#perl and what rules bigger Perl projects that are known for good code quality follow themselves.