forked from puppetlabs/puppetlabs-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
123 lines (107 loc) · 3.8 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-09-04 11:31:12 +0100 using RuboCop version 0.49.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: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
Exclude:
- 'spec/unit/puppet/provider/mysql_database/mysql_spec.rb'
- 'spec/unit/puppet/provider/mysql_user/mysql_spec.rb'
# Offense count: 1
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'spec/unit/puppet/type/mysql_grant_spec.rb'
# Offense count: 1
Lint/DuplicatedKey:
Exclude:
- 'spec/classes/mysql_server_backup_spec.rb'
# Offense count: 1
Lint/HandleExceptions:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
Lint/ScriptPermission:
Exclude:
- 'spec/unit/puppet/functions/mysql_deepmerge_spec.rb'
# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'spec/unit/puppet/functions/mysql_deepmerge_spec.rb'
# Offense count: 11
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 351
# Offense count: 1
RSpec/BeforeAfterAll:
Exclude:
- 'spec/acceptance/**/*.rb'
- 'spec/unit/puppet/functions/mysql_password_spec.rb'
# Offense count: 56
# Configuration parameters: Max.
RSpec/ExampleLength:
Exclude:
- 'spec/acceptance/mysql_backup_spec.rb'
- 'spec/acceptance/types/mysql_database_spec.rb'
- 'spec/acceptance/types/mysql_grant_spec.rb'
- 'spec/acceptance/types/mysql_plugin_spec.rb'
- 'spec/acceptance/types/mysql_user_spec.rb'
- 'spec/classes/mysql_server_backup_spec.rb'
- 'spec/classes/mysql_server_monitor_spec.rb'
- 'spec/classes/mysql_server_spec.rb'
- 'spec/unit/puppet/provider/mysql_database/mysql_spec.rb'
- 'spec/unit/puppet/provider/mysql_user/mysql_spec.rb'
- 'spec/unit/puppet/type/mysql_grant_spec.rb'
# Offense count: 3
# Configuration parameters: CustomTransform, IgnoreMethods.
RSpec/FilePath:
Exclude:
- 'spec/unit/facter/mysql_server_id_spec.rb'
- 'spec/unit/facter/mysql_version_spec.rb'
- 'spec/unit/facter/mysqld_version_spec.rb'
# Offense count: 41
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/acceptance/mysql_server_spec.rb'
- 'spec/unit/puppet/type/mysql_database_spec.rb'
- 'spec/unit/puppet/type/mysql_grant_spec.rb'
- 'spec/unit/puppet/type/mysql_plugin_spec.rb'
- 'spec/unit/puppet/type/mysql_user_spec.rb'
# Offense count: 38
RSpec/MultipleExpectations:
Max: 4
# Offense count: 42
# Configuration parameters: Max.
RSpec/NestedGroups:
Exclude:
- 'spec/acceptance/mysql_backup_spec.rb'
- 'spec/classes/mycnf_template_spec.rb'
- 'spec/classes/mysql_server_backup_spec.rb'
- 'spec/classes/mysql_server_spec.rb'
# Offense count: 2
RSpec/RepeatedExample:
Exclude:
- 'spec/classes/mysql_server_account_security_spec.rb'
# Offense count: 3
RSpec/ScatteredLet:
Exclude:
- 'spec/unit/puppet/provider/mysql_database/mysql_spec.rb'
- 'spec/unit/puppet/provider/mysql_plugin/mysql_spec.rb'
- 'spec/unit/puppet/provider/mysql_user/mysql_spec.rb'
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'spec/acceptance/types/mysql_grant_spec.rb'
- 'spec/classes/mycnf_template_spec.rb'
- 'spec/classes/mysql_server_backup_spec.rb'
- 'spec/unit/puppet/type/mysql_grant_spec.rb'