Created
June 24, 2021 09:08
-
-
Save kamipo/13e6af074f9e9707ad1aa4fd1c36c554 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
def foo(*args, **kwargs) | |
end | |
foo(:a, :b, c: :d, | |
x: 1, | |
y: 2 | |
) | |
foo(a: :b, c: :d, | |
x: 1, | |
y: 2 | |
) | |
__END__ | |
% be rubocop --only Layout/ClosingParenthesisIndentation closing_parenthisis.rb | |
Inspecting 1 file | |
C | |
Offenses: | |
closing_parenthisis.rb:14:1: C: [Correctable] Layout/ClosingParenthesisIndentation: Align ) with (. | |
) | |
^ | |
1 file inspected, 1 offense detected, 1 offense auto-correctable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment