.rubocop.yml in pg_objects-1.0.3 vs .rubocop.yml in pg_objects-1.2.0
- old
+ new
@@ -6,11 +6,11 @@
inherit_from: .rubocop_todo.yml
AllCops:
# EnabledByDefault: true
- TargetRubyVersion: 2.7
+ TargetRubyVersion: 3.1
# Cop names are not d§splayed in offense messages by default. Change behavior
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
# option.
DisplayCopNames: true
# Style guide URLs are not displayed in offense messages by default. Change
@@ -207,9 +207,12 @@
Style/BisectedAttrAccessor:
Enabled: true
Style/CaseLikeIf:
Enabled: true
+
+Style/ClassAndModuleChildren:
+ EnforcedStyle: compact
Style/ExponentialNotation:
Enabled: true
# Checks if there is a magic comment to enforce string literals