|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2023-02-20 17:39:35 UTC using RuboCop version 1.45.1. |
| 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 | +# This cop supports safe autocorrection (--autocorrect). |
| 11 | +Layout/EmptyLineAfterMagicComment: |
| 12 | + Exclude: |
| 13 | + - 'prometheus-api-client.gemspec' |
| 14 | + |
| 15 | +# Offense count: 8 |
| 16 | +# This cop supports safe autocorrection (--autocorrect). |
| 17 | +# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. |
| 18 | +# SupportedHashRocketStyles: key, separator, table |
| 19 | +# SupportedColonStyles: key, separator, table |
| 20 | +# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit |
| 21 | +Layout/HashAlignment: |
| 22 | + Exclude: |
| 23 | + - 'examples/get_metrics.rb' |
| 24 | + - 'examples/low_level.rb' |
| 25 | + - 'spec/prometheus/api_client/client_spec.rb' |
| 26 | + |
| 27 | +# Offense count: 1 |
| 28 | +# This cop supports safe autocorrection (--autocorrect). |
| 29 | +# Configuration parameters: PreferredName. |
| 30 | +Naming/RescuedExceptionsVariableName: |
| 31 | + Exclude: |
| 32 | + - 'lib/prometheus/api_client/client.rb' |
| 33 | + |
| 34 | +# Offense count: 8 |
| 35 | +# This cop supports safe autocorrection (--autocorrect). |
| 36 | +Style/Encoding: |
| 37 | + Exclude: |
| 38 | + - 'Rakefile' |
| 39 | + - 'lib/prometheus.rb' |
| 40 | + - 'lib/prometheus/api_client.rb' |
| 41 | + - 'lib/prometheus/api_client/client.rb' |
| 42 | + - 'prometheus-api-client.gemspec' |
| 43 | + - 'spec/prometheus/api_client/client_spec.rb' |
| 44 | + - 'spec/prometheus/api_client_spec.rb' |
| 45 | + - 'spec/spec_helper.rb' |
| 46 | + |
| 47 | +# Offense count: 1 |
| 48 | +# This cop supports safe autocorrection (--autocorrect). |
| 49 | +Style/ExpandPathArguments: |
| 50 | + Exclude: |
| 51 | + - 'prometheus-api-client.gemspec' |
| 52 | + |
| 53 | +# Offense count: 13 |
| 54 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 55 | +# Configuration parameters: EnforcedStyle. |
| 56 | +# SupportedStyles: always, always_true, never |
| 57 | +Style/FrozenStringLiteralComment: |
| 58 | + Exclude: |
| 59 | + - 'Gemfile' |
| 60 | + - 'Rakefile' |
| 61 | + - 'examples/authentication_proxy.rb' |
| 62 | + - 'examples/get_labels.rb' |
| 63 | + - 'examples/get_metrics.rb' |
| 64 | + - 'examples/low_level.rb' |
| 65 | + - 'lib/prometheus.rb' |
| 66 | + - 'lib/prometheus/api_client.rb' |
| 67 | + - 'lib/prometheus/api_client/client.rb' |
| 68 | + - 'prometheus-api-client.gemspec' |
| 69 | + - 'spec/prometheus/api_client/client_spec.rb' |
| 70 | + - 'spec/prometheus/api_client_spec.rb' |
| 71 | + - 'spec/spec_helper.rb' |
| 72 | + |
| 73 | +# Offense count: 1 |
| 74 | +# This cop supports safe autocorrection (--autocorrect). |
| 75 | +# Configuration parameters: PreferredDelimiters. |
| 76 | +Style/PercentLiteralDelimiters: |
| 77 | + Exclude: |
| 78 | + - 'prometheus-api-client.gemspec' |
| 79 | + |
| 80 | +# Offense count: 1 |
| 81 | +# This cop supports safe autocorrection (--autocorrect). |
| 82 | +Style/RedundantCondition: |
| 83 | + Exclude: |
| 84 | + - 'lib/prometheus/api_client/client.rb' |
| 85 | + |
| 86 | +# Offense count: 1 |
| 87 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 88 | +# Configuration parameters: Mode. |
| 89 | +Style/StringConcatenation: |
| 90 | + Exclude: |
| 91 | + - 'lib/prometheus/api_client/client.rb' |
| 92 | + |
| 93 | +# Offense count: 1 |
| 94 | +# This cop supports safe autocorrection (--autocorrect). |
| 95 | +# Configuration parameters: MinSize. |
| 96 | +# SupportedStyles: percent, brackets |
| 97 | +Style/SymbolArray: |
| 98 | + EnforcedStyle: brackets |
0 commit comments