.rubocop.yml in ghost_adapter-0.2.3 vs .rubocop.yml in ghost_adapter-0.3.0
- old
+ new
@@ -5,19 +5,39 @@
Enabled: false
Style/RescueModifier:
Enabled: false
+Layout/LineLength:
+ Exclude:
+ - spec/**/*_spec.rb
+
Metrics/BlockLength:
Exclude:
- spec/**/*_spec.rb
+Metrics/ClassLength:
+ CountAsOne:
+ - 'array'
+ - 'hash'
+ - 'heredoc'
+ Max: 150
+
Metrics/MethodLength:
+ Max: 15
+ CountAsOne:
+ - 'array'
+ - 'hash'
+ - 'heredoc'
IgnoredMethods:
- build_ghost_command
- mysql2_ghost_connection
Metrics/ModuleLength:
+ CountAsOne:
+ - 'array'
+ - 'hash'
+ - 'heredoc'
Exclude:
- lib/ghost_adapter/config.rb
Metrics/AbcSize:
IgnoredMethods: