Open dazza-codes opened 8 years ago
Can we configure this to not suppress explicit return
statements? These provide useful information.
How does this fit into the workflow?
WRT redundant return
return
is used as a control structure to return prematurely from a methodbundle exec rubocop
will issue warnings about conflicts with ruby conventions, it is usually simple code style, but it can also help to detect logical and design flaws. It can take a while to get familiar with the conventions, they are often helpful. The aim is to use this as a tool to provide consistent ruby code using the guidelines of the ruby community.
Adopting style recommendations from https://github.com/sul-dlss/DeveloperPlaybook/tree/master/style.
Applied the auto-correct and checked that specs were passing before and after the corrections.