kevinrutherford-reek 0.3.1.4 → 0.3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/config/defaults.reek +53 -0
- data/lib/reek.rb +1 -1
- metadata +1 -1
@@ -0,0 +1,53 @@
|
|
1
|
+
---
|
2
|
+
LargeClass:
|
3
|
+
max_methods: 25
|
4
|
+
exclude:
|
5
|
+
- Array
|
6
|
+
- Hash
|
7
|
+
- Module
|
8
|
+
- String
|
9
|
+
enabled: true
|
10
|
+
LongParameterList:
|
11
|
+
max_params: 3
|
12
|
+
exclude: []
|
13
|
+
|
14
|
+
enabled: true
|
15
|
+
FeatureEnvy:
|
16
|
+
exclude:
|
17
|
+
- initialize
|
18
|
+
enabled: true
|
19
|
+
UncommunicativeName:
|
20
|
+
accept:
|
21
|
+
- Inline::C
|
22
|
+
exclude: []
|
23
|
+
|
24
|
+
enabled: true
|
25
|
+
reject:
|
26
|
+
- !ruby/regexp /^.[0-9]*$/
|
27
|
+
NestedIterators:
|
28
|
+
exclude: []
|
29
|
+
|
30
|
+
enabled: true
|
31
|
+
LongMethod:
|
32
|
+
max_statements: 5
|
33
|
+
exclude:
|
34
|
+
- initialize
|
35
|
+
enabled: true
|
36
|
+
Duplication:
|
37
|
+
exclude: []
|
38
|
+
|
39
|
+
enabled: true
|
40
|
+
max_calls: 1
|
41
|
+
UtilityFunction:
|
42
|
+
exclude: []
|
43
|
+
|
44
|
+
enabled: true
|
45
|
+
ControlCouple:
|
46
|
+
exclude:
|
47
|
+
- initialize
|
48
|
+
enabled: true
|
49
|
+
LongYieldList:
|
50
|
+
max_params: 3
|
51
|
+
exclude: []
|
52
|
+
|
53
|
+
enabled: true
|
data/lib/reek.rb
CHANGED