diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-09-25 13:18:20 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-09-25 13:19:35 -0400 |
commit | f679933daa257a23095a6d7ad04aa2cbd3c7907e (patch) | |
tree | e1ebf6815655e7baa877da8738b715f29633f051 /.rubocop.yml | |
parent | d34bd0d2d55e33c757abd55fdd07ff575f68f185 (diff) | |
download | rails-f679933daa257a23095a6d7ad04aa2cbd3c7907e.tar.gz rails-f679933daa257a23095a6d7ad04aa2cbd3c7907e.tar.bz2 rails-f679933daa257a23095a6d7ad04aa2cbd3c7907e.zip |
Change the empty block style to have space inside of the block
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index c6c8d8ca00..2ac31637ef 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -137,6 +137,7 @@ Layout/SpaceBeforeBlockBraces: # Use `foo { bar }` not `foo {bar}`. Layout/SpaceInsideBlockBraces: Enabled: true + EnforcedStyleForEmptyBraces: space # Use `{ a: 1 }` not `{a:1}`. Layout/SpaceInsideHashLiteralBraces: |