-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
51 lines (45 loc) · 1.61 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-08-11 18:21:17 UTC using RuboCop version 1.51.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: 1
Lint/FloatComparison:
Exclude:
- 'lib/mongo_db/scanner.rb'
# Offense count: 15
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 406
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 19
# Offense count: 11
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/mongo_db/helpers/legacy_protocol_msg_helper.rb'
- 'lib/mongo_db/helpers/protocol_msg_helper.rb'
- 'lib/mongo_db/helpers/utils_protocol_msg_helper.rb'
- 'lib/mongo_db/protocol/bson_document.rb'
- 'lib/mongo_db/protocol/op_msg.rb'
- 'lib/mongo_db/scan_results/finding.rb'
- 'lib/mongo_db/scan_results/finding_list.rb'
- 'lib/mongo_db/scanner.rb'
- 'lib/mongo_db/tcp_client.rb'
# Offense count: 1
Style/OpenStructUse:
Exclude:
- 'bin/mongodb_scanner'
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 126