.rubocop.yml in cheap_ams-0.10.8 vs .rubocop.yml in cheap_ams-0.10.10
- old
+ new
@@ -6,9 +6,42 @@
- !ruby/regexp /(vendor|bundle|bin|db|tmp)\/.*/
RunRailsCops: true
DisplayCopNames: true
DisplayStyleGuide: true
+Style/IndentationConsistency:
+ Exclude:
+ - lib/active_model/serializer/adapter/flatten_json.rb
+ - lib/active_model/serializer/adapter/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json.rb
+ - lib/active_model/serializer/adapter/json/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api.rb
+ - lib/active_model/serializer/adapter/json_api/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api/pagination_links.rb
+ - lib/active_model/serializer/adapter/null.rb
+
+Style/IndentationWidth:
+ Exclude:
+ - lib/active_model/serializer/adapter/flatten_json.rb
+ - lib/active_model/serializer/adapter/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json.rb
+ - lib/active_model/serializer/adapter/json/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api.rb
+ - lib/active_model/serializer/adapter/json_api/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api/pagination_links.rb
+ - lib/active_model/serializer/adapter/null.rb
+
+Style/AccessModifierIndentation:
+ Exclude:
+ - lib/active_model/serializer/adapter/flatten_json.rb
+ - lib/active_model/serializer/adapter/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json.rb
+ - lib/active_model/serializer/adapter/json/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api.rb
+ - lib/active_model/serializer/adapter/json_api/fragment_cache.rb
+ - lib/active_model/serializer/adapter/json_api/pagination_links.rb
+ - lib/active_model/serializer/adapter/null.rb
+
Lint/NestedMethodDefinition:
Enabled: false
Exclude:
- test/action_controller/serialization_test.rb