.rubocop.yml in simple_request-0.1.4 vs .rubocop.yml in simple_request-0.1.5
- old
+ new
@@ -1,19 +1,16 @@
-inherit_from: .rubocop_todo.yml
+# inherit_from: .rubocop_todo.yml
require: rubocop-performance
-# AllCops:
-# TargetRubyVersion: 2.6.2
-# Exclude:
-# - bin/**
-# - db/**/*
-# - node_modules/**/*
+AllCops:
+ TargetRubyVersion: 3.2.3
+ Exclude:
+ - bin/**
+ - db/**/*
+ - node_modules/**/*
-Documentation:
- Enabled: false
-
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
@@ -22,20 +19,45 @@
Enabled: false
Metrics/AbcSize:
Max: 30
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
Metrics/ClassLength:
Max: 1500
Metrics/MethodLength:
- Max: 25
+ Max: 10
Metrics/BlockLength:
Max: 70
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
+
+Gemspec/DeprecatedAttributeAssignment:
+ Enabled: true
+Gemspec/DevelopmentDependencies:
+ Enabled: true
+Gemspec/RequireMFA:
+ Enabled: true
+Layout/LineContinuationLeadingSpace:
+ Enabled: true
+Layout/LineContinuationSpacing:
+ Enabled: true
+Layout/LineEndStringConcatenationIndentation:
+ Enabled: true
+Layout/SpaceBeforeBrackets:
+ Enabled: true
+Lint/AmbiguousAssignment:
+ Enabled: true
+Lint/AmbiguousOperatorPrecedence:
+ Enabled: true
+Lint/AmbiguousRange:
+ Enabled: true
+Lint/ConstantOverwrittenInRescue:
+ Enabled: true
+Lint/DeprecatedConstants:
+ Enabled: true
\ No newline at end of file