|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2019-11-01 16:00:27 +0000 using RuboCop version 0.49.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 | +# Configuration parameters: AllowSafeAssignment. |
| 11 | +Lint/AssignmentInCondition: |
| 12 | + Exclude: |
| 13 | + - 'lib/puppet/type/filesystem.rb' |
| 14 | + |
| 15 | +# Offense count: 43 |
| 16 | +Lint/UselessAssignment: |
| 17 | + Exclude: |
| 18 | + - 'lib/puppet/provider/filesystem/aix.rb' |
| 19 | + - 'lib/puppet/provider/logical_volume/lvm.rb' |
| 20 | + - 'spec/spec_helper_acceptance_local.rb' |
| 21 | + - 'spec/unit/type/filesystem_spec.rb' |
| 22 | + - 'spec/unit/type/logical_volume_spec.rb' |
| 23 | + - 'spec/unit/type/physical_volume.rb' |
| 24 | + - 'tests/beaker/tests/aix/create_lv_with_param_max_range.rb' |
| 25 | + - 'tests/beaker/tests/aix/create_lv_with_param_min_range.rb' |
| 26 | + - 'tests/beaker/tests/aix/create_lv_with_param_type.rb' |
| 27 | + |
| 28 | +# Offense count: 6 |
| 29 | +Lint/Void: |
| 30 | + Exclude: |
| 31 | + - 'spec/unit/facter/lvm_support_spec.rb' |
| 32 | + |
| 33 | +# Offense count: 252 |
| 34 | +# Configuration parameters: AssignmentOnly. |
| 35 | +RSpec/InstanceVariable: |
| 36 | + Exclude: |
| 37 | + - 'spec/unit/puppet/provider/filesystem/lvm_spec.rb' |
| 38 | + - 'spec/unit/puppet/provider/logical_volume/lvm_spec.rb' |
| 39 | + - 'spec/unit/puppet/provider/physical_volume/lvm_spec.rb' |
| 40 | + - 'spec/unit/puppet/provider/volume_group/lvm_spec.rb' |
| 41 | + - 'spec/unit/puppet/type/filesystem_spec.rb' |
| 42 | + - 'spec/unit/puppet/type/logical_volume_spec.rb' |
| 43 | + - 'spec/unit/puppet/type/physical_volume_spec.rb' |
| 44 | + - 'spec/unit/puppet/type/volume_group_spec.rb' |
| 45 | + |
| 46 | +# Offense count: 1 |
| 47 | +RSpec/MultipleDescribes: |
| 48 | + Exclude: |
| 49 | + - 'spec/unit/facter/lvm_support_spec.rb' |
| 50 | + |
| 51 | +# Offense count: 2 |
| 52 | +RSpec/ScatteredSetup: |
| 53 | + Exclude: |
| 54 | + - 'spec/unit/puppet/provider/physical_volume/lvm_spec.rb' |
| 55 | + |
| 56 | +# Offense count: 3 |
| 57 | +Style/AccessorMethodName: |
| 58 | + Exclude: |
| 59 | + - 'lib/puppet/provider/logical_volume/lvm.rb' |
| 60 | + - 'lib/puppet/provider/physical_volume/lvm.rb' |
| 61 | + - 'lib/puppet/provider/volume_group/lvm.rb' |
| 62 | + |
| 63 | +# Offense count: 1 |
| 64 | +Style/ClassAndModuleCamelCase: |
| 65 | + Exclude: |
| 66 | + - 'lib/puppet_x/lvm/output.rb' |
| 67 | + |
| 68 | +# Offense count: 2 |
| 69 | +# Configuration parameters: EnforcedStyle, SupportedStyles. |
| 70 | +# SupportedStyles: nested, compact |
| 71 | +Style/ClassAndModuleChildren: |
| 72 | + Exclude: |
| 73 | + - 'lib/puppet_x/lvm/output.rb' |
| 74 | + |
| 75 | +# Offense count: 1 |
| 76 | +# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 77 | +# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS |
| 78 | +Style/FileName: |
| 79 | + Exclude: |
| 80 | + - 'tests/beaker/tests/create_filesystem_non-existing-format.rb' |
| 81 | + |
| 82 | +# Offense count: 12 |
| 83 | +# Configuration parameters: MinBodyLength. |
| 84 | +Style/GuardClause: |
| 85 | + Exclude: |
| 86 | + - 'lib/puppet/provider/filesystem/aix.rb' |
| 87 | + - 'lib/puppet/provider/filesystem/lvm.rb' |
| 88 | + - 'lib/puppet/provider/logical_volume/lvm.rb' |
| 89 | + - 'lib/puppet/provider/volume_group/aix.rb' |
| 90 | + - 'lib/puppet/provider/volume_group/lvm.rb' |
| 91 | + |
| 92 | +# Offense count: 1 |
| 93 | +Style/MultilineTernaryOperator: |
| 94 | + Exclude: |
| 95 | + - 'lib/puppet/provider/filesystem/lvm.rb' |
| 96 | + |
| 97 | +# Offense count: 1 |
| 98 | +# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. |
| 99 | +# NamePrefix: is_, has_, have_ |
| 100 | +# NamePrefixBlacklist: is_, has_, have_ |
| 101 | +# NameWhitelist: is_a? |
| 102 | +Style/PredicateName: |
| 103 | + Exclude: |
| 104 | + - 'spec/**/*' |
| 105 | + - 'tests/beaker/lib/lvm_helper.rb' |
| 106 | + |
| 107 | +# Offense count: 1 |
| 108 | +# Cop supports --auto-correct. |
| 109 | +# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment. |
| 110 | +# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex |
| 111 | +Style/TernaryParentheses: |
| 112 | + Exclude: |
| 113 | + - 'lib/puppet/provider/filesystem/lvm.rb' |
0 commit comments