-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
53 lines (52 loc) · 964 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
---
AllCops:
NewCops: enable
Exclude:
- .tox/**/*
- docs/**/*
- tools/**/*
- provisioners/**/*
- site/**/*
- .vagrant/**/*
- .vagrant.d/**/*
- ruby/**/*
- .bundle/**/*
Style/FrozenStringLiteralComment:
Enabled: false
Style/RedundantReturn:
Enabled: false
Naming/FileName:
Enabled: false
Security/Eval:
Enabled: false
Style/CaseLikeIf:
Enabled: false
Style/DocumentDynamicEvalDefinition:
Enabled: false
Style/EvalWithLocation:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Style/ModuleFunction:
EnforcedStyle: extend_self
Style/SymbolArray:
EnforcedStyle: brackets
Metrics/AbcSize:
Max: 23
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/MethodLength:
Max: 25
Layout/IndentationWidth:
Width: 4
Metrics/BlockLength:
Max: 30
Naming/MethodParameterName:
MinNameLength: 2
...