Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support style-guide only usage #1454

Merged
merged 1 commit into from
Dec 4, 2014

Commits on Dec 4, 2014

  1. Support style-guide only usage

    Many cops that have been implemented and enabled by default have no
    correlation to a style-guide rule: `Metrics/ClassLength`,
    `Metrics/AbcSize`, `Metrics/PerceivedComplexity` just to name a few. In
    cases where these cops find violations, there's little recourse as the
    rules cannot be traced back to a meaningful discussion or consensus.
    
    The `--only-guide-cops` and `AllCops/StyleGuideCopsOnly` options give
    users an easy method of invoking RuboCop in a way that's more congruent
    with the rules of the style guide.
    
    Working around `GuardClause` violation in `Runner#filter_cop_classes`.
    marxarelli committed Dec 4, 2014
    Configuration menu
    Copy the full SHA
    75140c0 View commit details
    Browse the repository at this point in the history