豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

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

Merged
issyl0 merged 1 commit intomainfrom
match-styleguide-to-rubocop
Oct 19, 2022
Merged

config/default: Link some rules to their styleguide justifications#124
issyl0 merged 1 commit intomainfrom
match-styleguide-to-rubocop

Conversation

@issyl0
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread config/default.yml
# TODO: Enable this since it's in the styleguide.
Lint/UnusedBlockArgument:
Enabled: false
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-around-equals
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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