mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
These errors are breaking the build, which seems to use RuboCop 0.40 [1] despite the Gemfile.lock pinning rubocop to 0.38. New lints that I am updating the code style to reflect: - Style/EmptyCaseCondition: Do not use empty case condition, instead use an if expression. - Style/MultilineArrayBraceLayout: Closing array brace must be on the same line as the last array element when opening brace is on the same line as the first array element. - Style/MultilineHashBraceLayout: Closing hash brace must be on the same line as the last hash element when opening brace is on the same line as the first hash element. - Style/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument. [1] https://github.com/bbatsov/rubocop/releases/tag/v0.40.0 |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model_serializers | ||
| adapter | ||
| benchmark | ||
| fixtures | ||
| generators | ||
| include_tree | ||
| serializers | ||
| support | ||
| active_record_test.rb | ||
| adapter_test.rb | ||
| array_serializer_test.rb | ||
| cache_test.rb | ||
| collection_serializer_test.rb | ||
| grape_test.rb | ||
| lint_test.rb | ||
| logger_test.rb | ||
| poro_test.rb | ||
| serializable_resource_test.rb | ||
| test_helper.rb | ||