[QA] Ruby Coding Conventions and RuboCop (was: Rubocop style checker)
Antoine Musso
hashar+wmf at free.fr
Thu Nov 20 17:09:43 UTC 2014
Le 20/11/2014 01:38, Dan Duvall a écrit :
<snip>
> IMO, we shouldn't make rubocop voting until we iron out all the
> overzealousness of RuboCop. I've submitted a pull request to help us
> create base configuration that's more congruent with the actual style
> guide.[2]
<snip>
> [2] https://github.com/bbatsov/rubocop/pull/1454
If I understand it properly, adding in .rubocop.yml
AllCops/StyleGuideCopsOnly
enabled:true
Would only run the checks for the guide-cops and automatically disabled
all the other ones provided by rubocop but out of the guide-cops ?
If so, that is close to ideal and will avoid much bikeshedding to
enable/disable checks that have not received a strong consensus yet.
--
Antoine "hashar" Musso
More information about the QA
mailing list