.rubocop.yml in fspath-3.0.1 vs .rubocop.yml in fspath-3.0.2
- old
+ new
@@ -1,12 +1,16 @@
AllCops:
Exclude:
- '*.gemspec'
Lint/EndAlignment:
- AlignWith: variable
+ EnforcedStyleAlignWith: variable
+Metrics/BlockLength:
+ Exclude:
+ - spec/**/*_spec.rb
+
Metrics/ClassLength:
Max: 200
Metrics/MethodLength:
Max: 15
@@ -16,11 +20,11 @@
Style/BracesAroundHashParameters:
Enabled: false
Style/CaseIndentation:
- IndentWhenRelativeTo: end
+ EnforcedStyle: end
Style/DotPosition:
EnforcedStyle: trailing
Style/DoubleNegation:
@@ -35,9 +39,13 @@
Style/IfUnlessModifier:
MaxLineLength: 40
Style/IndentHash:
EnforcedStyle: consistent
+
+Style/MultilineIfModifier:
+ Exclude:
+ - spec/**/*_spec.rb
Style/OpMethod: # leave name in `def ~(name = nil)`
Enabled: false
Style/PercentLiteralDelimiters: