forked from puppetlabs/puppetlabs-inifile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
87 lines (75 loc) · 2.69 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
86
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-04-25 08:02:06 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: 30
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/BooleanSymbol:
Exclude:
- 'lib/puppet/type/ini_setting.rb'
- 'lib/puppet/type/ini_subsetting.rb'
- 'lib/puppet/util/setting_value.rb'
# Offense count: 11
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 48
# Offense count: 8
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 122
# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 18
# Offense count: 13
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 31
# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 20
# Offense count: 12
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Exclude:
- '**/spec/features/**/*'
- '**/spec/requests/**/*'
- '**/spec/routing/**/*'
- '**/spec/system/**/*'
- '**/spec/views/**/*'
- 'spec/acceptance/ini_setting_spec.rb'
- 'spec/acceptance/ini_subsetting_spec.rb'
- 'spec/classes/create_ini_settings_test_spec.rb'
- 'spec/classes/create_multiple_ini_settings_spec.rb'
- 'spec/classes/inherit_test1_spec.rb'
- 'spec/functions/create_ini_settings_spec.rb'
- 'spec/functions/inifile_create_ini_settings_spec.rb'
- 'spec/unit/puppet/provider/ini_setting/inheritance_spec.rb'
- 'spec/unit/puppet/provider/ini_setting/ruby_spec.rb'
- 'spec/unit/puppet/provider/ini_subsetting/ruby_spec.rb'
- 'spec/unit/puppet/type/ini_setting_spec.rb'
- 'spec/unit/puppet/type/ini_subetting_spec.rb'
# Offense count: 8
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 26
# Offense count: 5
RSpec/MultipleExpectations:
Max: 4
# Offense count: 6
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/classes/create_ini_settings_test_spec.rb'
- 'spec/classes/create_multiple_ini_settings_spec.rb'
- 'spec/classes/inherit_test1_spec.rb'
# Offense count: 29
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 6