aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a673e6ba83..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:
@@ -208,3 +209,6 @@ Performance/EndWith:
Performance/RegexpMatch:
Enabled: true
+
+Performance/UnfreezeString:
+ Enabled: true