-
Notifications
You must be signed in to change notification settings - Fork 26
/
.rubocop.yml
89 lines (87 loc) · 1.73 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
require:
- rubocop-rspec
Layout/HashAlignment:
Enabled: false
Layout/LineLength:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/GuardClause:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 45
Metrics/PerceivedComplexity:
Max: 45
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Metrics/ModuleLength:
Max: 150
Naming/VariableNumber:
Enabled: false
Layout/FirstArrayElementIndentation:
Enabled: false
Lint/RequireParentheses:
Enabled: false
Lint/RedundantSafeNavigation:
Enabled: false
Lint/UselessMethodDefinition:
Enabled: false
Style/IfInsideElse:
Enabled: false
Style/IdenticalConditionalBranches:
Enabled: false
Lint/NonLocalExitFromIterator:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Layout/HeredocIndentation:
Enabled: false
Lint/EmptyConditionalBody:
Enabled: false
Lint/ConstantDefinitionInBlock:
Enabled: false
Lint/SelfAssignment:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Style/CombinableLoops:
Enabled: false
Style/ExpandPathArguments:
Enabled: false
Style/ConditionalAssignment:
Enabled: false
Style/RedundantAssignment:
Enabled: false
Style/StringConcatenation:
Enabled: false
Style/RedundantRegexpEscape:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: either
Metrics/ParameterLists:
Max: 6
MaxOptionalParameters: 4
RSpec:
Enabled: false
Style/SymbolProc:
Enabled: false
AllCops:
NewCops: disable
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'autotest/**/*'
- 'vendor/**/*'
- 'bin/**/*'