-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop.yml
44 lines (36 loc) · 992 Bytes
/
.rubocop.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
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.1
inherit_gem:
rubocop-ronin: rubocop.yml
#
# ronin-recon specific exceptions
#
# Empty classes
Lint/EmptyClass:
Exclude:
- 'lib/ronin/recon/value.rb'
- 'lib/ronin/recon/message/shutdown.rb'
# Allow Value classes to not call super() in their initialize
Lint/MissingSuper:
Exclude:
- 'lib/ronin/recon/values/*.rb'
# Worker#initialize exists for documentation purposes
Lint/UselessMethodDefinition:
Exclude:
- 'lib/ronin/recon/worker.rb'
# until is better suited for waiting until the Engine is "empty"
Style/WhileUntilModifier:
Exclude:
- 'lib/ronin/recon/engine.rb'
# the Values #=== methods need to compare the other value's class
Style/ClassEqualityComparison:
Exclude:
- 'lib/ronin/recon/values/*.rb'
# must use #=== to compare values
Style/CaseEquality:
Exclude:
- 'lib/ronin/recon/scope.rb'
- 'lib/ronin/recon/values/ip_range.rb'
- 'spec/**/*_spec.rb'