forked from comfy/comfortable-mexican-sofa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
100 lines (71 loc) · 1.89 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
AllCops:
TargetRubyVersion: 2.3
Exclude:
- bin/*
- db/schema.rb
- db/migrate/**/*
- test/fixtures/**/*
- tmp/**/*
# -- Performance ---------------------------------------------------------------
Performance/Casecmp:
Enabled: false
# -- Metrics -------------------------------------------------------------------
Metrics/PerceivedComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
# -- Layout --------------------------------------------------------------------
Layout/MultilineOperationIndentation:
Enabled: false
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineHashBraceLayout:
Enabled: false
Layout/IndentArray:
EnforcedStyle: consistent
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_except_namespace
Layout/EmptyLinesAroundExceptionHandlingKeywords:
Enabled: false
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines_except_namespace
Layout/AlignParameters:
Enabled: false
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
# -- Style ---------------------------------------------------------------------
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/RegexpLiteral:
EnforcedStyle: percent_r
Style/Lambda:
EnforcedStyle: literal
Style/IfUnlessModifier:
Enabled: false
Style/GuardClause:
Enabled: false
Style/Documentation:
Enabled: false
Style/DateTime:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/AsciiComments:
Enabled: false
# -- Naming --------------------------------------------------------------------
Naming/UncommunicativeMethodParamName:
Enabled: false