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

Enable RSpec/DescribeClass #9730

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

robaiken
Copy link
Contributor

@robaiken robaiken requested a review from a team as a code owner May 14, 2024 13:24
Comment on lines 7 to 9
# rubocop:disable RSpec/DescribeClass
RSpec.describe "npm and yarn config" do
# rubocop:enable RSpec/DescribeClass
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# rubocop:disable RSpec/DescribeClass
RSpec.describe "npm and yarn config" do
# rubocop:enable RSpec/DescribeClass
RSpec.describe "npm and yarn config" do # rubocop:disable RSpec/DescribeClass

Feel entirely free to ignore this, but I always find this a bit more ergonomic to write, I don't think it's well documented that this is possible, but it disables the rule for the block

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is so much better, thanks

@robaiken robaiken enabled auto-merge (squash) May 15, 2024 10:22
@robaiken robaiken merged commit e5a4933 into main May 15, 2024
66 checks passed
@robaiken robaiken deleted the robaiken/enable-RSpec-DescribeClass branch May 15, 2024 10:28
@robaiken robaiken self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants