forked from bhaberer/faraday-digestauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
80 lines (59 loc) · 1.23 KB
/
.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
require: rubocop-rspec
AllCops:
Exclude:
- vendor/**/*
- bin/**/*
LineLength:
Enabled: false
MethodLength:
Enabled: false
ClassLength:
Enabled: false
Documentation:
# don't require classes to be documented
Enabled: false
CollectionMethods:
# don't prefer map to collect, recuce to inject
Enabled: false
Encoding:
# no need to always specify encoding
Enabled: false
StringLiterals:
# use single or double-quoted strings, as you please
Enabled: false
Void:
# == operator used in void context in specs
Enabled: false
SignalException:
# prefer raise to fail
EnforcedStyle: only_raise
RaiseArgs:
# don't care for what kind of raise
Enabled: false
PerlBackrefs:
# TODO: regular expression matching with $1, $2, etc.
Enabled: false
BlockNesting:
# TODO: fix too much nesting
Max: 4
Style/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
Lambda:
# TODO: replace all lambda with -> or Proc
Enabled: false
Blocks:
# allow multi-line blocks like expect { }
Enabled: false
WordArray:
# %w vs. [ '', ... ]
Enabled: false
CyclomaticComplexity:
Enabled: false
DoubleNegation:
Enabled: false
PredicateName:
Enabled: false
inherit_from: .rubocop_todo.yml