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

Turn on linting #149

Merged
merged 32 commits into from
Jul 20, 2020
Merged

Turn on linting #149

merged 32 commits into from
Jul 20, 2020

Conversation

barrucadu
Copy link
Contributor

@barrucadu barrucadu commented Jul 20, 2020

Copy link
Contributor

@benthorner benthorner left a comment

Choose a reason for hiding this comment

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

Looks good to me - just one minor change you could make.

@@ -38,11 +40,13 @@ def log_error(request, wrapper); end
end
instance = FakeDebugExceptions.new

# rubocop:disable Lint/AmbiguousBlockAssociation
expect {
described_class.monkey_patch_log_error(FakeDebugExceptions)
}.to change {
instance.method(:log_error)
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: I think we can just fix this one, without disabling it (parenthesis for the to method).

@barrucadu barrucadu merged commit 76077dc into master Jul 20, 2020
@barrucadu barrucadu deleted the msw/lint branch July 20, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants