-
-
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
No spaces after block's left curly or before block's right curly #529
Comments
@jonas054 Would you handle this? I think we should probably have config params like |
Yes! |
I just have a few things to get clear before I start. First of all, is it really necessary to be able to configure RuboCop to allow |
Good point! We need to support just |
Thanks for clearing that up. My next question is whether not requiring space is enough. I think that if we allow, by configuration, to leave the spaces out ( |
The check should be strict. If you said you want to enforce the style The |
…gurable [Fix #529] Add EnforcedStyle config param to SpaceAroundBlockBraces.
https://github.com/nex3/sass/blob/master/test/rubocop_extensions.rb
We prefer
10.times {puts 'hi'}
So, basically the way we think about it is if there's a space in the block declaration it's attached to the right side of the argument list, not to the curly.The text was updated successfully, but these errors were encountered: