-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
52 lines (39 loc) · 979 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
45
46
47
48
49
50
51
52
# These 2 are disabled because many commands' #execute method have a bunch of logic that has no need for modularity.
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
# Normal configuration follows.
Metrics/LineLength:
Max: 120
Metrics/AbcSize:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Style/InlineComment:
Enabled: true
Style/Documentation:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
#Metrics/ModuleLength:
# Max: 150
#
#Metrics/ClassLength:
# Max: 150
Style/WordArray:
Enabled: false
Metrics/ParameterLists:
Enabled: false
AllCops:
TargetRubyVersion: 2.6
# Disable cops on deprecated scripts.
Exclude:
- lib/bot/scripts/deprecated/disser.rb
- lib/bot/scripts/deprecated/gcrollback.rb
- lib/bot/scripts/deprecated/skyrimtemplates.rb
- lib/bot/scripts/deprecated/terrible_infobox.rb