-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ameba.yml
More file actions
106 lines (83 loc) · 1.66 KB
/
.ameba.yml
File metadata and controls
106 lines (83 loc) · 1.66 KB
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
101
102
103
104
105
106
Style/ArrayLiteralSyntax:
Enabled: false
Style/GuardClause:
Enabled: false
Style/HashLiteralSyntax:
Enabled: false
Style/HeredocEscape:
Enabled: true
Style/HeredocIndent:
Enabled: true
IndentBy: 0
Style/IsAFilter:
Enabled: false
FilterNames:
- select
- reject
- any?
- all?
- none?
- one?
Style/IsANil:
Enabled: true
Style/LargeNumbers:
Enabled: true
IntMinDigits: 5
Style/MultilineCurlyBlock:
Enabled: false
Style/MultilineStringLiteral:
Enabled: false
AllowBackslashSplitStrings: false
Style/NegatedConditionsInUnless:
Enabled: true
Style/ParenthesesAroundCondition:
Enabled: true
ExcludeTernary: true
ExcludeMultiline: true
AllowSafeAssignment: true
Style/PercentLiteralDelimiters:
Enabled: true
DefaultDelimiters: "()"
PreferredDelimiters:
"%w": "[]"
"%W": "[]"
"%i": "[]"
"%I": "[]"
"%r": "{}"
"%x": "()"
IgnoreLiteralsContainingDelimiters: false
Style/RedundantBegin:
Enabled: true
Style/RedundantNext:
Enabled: true
AllowMultiNext: false
AllowEmptyNext: true
Style/RedundantNilInControlExpression:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/RedundantSelf:
Enabled: false
AllowedMethodNames:
- in?
- inspect
- not_nil!
Style/UnlessElse:
Enabled: true
Style/VerboseBlock:
Enabled: false
ExcludeMultipleLineBlocks: true
ExcludeCallsWithBlock: true
ExcludePrefixOperators: true
ExcludeOperators: true
ExcludeSetters: false
MaxLineLength: ~
MaxLength: ~
Style/WhileTrue:
Enabled: false
Lint/UnusedArgument:
Enabled: false
Naming/BlockParameterName:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false