We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We use the StyleGuide in the config/default.yml to point to our cop's docs, e.g. https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Be, while there's no corresponding guideline.
StyleGuide
config/default.yml
It's our primary project goal to:
Enforce the guidelines and best practices outlined in the community RSpec style guide
There's a StyleGuideBaseURL setting:
StyleGuideBaseURL
RSpec: StyleGuideBaseURL: https://rspec.rubystyle.guide
and to have an anchor to the guide:
RSpec/HookArgument: StyleGuide: '#ambiguous-hook-scope'
RuboCop has an undocumented --only-guide-cops option that skips petty tyrant cops not supported by a style guide entry.
--only-guide-cops
I believe that some of our cops try to enforce several guidelines at once.
bin/build_config
Bonus points:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Problem
We use the
StyleGuide
in theconfig/default.yml
to point to our cop's docs, e.g. https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Be, while there's no corresponding guideline.It's our primary project goal to:
There's a
StyleGuideBaseURL
setting:and to have an anchor to the guide:
RuboCop has an undocumented
--only-guide-cops
option that skips petty tyrant cops not supported by a style guide entry.I believe that some of our cops try to enforce several guidelines at once.
Proposed solution
bin/build_config
to stop overwriting references to the community RSpec style guide with our cop docsBonus points:
The text was updated successfully, but these errors were encountered: