.rubocop.yml in jwt-2.2.2 vs .rubocop.yml in jwt-2.2.3
- old
+ new
@@ -1,25 +1,20 @@
+inherit_from: .rubocop_todo.yml
+
AllCops:
- Exclude:
- - 'bin/**/*'
- - 'db/**/*'
- - 'config/**/*'
- - 'script/**/*'
+ TargetRubyVersion: 2.1
-Rails:
- Enabled: true
-
-Style/AlignParameters:
+Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
-Style/CaseIndentation:
+Layout/CaseIndentation:
EnforcedStyle: end
Style/AsciiComments:
Enabled: false
-Style/IndentHash:
+Layout/IndentHash:
Enabled: false
Style/CollectionMethods:
Enabled: true
PreferredMethods:
@@ -40,11 +35,11 @@
Enabled: false
Style/IfUnlessModifier:
Enabled: false
-Style/SpaceInsideHashLiteralBraces:
+Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Style/Lambda:
Enabled: false
@@ -56,18 +51,22 @@
Metrics/AbcSize:
Max: 20
Metrics/ClassLength:
- Max: 100
+ Max: 101
Metrics/ModuleLength:
Max: 100
Metrics/LineLength:
Enabled: false
+Metrics/BlockLength:
+ Exclude:
+ - spec/**/*_spec.rb
+
Metrics/MethodLength:
Max: 15
Style/SingleLineBlockParams:
Enabled: false
@@ -76,22 +75,22 @@
EnforcedStyleAlignWith: variable
Style/FormatString:
Enabled: false
-Style/MultilineMethodCallIndentation:
+Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
-Style/MultilineOperationIndentation:
+Layout/MultilineOperationIndentation:
EnforcedStyle: indented
Style/WordArray:
Enabled: false
Style/RedundantSelf:
Enabled: false
-Style/AlignHash:
+Layout/AlignHash:
Enabled: true
EnforcedLastArgumentHashStyle: always_ignore
Style/TrivialAccessors:
AllowPredicates: true
\ No newline at end of file