.rubocop.yml in transitions-1.0.0 vs .rubocop.yml in transitions-1.0.1
- old
+ new
@@ -1,4 +1,21 @@
Metrics/LineLength:
Max: 120
-Style/Documentation:
+Documentation:
Enabled: false
+Lint/AssignmentInCondition:
+ Enabled: false
+# For whatever reasons disabling the cops below via source comment does **not** work.
+# This happens only for event.rb, disabling those cops in other files via comment works well.
+Metrics/MethodLength:
+ Exclude:
+ - 'lib/transitions/event.rb'
+Metrics/AbcSize:
+ Exclude:
+ - 'lib/transitions/event.rb'
+Metrics/CyclomaticComplexity:
+ Exclude:
+ - 'lib/transitions/event.rb'
+Style/ConditionalAssignment:
+ Exclude:
+ - 'lib/transitions/event.rb'
+ - 'lib/transitions/state.rb'