forked from doits/pronto-eslint_npm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
56 lines (39 loc) · 763 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
54
55
56
---
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
TargetRubyVersion: 2.1.0
Documentation:
Enabled: false
Layout/ExtraSpacing:
ForceEqualSignAlignment: true
Layout/MultilineMethodCallIndentation:
Enabled: false
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/AbcSize:
Max: 40
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Max: 200
Metrics/CyclomaticComplexity:
Max: 15
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Max: 30
Metrics/ParameterLists:
Max: 10
Rails:
Enabled: true
Rails/InverseOf:
Enabled: false
Rails/LexicallyScopedActionFilter:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Rails/UnknownEnv:
Enabled: false
Style/FormatStringToken:
Enabled: false