summaryrefslogtreecommitdiffhomepage
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index ae378d0..08bc621 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,8 +1,19 @@
AllCops:
TargetRubyVersion: 3.2
+ NewCops: enable
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
+
+Style/FrozenStringLiteralComment:
+ Enabled: true
+ EnforcedStyle: always
+
+Metrics/MethodLength:
+ Max: 20
+
+Metrics/ClassLength:
+ Max: 500