|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100` |
| 3 | +# on 2019-08-25 13:23:25 +0100 using RuboCop version 0.74.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 1 |
| 10 | +# Cop supports --auto-correct. |
| 11 | +# Configuration parameters: TreatCommentsAsGroupSeparators, Include. |
| 12 | +# Include: **/*.gemspec |
| 13 | +Gemspec/OrderedDependencies: |
| 14 | + Exclude: |
| 15 | + - 'api_error_handler.gemspec' |
| 16 | + |
| 17 | +# Offense count: 1 |
| 18 | +# Cop supports --auto-correct. |
| 19 | +Layout/ClosingParenthesisIndentation: |
| 20 | + Exclude: |
| 21 | + - 'spec/api_error_handler/serializers/xml_spec.rb' |
| 22 | + |
| 23 | +# Offense count: 2 |
| 24 | +# Configuration parameters: Max. |
| 25 | +Metrics/AbcSize: |
| 26 | + Exclude: |
| 27 | + - 'lib/api_error_handler.rb' |
| 28 | + - 'lib/api_error_handler/error_reporter.rb' |
| 29 | + |
| 30 | +# Offense count: 1 |
| 31 | +# Configuration parameters: Max. |
| 32 | +Metrics/CyclomaticComplexity: |
| 33 | + Exclude: |
| 34 | + - 'lib/api_error_handler/error_reporter.rb' |
| 35 | + |
| 36 | +# Offense count: 3 |
| 37 | +# Configuration parameters: CountComments, Max, ExcludedMethods. |
| 38 | +Metrics/MethodLength: |
| 39 | + Exclude: |
| 40 | + - 'lib/api_error_handler.rb' |
| 41 | + - 'lib/api_error_handler/error_reporter.rb' |
| 42 | + - 'lib/api_error_handler/error_id_generator.rb' |
| 43 | + - 'lib/api_error_handler/serializers/json_api.rb' |
| 44 | + |
| 45 | +# Offense count: 1 |
| 46 | +# Configuration parameters: Max. |
| 47 | +Metrics/PerceivedComplexity: |
| 48 | + Exclude: |
| 49 | + - 'lib/api_error_handler/error_reporter.rb' |
| 50 | + |
| 51 | +# Offense count: 2 |
| 52 | +# Cop supports --auto-correct. |
| 53 | +Style/ExpandPathArguments: |
| 54 | + Exclude: |
| 55 | + - 'api_error_handler.gemspec' |
| 56 | + |
| 57 | +# Offense count: 4 |
| 58 | +# Cop supports --auto-correct. |
| 59 | +# Configuration parameters: EnforcedStyle. |
| 60 | +# SupportedStyles: implicit, explicit |
| 61 | +Style/RescueStandardError: |
| 62 | + Exclude: |
| 63 | + - 'lib/api_error_handler.rb' |
| 64 | + - 'spec/api_error_handler/serializers/json_api_spec.rb' |
| 65 | + - 'spec/api_error_handler/serializers/json_spec.rb' |
| 66 | + - 'spec/api_error_handler/serializers/xml_spec.rb' |
| 67 | + |
| 68 | +# Offense count: 2 |
| 69 | +# Cop supports --auto-correct. |
| 70 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 71 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 72 | +Style/TrailingCommaInArrayLiteral: |
| 73 | + Exclude: |
| 74 | + - 'lib/api_error_handler/serializers/json_api.rb' |
| 75 | + - 'spec/api_error_handler/serializers/json_api_spec.rb' |
| 76 | + |
| 77 | +# Offense count: 3 |
| 78 | +# Cop supports --auto-correct. |
| 79 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 80 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 81 | +Style/TrailingCommaInHashLiteral: |
| 82 | + Exclude: |
| 83 | + - 'lib/api_error_handler.rb' |
| 84 | + - 'lib/api_error_handler/serializers/json.rb' |
| 85 | + - 'lib/api_error_handler/serializers/json_api.rb' |
0 commit comments