-
Notifications
You must be signed in to change notification settings - Fork 10
/
.rubocop_todo.yml
45 lines (38 loc) · 1.26 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-10-12 23:08:05 +0200 using RuboCop version 0.75.0.
# 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
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'spec/fake_service/datacenter.rb'
- 'spec/fake_service/location.rb'
- 'spec/fake_service/server_type.rb'
# Offense count: 1
# Configuration parameters: AllowKeywordBlockArguments.
Lint/UnderscorePrefixedVariableName:
Exclude:
- 'lib/hcloud/typhoeus_ext.rb'
# Offense count: 7
Metrics/AbcSize:
Max: 31
# Offense count: 4
Metrics/CyclomaticComplexity:
Max: 9
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 35
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 9
# Offense count: 3
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/MethodParameterName:
Exclude:
- 'lib/hcloud/abstract_resource.rb'
- 'spec/fake_service/action.rb'