forked from Altiscale/hdfsutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
36 lines (29 loc) · 947 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
AllCops:
Exclude:
- '**/*~' # exclude emacs autosave files
# rubocop's restrictions sometimes make code harder to read
Style/MultilineOperationIndentation:
Enabled: false
# useless check
Metrics/AbcSize:
Enabled: false
# useless check
Metrics/CyclomaticComplexity:
Enabled: false
# 24 lines of text would fit on a vt100 terminal, so it seems
# like an okay maximum almost 40 years later.
Metrics/MethodLength:
Max: 24
# useless check
Metrics/PerceivedComplexity:
Enabled: false
# It is worth turning on this cop every now and then, but it often
# flags lines that are much easier to read when using + to concatenate.
# The autocorrect function for this cop broke some of the hdfsutil code
# in rubocop version 0.28.0.
Style/LineEndConcatenation:
Enabled: false
# In rubocop version 0.28.0, this cop replaces $! with $ERROR_INFO,
# which breaks the functionality of the utilities.
Style/SpecialGlobalVars:
Enabled: false