-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Layout/SpaceBeforeBrackets generates invalid code #9499
Labels
Comments
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Feb 10, 2021
Fixes rubocop#9499. This PR fixes a false positive for `Layout/SpaceBeforeBrackets` when multiple spaces are inserted inside the left bracket.
koic
added a commit
that referenced
this issue
Feb 10, 2021
…ace_before_brackets [Fix #9499] Fix a false positive for `Layout/SpaceBeforeBrackets`
This was referenced Mar 6, 2021
Closed
This was referenced Mar 15, 2021
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input
Command
###Output
The code is now invalid:
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler.If you see extension cop versions (e.g.
rubocop-performance
,rubocop-rspec
, and others)output by
rubocop -V
, include them as well. Here's an example:The text was updated successfully, but these errors were encountered: