about summary refs log tree commit diff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2022-11-17 05:05:39 -0500
committerGitHub <noreply@github.com>2022-11-17 11:05:39 +0100
commit4f15fd0ba1e992aa6cbe95573372c625a2f4cf71 (patch)
tree551e8a90cd97fc4ba62ab25fa9f676df57efba06 /.rubocop.yml
parentc373148b3d43056c242fbb891510f1f841ca2f45 (diff)
Fix style for hashes (#20518)
* Fix style for hashes

Make the style for hashes consistent.

* New style

More consistency
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 8dc2d1c47..38a413c2e 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -243,6 +243,10 @@ Style/HashTransformKeys:
 Style/HashTransformValues:
   Enabled: false
 
+Style/HashSyntax:
+  Enabled: true
+  EnforcedStyle: ruby19_no_mixed_keys
+
 Style/IfUnlessModifier:
   Enabled: false