summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index cf06840..4ffc86c 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,19 +1,21 @@
---
AllCops:
TargetRubyVersion: 2.6
+ Exclude:
+ - lib/emojis.rb
Layout/EmptyLineAfterGuardClause:
Enabled: false
+Layout/LineLength:
+ Max: 80
+
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Max: 30
-Metrics/LineLength:
- Max: 80
-
Metrics/MethodLength:
Max: 15
@@ -26,9 +28,18 @@ Style/ConditionalAssignment:
Style/ClassAndModuleChildren:
EnforcedStyle: compact
+Style/HashEachMethods:
+ Enabled: true
+
Style/HashSyntax:
EnforcedStyle: no_mixed_keys
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
Style/PreferredHashMethods:
EnforcedStyle: verbose