-
Notifications
You must be signed in to change notification settings - Fork 20
/
.rubocop_todo.yml
113 lines (96 loc) · 3.18 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-08-10 22:03:51 UTC using RuboCop version 1.14.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
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'heimdall_tools.gemspec'
# Offense count: 2
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'lib/heimdall_tools/asff_mapper.rb'
- 'lib/heimdall_tools/dbprotect_mapper.rb'
# Offense count: 1
Lint/RequireParentheses:
Exclude:
- 'lib/heimdall_tools/sonarqube_mapper.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/heimdall_tools/hdf.rb'
# Offense count: 50
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 165
# Offense count: 5
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 52
# Offense count: 2
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
# Offense count: 10
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 175
# Offense count: 13
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 30
# Offense count: 45
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 56
# Offense count: 1
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 18
# Offense count: 11
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 30
# Offense count: 3
Naming/AccessorMethodName:
Exclude:
- 'lib/heimdall_tools/aws_config_mapper.rb'
- 'lib/heimdall_tools/sonarqube_mapper.rb'
# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/heimdall_tools/command.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'lib/heimdall_tools/burpsuite_mapper.rb'
# Offense count: 15
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'lib/heimdall_tools/asff_mapper.rb'
- 'lib/heimdall_tools/jfrog_xray_mapper.rb'
- 'lib/heimdall_tools/nessus_mapper.rb'
- 'lib/heimdall_tools/nikto_mapper.rb'
- 'lib/heimdall_tools/sarif_mapper.rb'
- 'lib/heimdall_tools/scoutsuite_mapper.rb'
- 'lib/heimdall_tools/snyk_mapper.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/heimdall_tools/sarif_mapper.rb'