-
Notifications
You must be signed in to change notification settings - Fork 275
/
.rubocop_todo.yml
85 lines (75 loc) · 2.73 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-11-28 08:59:08 UTC using RuboCop version 1.48.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
Exclude:
- 'lib/puppet/provider/logical_volume/lvm.rb'
- 'spec/functions/bytes_to_size_spec.rb'
- 'spec/functions/size_to_bytes_spec.rb'
# Offense count: 38
Lint/UselessAssignment:
Exclude:
- 'lib/puppet/provider/filesystem/aix.rb'
- 'lib/puppet/provider/logical_volume/lvm.rb'
- 'spec/unit/type/filesystem_spec.rb'
- 'spec/unit/type/logical_volume_spec.rb'
- 'spec/unit/type/physical_volume.rb'
# Offense count: 1
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
Exclude:
- 'spec/unit/puppet/type/logical_volume_spec.rb'
# Offense count: 1
# Configuration parameters: AllowedNames.
# AllowedNames: module_parent
Naming/ClassAndModuleCamelCase:
Exclude:
- 'lib/puppet_x/lvm/output.rb'
# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/unit/type/physical_volume.rb'
# Offense count: 260
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/unit/puppet/provider/filesystem/lvm_spec.rb'
- 'spec/unit/puppet/provider/logical_volume/lvm_spec.rb'
- 'spec/unit/puppet/provider/physical_volume/lvm_spec.rb'
- 'spec/unit/puppet/provider/volume_group/lvm_spec.rb'
- 'spec/unit/puppet/type/filesystem_spec.rb'
- 'spec/unit/puppet/type/logical_volume_spec.rb'
- 'spec/unit/puppet/type/physical_volume_spec.rb'
- 'spec/unit/puppet/type/volume_group_spec.rb'
# Offense count: 1
RSpec/MultipleDescribes:
Exclude:
- 'spec/unit/facter/lvm_support_spec.rb'
# Offense count: 26
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/defines/volume_spec.rb'
- 'spec/functions/bytes_to_size_spec.rb'
- 'spec/functions/size_to_bytes_spec.rb'
- 'spec/unit/classes/lvm_spec.rb'
# Offense count: 2
RSpec/ScatteredSetup:
Exclude:
- 'spec/unit/puppet/provider/physical_volume/lvm_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'lib/puppet_x/lvm/output.rb'