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

config/default: Link some rules to their styleguide justifications #124

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

issyl0
Copy link
Member

@issyl0 issyl0 commented Oct 18, 2022

  • "Some of", yes, since there are a lot. But I thought I'd get started since this is an important step towards being able to a) enable more RuboCop rules based on the evidence of our styleguide, b) realising how far adrift our RuboCop configs have potentially become from what's written in the Styleguide, c) encouraging honest adoption of these rules across GitHub because they're actually justified in text.

- "Some of", yes, since there are a lot. But I thought I'd get started
  since this is an important step towards being able to a) enable more
  RuboCop rules based on the evidence of our styleguide, b) realising
  how far adrift our RuboCop configs have potentially become from what's
  written in the Styleguide, c) encouraging honest adoption of these
  rules across GitHub because they're actually justified in text.
@issyl0 issyl0 force-pushed the match-styleguide-to-rubocop branch from 784120d to 596f143 Compare October 19, 2022 10:59
@issyl0 issyl0 merged commit 104d88e into main Oct 19, 2022
@issyl0 issyl0 deleted the match-styleguide-to-rubocop branch October 19, 2022 11:01
Copy link
Contributor

@sampart sampart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for doing this. One retrospective comment.

Lint/UnusedBlockArgument:
Enabled: false
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-around-equals
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, yes it should! Feel free to submit a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants