.rubocop.yml in lignite-0.3.0 vs .rubocop.yml in lignite-0.4.0
- old
+ new
@@ -1,12 +1,40 @@
inherit_from: rubocop-suse.yml
AllCops:
TargetRubyVersion: 2.1
+ Exclude:
+ - 'vendor/**/*'
+ - '.git/**/*'
+ - lib/lignite/ev3_ops.rb
Naming/FileName:
Exclude:
- spec/data/*.rb
Layout/IndentHeredoc:
+ Enabled: false
+
+Performance/RedundantBlockCall:
+ Enabled: false
+
+Style/SymbolArray:
+ Enabled: false
+
+Metrics/BlockLength:
Exclude:
- lignite.gemspec
+ - lib/lignite/ev3_tool.rb
+ - spec/**/*.rb
+
+Metrics/ClassLength:
+ Exclude:
+ - lib/lignite/ev3_tool.rb
+ - lib/lignite/motors.rb
+
+Metrics/MethodLength:
+ Max: 25
+
+Metrics/ModuleLength:
+ Exclude:
+ # generated
+ - lib/lignite/enums.rb