|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2023-08-17 21:34:59 UTC using RuboCop version 1.50.2. |
| 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 | +# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. |
| 11 | +Lint/DuplicateBranch: |
| 12 | + Exclude: |
| 13 | + - 'lib/puppet/provider/mongodb.rb' |
| 14 | + |
| 15 | +# Offense count: 1 |
| 16 | +# Configuration parameters: AllowComments, AllowEmptyLambdas. |
| 17 | +Lint/EmptyBlock: |
| 18 | + Exclude: |
| 19 | + - 'spec/unit/puppet/provider/mongodb_shard/mongodb_spec.rb' |
| 20 | + |
| 21 | +# Offense count: 1 |
| 22 | +Lint/SelfAssignment: |
| 23 | + Exclude: |
| 24 | + - 'lib/puppet/provider/mongodb_replset/mongo.rb' |
| 25 | + |
| 26 | +# Offense count: 7 |
| 27 | +# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. |
| 28 | +# SupportedStyles: snake_case, normalcase, non_integer |
| 29 | +# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64 |
| 30 | +Naming/VariableNumber: |
| 31 | + Exclude: |
| 32 | + - 'lib/puppet/provider/mongodb_user/mongodb.rb' |
| 33 | + - 'lib/puppet/type/mongodb_user.rb' |
| 34 | + |
| 35 | +# Offense count: 1 |
| 36 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 37 | +RSpec/BeEq: |
| 38 | + Exclude: |
| 39 | + - 'spec/functions/mongodb_password_spec.rb' |
| 40 | + |
| 41 | +# Offense count: 1 |
| 42 | +RSpec/MultipleExpectations: |
| 43 | + Max: 2 |
| 44 | + |
| 45 | +# Offense count: 6 |
| 46 | +RSpec/RepeatedExampleGroupBody: |
| 47 | + Exclude: |
| 48 | + - 'spec/acceptance/mongos_spec.rb' |
| 49 | + - 'spec/acceptance/server_spec.rb' |
| 50 | + |
| 51 | +# Offense count: 2 |
| 52 | +# Configuration parameters: EnforcedStyle, AllowedPatterns. |
| 53 | +# SupportedStyles: snake_case, camelCase |
| 54 | +RSpec/VariableName: |
| 55 | + Exclude: |
| 56 | + - 'spec/classes/server_spec.rb' |
| 57 | + |
| 58 | +# Offense count: 44 |
| 59 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 60 | +# Configuration parameters: EnforcedStyle. |
| 61 | +# SupportedStyles: always, always_true, never |
| 62 | +Style/FrozenStringLiteralComment: |
| 63 | + Enabled: false |
| 64 | + |
| 65 | +# Offense count: 1 |
| 66 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 67 | +# Configuration parameters: AllowedReceivers. |
| 68 | +# AllowedReceivers: Thread.current |
| 69 | +Style/HashEachMethods: |
| 70 | + Exclude: |
| 71 | + - 'lib/puppet/provider/mongodb_database/mongodb.rb' |
| 72 | + |
| 73 | +# Offense count: 1 |
| 74 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 75 | +# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns. |
| 76 | +# SupportedStyles: predicate, comparison |
| 77 | +Style/NumericPredicate: |
| 78 | + Exclude: |
| 79 | + - 'spec/**/*' |
| 80 | + - 'lib/puppet/provider/mongodb.rb' |
| 81 | + |
| 82 | +# Offense count: 1 |
| 83 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 84 | +# Configuration parameters: Mode. |
| 85 | +Style/StringConcatenation: |
| 86 | + Exclude: |
| 87 | + - 'lib/puppet/provider/mongodb_database/mongodb.rb' |
0 commit comments