-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy path.rubocop.yml
More file actions
53 lines (53 loc) · 1.12 KB
/
Copy path.rubocop.yml
File metadata and controls
53 lines (53 loc) · 1.12 KB
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
plugins: rubocop-performance
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.3
Exclude:
- '*.gemspec'
- 'vendor/**/*'
Layout/LineLength:
Max: 120
Lint/ConstantDefinitionInBlock:
Enabled: false
Lint/MissingSuper:
Enabled: false
Lint/UriEscapeUnescape:
Enabled: false
Metrics/AbcSize:
Max: 28
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/ClassLength:
Max: 150
Exclude:
- 'app/controllers/core.rb'
- 'app/controllers/enumeration/cli_options.rb'
- 'app/controllers/enumeration/enum_methods.rb'
- 'app/formatters/sarif.rb'
Metrics/CyclomaticComplexity:
Max: 10
Metrics/MethodLength:
Max: 20
Exclude:
- 'app/controllers/enumeration/cli_options.rb'
- 'app/controllers/core/cli_options.rb'
- 'app/controllers/password_attack.rb'
Metrics/ParameterLists:
Max: 6
MaxOptionalParameters: 4
Metrics/PerceivedComplexity:
Max: 11
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Style/FormatStringToken:
Enabled: false
Style/MixinUsage:
Exclude:
- 'lib/wpscan/formatter.rb'
Style/NumericPredicate:
Exclude:
- 'app/controllers/vuln_api.rb'