forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
53 lines (53 loc) · 880 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
53
#
# Overrides
#
AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
CollectionMethods:
PreferredMethods:
find: detect
find_all: select
map: collect
reduce: inject
GlobalVars:
AllowedVariables:
# Loggers
- $api_log
- $aws_log
- $fog_log
- $log
- $miq_ae_logger
- $rails_log
- $rhevm_log
- $scvmm_log
- $vim_log
# In Automate methods
- $evm
HashSyntax:
EnforcedStyle: hash_rockets
LineLength:
Max: 120
MethodLength:
Max: 25
RedundantReturn:
AllowMultipleReturnValues: true
SignalException:
EnforcedStyle: only_raise
SingleLineMethods:
AllowIfMethodIsEmpty: false
SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
#
# Enabled/Disabled
#
Documentation:
Enabled: false
Encoding:
Enabled: false
SingleLineBlockParams:
Enabled: false
StringLiterals:
Enabled: false
TrailingComma:
Enabled: false